#ifndef __INC_HALMAC_BIT_8733B_H
#define __INC_HALMAC_BIT_8733B_H

#define CPU_OPT_WIDTH 0x1F

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_SYS_ISO_CTRL_8733B */
#define BIT_PWC_EV12V_8733B BIT(15)

#define BIT_SHIFT_PWC_EV33V_8733B 13
#define BIT_MASK_PWC_EV33V_8733B 0x3
#define BIT_PWC_EV33V_8733B(x) (((x) & BIT_MASK_PWC_EV33V_8733B) << BIT_SHIFT_PWC_EV33V_8733B)
#define BITS_PWC_EV33V_8733B (BIT_MASK_PWC_EV33V_8733B << BIT_SHIFT_PWC_EV33V_8733B)
#define BIT_CLEAR_PWC_EV33V_8733B(x) ((x) & (~BITS_PWC_EV33V_8733B))
#define BIT_GET_PWC_EV33V_8733B(x) (((x) >> BIT_SHIFT_PWC_EV33V_8733B) & BIT_MASK_PWC_EV33V_8733B)
#define BIT_SET_PWC_EV33V_8733B(x, v) (BIT_CLEAR_PWC_EV33V_8733B(x) | BIT_PWC_EV33V_8733B(v))

#define BIT_PA12V_EN_8733B BIT(12)
#define BIT_UA33V_EN_8733B BIT(11)
#define BIT_UA12V_EN_8733B BIT(10)
#define BIT_ISO_RFDIO_8733B BIT(9)
#define BIT_ISO_EB2CORE_8733B BIT(8)
#define BIT_ISO_DIOE_8733B BIT(7)
#define BIT_ISO_WP2PP_8733B BIT(6)
#define BIT_ISO_WLPLL2PP_8733B BIT(5)
#define BIT_ISO_PD2CORE_8733B BIT(4)
#define BIT_ISO_PA2PCIE_8733B BIT(3)
#define BIT_ISO_UD2CORE_8733B BIT(2)
#define BIT_ISO_UA2USB_8733B BIT(1)
#define BIT_ISO_WD2PP_8733B BIT(0)

/* 2 REG_SYS_FUNC_EN_8733B */
#define BIT_FEN_MREGEN_8733B BIT(15)
#define BIT_FEN_HWPDN_8733B BIT(14)
#define BIT_EFUSE_POR_8733B BIT(13)
#define BIT_FEN_ELDR_8733B BIT(12)
#define BIT_FEN_DCORE_8733B BIT(11)
#define BIT_FEN_CPUEN_8733B BIT(10)
#define BIT_FEN_DIOE_8733B BIT(9)
#define BIT_FEN_PCIED_8733B BIT(8)
#define BIT_FEN_PPLL_8733B BIT(7)
#define BIT_FEN_PCIEA_8733B BIT(6)
#define BIT_FEN_DIO_PCIE_8733B BIT(5)
#define BIT_FEN_USBD_8733B BIT(4)
#define BIT_FEN_USBA_8733B BIT(3)
#define BIT_FEN_UPHY_8733B BIT(2)
#define BIT_FEN_BB_GLB_RSTN_8733B BIT(1)
#define BIT_FEN_BBRSTB_8733B BIT(0)

/* 2 REG_SYS_PW_CTRL_8733B */
#define BIT_SOP_EABM_8733B BIT(31)
#define BIT_SOP_ACKF_8733B BIT(30)
#define BIT_SOP_ERCK_8733B BIT(29)
#define BIT_SOP_ESWR_8733B BIT(28)
#define BIT_SOP_PWMM_8733B BIT(27)
#define BIT_SOP_EECK_8733B BIT(26)
#define BIT_BIS_SOP_SHCI_8733B BIT(25)
#define BIT_SOP_EXTL_8733B BIT(24)
#define BIT_SOP_HCI_MEM_STB_8733B BIT(23)
#define BIT_SOP_RING_12M_8733B BIT(22)
#define BIT_ROP_SWPR_8733B BIT(21)
#define BIT_DIS_HW_LPLDM_8733B BIT(20)
#define BIT_OPT_SWRST_WLMCU_8733B BIT(19)
#define BIT_RDY_SYSPWR_8733B BIT(17)
#define BIT_EN_WLON_8733B BIT(16)
#define BIT_APDM_HPDN_8733B BIT(15)
#define BIT_AFSM_PCIE_SUS_EN_8733B BIT(12)
#define BIT_AFSM_WLSUS_EN_8733B BIT(11)
#define BIT_APFM_SWLPS_8733B BIT(10)
#define BIT_APFM_OFFMAC_8733B BIT(9)
#define BIT_APFN_ONMAC_8733B BIT(8)
#define BIT_CHIP_PDN_EN_8733B BIT(7)
#define BIT_RDY_MACDIS_8733B BIT(6)
#define BIT_POF_APHY_IN_L2_8733B BIT(5)

/* 2 REG_NOT_VALID_8733B */
#define BIT_PFM_WOWL_8733B BIT(3)
#define BIT_PFM_LDKP_8733B BIT(2)
#define BIT_WL_HCI_ALD_8733B BIT(1)
#define BIT_PFM_LDALL_8733B BIT(0)

/* 2 REG_SYS_CLK_CTRL_8733B */
#define BIT_WLHCI_CLK_EN_8733B BIT(15)
#define BIT_CPU_CLK_EN_8733B BIT(14)
#define BIT_SYMREG_CLK_EN_8733B BIT(13)
#define BIT_HCI_CLK_EN_8733B BIT(12)
#define BIT_MAC_CLK_EN_8733B BIT(11)
#define BIT_SEC_CLK_EN_8733B BIT(10)
#define BIT_PHY_SSC_RSTB_8733B BIT(9)
#define BIT_EXT_32K_EN_8733B BIT(8)
#define BIT_WL_CLK_TEST_8733B BIT(7)
#define BIT_LOADER_CLK_EN_8733B BIT(5)
#define BIT_MACSLP_8733B BIT(4)
#define BIT_OSC32K_POW_CKGEN_WL_8733B BIT(3)
#define BIT_ROMD16V_EN_8733B BIT(2)
#define BIT_CKSL_CKANA_8733B BIT(1)
#define BIT_CNTD16V_EN_8733B BIT(0)

/* 2 REG_SYS_EEPROM_CTRL_8733B */

#define BIT_SHIFT_VPDIDX_8733B 8
#define BIT_MASK_VPDIDX_8733B 0xff
#define BIT_VPDIDX_8733B(x) (((x) & BIT_MASK_VPDIDX_8733B) << BIT_SHIFT_VPDIDX_8733B)
#define BITS_VPDIDX_8733B (BIT_MASK_VPDIDX_8733B << BIT_SHIFT_VPDIDX_8733B)
#define BIT_CLEAR_VPDIDX_8733B(x) ((x) & (~BITS_VPDIDX_8733B))
#define BIT_GET_VPDIDX_8733B(x) (((x) >> BIT_SHIFT_VPDIDX_8733B) & BIT_MASK_VPDIDX_8733B)
#define BIT_SET_VPDIDX_8733B(x, v) (BIT_CLEAR_VPDIDX_8733B(x) | BIT_VPDIDX_8733B(v))

#define BIT_SHIFT_EEM1_0_8733B 6
#define BIT_MASK_EEM1_0_8733B 0x3
#define BIT_EEM1_0_8733B(x) (((x) & BIT_MASK_EEM1_0_8733B) << BIT_SHIFT_EEM1_0_8733B)
#define BITS_EEM1_0_8733B (BIT_MASK_EEM1_0_8733B << BIT_SHIFT_EEM1_0_8733B)
#define BIT_CLEAR_EEM1_0_8733B(x) ((x) & (~BITS_EEM1_0_8733B))
#define BIT_GET_EEM1_0_8733B(x) (((x) >> BIT_SHIFT_EEM1_0_8733B) & BIT_MASK_EEM1_0_8733B)
#define BIT_SET_EEM1_0_8733B(x, v) (BIT_CLEAR_EEM1_0_8733B(x) | BIT_EEM1_0_8733B(v))

#define BIT_AUTOLOAD_SUS_8733B BIT(5)
#define BIT_EERPOMSEL_8733B BIT(4)
#define BIT_EECS_8733B BIT(3)
#define BIT_EESK_8733B BIT(2)
#define BIT_EEDI_8733B BIT(1)
#define BIT_EEDO_8733B BIT(0)

/* 2 REG_EE_VPD_8733B */

#define BIT_SHIFT_VPD_DATA_8733B 0
#define BIT_MASK_VPD_DATA_8733B 0xffffffffL
#define BIT_VPD_DATA_8733B(x) (((x) & BIT_MASK_VPD_DATA_8733B) << BIT_SHIFT_VPD_DATA_8733B)
#define BITS_VPD_DATA_8733B (BIT_MASK_VPD_DATA_8733B << BIT_SHIFT_VPD_DATA_8733B)
#define BIT_CLEAR_VPD_DATA_8733B(x) ((x) & (~BITS_VPD_DATA_8733B))
#define BIT_GET_VPD_DATA_8733B(x) (((x) >> BIT_SHIFT_VPD_DATA_8733B) & BIT_MASK_VPD_DATA_8733B)
#define BIT_SET_VPD_DATA_8733B(x, v) (BIT_CLEAR_VPD_DATA_8733B(x) | BIT_VPD_DATA_8733B(v))

/* 2 REG_SYS_SWR_CTRL1_8733B */
#define BIT_SYM_EN_SWR_DUMMY_LOAD_8733B BIT(20)

#define BIT_SHIFT_PWM_ZCDC_H_LL_8733B 18
#define BIT_MASK_PWM_ZCDC_H_LL_8733B 0x3
#define BIT_PWM_ZCDC_H_LL_8733B(x) (((x) & BIT_MASK_PWM_ZCDC_H_LL_8733B) << BIT_SHIFT_PWM_ZCDC_H_LL_8733B)
#define BITS_PWM_ZCDC_H_LL_8733B (BIT_MASK_PWM_ZCDC_H_LL_8733B << BIT_SHIFT_PWM_ZCDC_H_LL_8733B)
#define BIT_CLEAR_PWM_ZCDC_H_LL_8733B(x) ((x) & (~BITS_PWM_ZCDC_H_LL_8733B))
#define BIT_GET_PWM_ZCDC_H_LL_8733B(x) (((x) >> BIT_SHIFT_PWM_ZCDC_H_LL_8733B) & BIT_MASK_PWM_ZCDC_H_LL_8733B)
#define BIT_SET_PWM_ZCDC_H_LL_8733B(x, v) (BIT_CLEAR_PWM_ZCDC_H_LL_8733B(x) | BIT_PWM_ZCDC_H_LL_8733B(v))

#define BIT_PWM_ZCD_SEL_WL_8733B BIT(17)
#define BIT_OPTION_PWM_FORCE_8733B BIT(16)
#define BIT_SPS_PFM_MOS_HALF_8733B BIT(15)

#define BIT_SHIFT_SPS_PFM_ZCD_H_8733B 13
#define BIT_MASK_SPS_PFM_ZCD_H_8733B 0x3
#define BIT_SPS_PFM_ZCD_H_8733B(x) (((x) & BIT_MASK_SPS_PFM_ZCD_H_8733B) << BIT_SHIFT_SPS_PFM_ZCD_H_8733B)
#define BITS_SPS_PFM_ZCD_H_8733B (BIT_MASK_SPS_PFM_ZCD_H_8733B << BIT_SHIFT_SPS_PFM_ZCD_H_8733B)
#define BIT_CLEAR_SPS_PFM_ZCD_H_8733B(x) ((x) & (~BITS_SPS_PFM_ZCD_H_8733B))
#define BIT_GET_SPS_PFM_ZCD_H_8733B(x) (((x) >> BIT_SHIFT_SPS_PFM_ZCD_H_8733B) & BIT_MASK_SPS_PFM_ZCD_H_8733B)
#define BIT_SET_SPS_PFM_ZCD_H_8733B(x, v) (BIT_CLEAR_SPS_PFM_ZCD_H_8733B(x) | BIT_SPS_PFM_ZCD_H_8733B(v))

#define BIT_ENB_LDO_DIODE_8733B BIT(12)

/* 2 REG_NOT_VALID_8733B */
#define BIT_SW18_PFM_FREQ_8733B BIT(10)
#define BIT_SPS_SWR_EN_8733B BIT(9)
#define BIT_SPS_SLDO_EN_8733B BIT(8)
#define BIT_MAC_ID_EN_8733B BIT(7)

/* 2 REG_FW_SECURE_CTRL_CFG_8733B */

#define BIT_SHIFT_BT_SEC_DIS_1_8733B 14
#define BIT_MASK_BT_SEC_DIS_1_8733B 0x3
#define BIT_BT_SEC_DIS_1_8733B(x) (((x) & BIT_MASK_BT_SEC_DIS_1_8733B) << BIT_SHIFT_BT_SEC_DIS_1_8733B)
#define BITS_BT_SEC_DIS_1_8733B (BIT_MASK_BT_SEC_DIS_1_8733B << BIT_SHIFT_BT_SEC_DIS_1_8733B)
#define BIT_CLEAR_BT_SEC_DIS_1_8733B(x) ((x) & (~BITS_BT_SEC_DIS_1_8733B))
#define BIT_GET_BT_SEC_DIS_1_8733B(x) (((x) >> BIT_SHIFT_BT_SEC_DIS_1_8733B) & BIT_MASK_BT_SEC_DIS_1_8733B)
#define BIT_SET_BT_SEC_DIS_1_8733B(x, v) (BIT_CLEAR_BT_SEC_DIS_1_8733B(x) | BIT_BT_SEC_DIS_1_8733B(v))

#define BIT_SHIFT_BT_SEC_DIS_0_8733B 12
#define BIT_MASK_BT_SEC_DIS_0_8733B 0x3
#define BIT_BT_SEC_DIS_0_8733B(x) (((x) & BIT_MASK_BT_SEC_DIS_0_8733B) << BIT_SHIFT_BT_SEC_DIS_0_8733B)
#define BITS_BT_SEC_DIS_0_8733B (BIT_MASK_BT_SEC_DIS_0_8733B << BIT_SHIFT_BT_SEC_DIS_0_8733B)
#define BIT_CLEAR_BT_SEC_DIS_0_8733B(x) ((x) & (~BITS_BT_SEC_DIS_0_8733B))
#define BIT_GET_BT_SEC_DIS_0_8733B(x) (((x) >> BIT_SHIFT_BT_SEC_DIS_0_8733B) & BIT_MASK_BT_SEC_DIS_0_8733B)
#define BIT_SET_BT_SEC_DIS_0_8733B(x, v) (BIT_CLEAR_BT_SEC_DIS_0_8733B(x) | BIT_BT_SEC_DIS_0_8733B(v))

#define BIT_SHIFT_UART_RX_EN_8733B 10
#define BIT_MASK_UART_RX_EN_8733B 0x3
#define BIT_UART_RX_EN_8733B(x) (((x) & BIT_MASK_UART_RX_EN_8733B) << BIT_SHIFT_UART_RX_EN_8733B)
#define BITS_UART_RX_EN_8733B (BIT_MASK_UART_RX_EN_8733B << BIT_SHIFT_UART_RX_EN_8733B)
#define BIT_CLEAR_UART_RX_EN_8733B(x) ((x) & (~BITS_UART_RX_EN_8733B))
#define BIT_GET_UART_RX_EN_8733B(x) (((x) >> BIT_SHIFT_UART_RX_EN_8733B) & BIT_MASK_UART_RX_EN_8733B)
#define BIT_SET_UART_RX_EN_8733B(x, v) (BIT_CLEAR_UART_RX_EN_8733B(x) | BIT_UART_RX_EN_8733B(v))

#define BIT_SHIFT_UART_TX_EN_8733B 8
#define BIT_MASK_UART_TX_EN_8733B 0x3
#define BIT_UART_TX_EN_8733B(x) (((x) & BIT_MASK_UART_TX_EN_8733B) << BIT_SHIFT_UART_TX_EN_8733B)
#define BITS_UART_TX_EN_8733B (BIT_MASK_UART_TX_EN_8733B << BIT_SHIFT_UART_TX_EN_8733B)
#define BIT_CLEAR_UART_TX_EN_8733B(x) ((x) & (~BITS_UART_TX_EN_8733B))
#define BIT_GET_UART_TX_EN_8733B(x) (((x) >> BIT_SHIFT_UART_TX_EN_8733B) & BIT_MASK_UART_TX_EN_8733B)
#define BIT_SET_UART_TX_EN_8733B(x, v) (BIT_CLEAR_UART_TX_EN_8733B(x) | BIT_UART_TX_EN_8733B(v))

#define BIT_SHIFT_KEY_NUM_SEL_8733B 6
#define BIT_MASK_KEY_NUM_SEL_8733B 0x3
#define BIT_KEY_NUM_SEL_8733B(x) (((x) & BIT_MASK_KEY_NUM_SEL_8733B) << BIT_SHIFT_KEY_NUM_SEL_8733B)
#define BITS_KEY_NUM_SEL_8733B (BIT_MASK_KEY_NUM_SEL_8733B << BIT_SHIFT_KEY_NUM_SEL_8733B)
#define BIT_CLEAR_KEY_NUM_SEL_8733B(x) ((x) & (~BITS_KEY_NUM_SEL_8733B))
#define BIT_GET_KEY_NUM_SEL_8733B(x) (((x) >> BIT_SHIFT_KEY_NUM_SEL_8733B) & BIT_MASK_KEY_NUM_SEL_8733B)
#define BIT_SET_KEY_NUM_SEL_8733B(x, v) (BIT_CLEAR_KEY_NUM_SEL_8733B(x) | BIT_KEY_NUM_SEL_8733B(v))

#define BIT_COMP_EN_8733B BIT(5)
#define BIT_BT_JTAG_EN_8733B BIT(4)

#define BIT_SHIFT_SIC_EN_8733B 2
#define BIT_MASK_SIC_EN_8733B 0x3
#define BIT_SIC_EN_8733B(x) (((x) & BIT_MASK_SIC_EN_8733B) << BIT_SHIFT_SIC_EN_8733B)
#define BITS_SIC_EN_8733B (BIT_MASK_SIC_EN_8733B << BIT_SHIFT_SIC_EN_8733B)
#define BIT_CLEAR_SIC_EN_8733B(x) ((x) & (~BITS_SIC_EN_8733B))
#define BIT_GET_SIC_EN_8733B(x) (((x) >> BIT_SHIFT_SIC_EN_8733B) & BIT_MASK_SIC_EN_8733B)
#define BIT_SET_SIC_EN_8733B(x, v) (BIT_CLEAR_SIC_EN_8733B(x) | BIT_SIC_EN_8733B(v))

#define BIT_SHIFT_SEC_DIS_8733B 0
#define BIT_MASK_SEC_DIS_8733B 0x3
#define BIT_SEC_DIS_8733B(x) (((x) & BIT_MASK_SEC_DIS_8733B) << BIT_SHIFT_SEC_DIS_8733B)
#define BITS_SEC_DIS_8733B (BIT_MASK_SEC_DIS_8733B << BIT_SHIFT_SEC_DIS_8733B)
#define BIT_CLEAR_SEC_DIS_8733B(x) ((x) & (~BITS_SEC_DIS_8733B))
#define BIT_GET_SEC_DIS_8733B(x) (((x) >> BIT_SHIFT_SEC_DIS_8733B) & BIT_MASK_SEC_DIS_8733B)
#define BIT_SET_SEC_DIS_8733B(x, v) (BIT_CLEAR_SEC_DIS_8733B(x) | BIT_SEC_DIS_8733B(v))

/* 2 REG_SYS_SWR_OCP_CFG_8733B */
#define BIT_SPS18_OCP_DIS_8733B BIT(31)

#define BIT_SHIFT_SPS18_OCP_TH_8733B 16
#define BIT_MASK_SPS18_OCP_TH_8733B 0x7fff
#define BIT_SPS18_OCP_TH_8733B(x) (((x) & BIT_MASK_SPS18_OCP_TH_8733B) << BIT_SHIFT_SPS18_OCP_TH_8733B)
#define BITS_SPS18_OCP_TH_8733B (BIT_MASK_SPS18_OCP_TH_8733B << BIT_SHIFT_SPS18_OCP_TH_8733B)
#define BIT_CLEAR_SPS18_OCP_TH_8733B(x) ((x) & (~BITS_SPS18_OCP_TH_8733B))
#define BIT_GET_SPS18_OCP_TH_8733B(x) (((x) >> BIT_SHIFT_SPS18_OCP_TH_8733B) & BIT_MASK_SPS18_OCP_TH_8733B)
#define BIT_SET_SPS18_OCP_TH_8733B(x, v) (BIT_CLEAR_SPS18_OCP_TH_8733B(x) | BIT_SPS18_OCP_TH_8733B(v))

#define BIT_SHIFT_OCP_WINDOW_8733B 0
#define BIT_MASK_OCP_WINDOW_8733B 0xffff
#define BIT_OCP_WINDOW_8733B(x) (((x) & BIT_MASK_OCP_WINDOW_8733B) << BIT_SHIFT_OCP_WINDOW_8733B)
#define BITS_OCP_WINDOW_8733B (BIT_MASK_OCP_WINDOW_8733B << BIT_SHIFT_OCP_WINDOW_8733B)
#define BIT_CLEAR_OCP_WINDOW_8733B(x) ((x) & (~BITS_OCP_WINDOW_8733B))
#define BIT_GET_OCP_WINDOW_8733B(x) (((x) >> BIT_SHIFT_OCP_WINDOW_8733B) & BIT_MASK_OCP_WINDOW_8733B)
#define BIT_SET_OCP_WINDOW_8733B(x, v) (BIT_CLEAR_OCP_WINDOW_8733B(x) | BIT_OCP_WINDOW_8733B(v))

/* 2 REG_REG_ACCESS_CTRL_8733B */
#define BIT_HREG_DBG_8733B BIT(23)
#define BIT_WLMCUIOIF_8733B BIT(8)
#define BIT_LOCK_ALL_EN_8733B BIT(7)
#define BIT_R_DIS_PRST_8733B BIT(6)
#define BIT_WLOCK_1C_B6_8733B BIT(5)
#define BIT_WLOCK_40_8733B BIT(4)
#define BIT_WLOCK_08_8733B BIT(3)
#define BIT_WLOCK_04_8733B BIT(2)
#define BIT_WLOCK_00_8733B BIT(1)
#define BIT_WLOCK_ALL_8733B BIT(0)

/* 2 REG_RF_CTRL_8733B */
#define BIT_RF_RCK_CK_GATED_8733B BIT(4)
#define BIT_RF_SDMRSTB_8733B BIT(2)
#define BIT_RF_RSTB_8733B BIT(1)
#define BIT_RF_EN_8733B BIT(0)

/* 2 REG_SPS_LDO_VOLT_CTRL_8733B */

#define BIT_SHIFT_SML_LDO_LPS_VOLT_8733B 28
#define BIT_MASK_SML_LDO_LPS_VOLT_8733B 0xf
#define BIT_SML_LDO_LPS_VOLT_8733B(x) (((x) & BIT_MASK_SML_LDO_LPS_VOLT_8733B) << BIT_SHIFT_SML_LDO_LPS_VOLT_8733B)
#define BITS_SML_LDO_LPS_VOLT_8733B (BIT_MASK_SML_LDO_LPS_VOLT_8733B << BIT_SHIFT_SML_LDO_LPS_VOLT_8733B)
#define BIT_CLEAR_SML_LDO_LPS_VOLT_8733B(x) ((x) & (~BITS_SML_LDO_LPS_VOLT_8733B))
#define BIT_GET_SML_LDO_LPS_VOLT_8733B(x) (((x) >> BIT_SHIFT_SML_LDO_LPS_VOLT_8733B) & BIT_MASK_SML_LDO_LPS_VOLT_8733B)
#define BIT_SET_SML_LDO_LPS_VOLT_8733B(x, v) (BIT_CLEAR_SML_LDO_LPS_VOLT_8733B(x) | BIT_SML_LDO_LPS_VOLT_8733B(v))

#define BIT_SHIFT_PHYDIG_LDO_SUS_VOLT_8733B 24
#define BIT_MASK_PHYDIG_LDO_SUS_VOLT_8733B 0xf
#define BIT_PHYDIG_LDO_SUS_VOLT_8733B(x) (((x) & BIT_MASK_PHYDIG_LDO_SUS_VOLT_8733B) << BIT_SHIFT_PHYDIG_LDO_SUS_VOLT_8733B)
#define BITS_PHYDIG_LDO_SUS_VOLT_8733B (BIT_MASK_PHYDIG_LDO_SUS_VOLT_8733B << BIT_SHIFT_PHYDIG_LDO_SUS_VOLT_8733B)
#define BIT_CLEAR_PHYDIG_LDO_SUS_VOLT_8733B(x) ((x) & (~BITS_PHYDIG_LDO_SUS_VOLT_8733B))
#define BIT_GET_PHYDIG_LDO_SUS_VOLT_8733B(x) (((x) >> BIT_SHIFT_PHYDIG_LDO_SUS_VOLT_8733B) & BIT_MASK_PHYDIG_LDO_SUS_VOLT_8733B)
#define BIT_SET_PHYDIG_LDO_SUS_VOLT_8733B(x, v) (BIT_CLEAR_PHYDIG_LDO_SUS_VOLT_8733B(x) | BIT_PHYDIG_LDO_SUS_VOLT_8733B(v))

#define BIT_SHIFT_WLOFF_LDO_LPS_VOLT_8733B 20
#define BIT_MASK_WLOFF_LDO_LPS_VOLT_8733B 0xf
#define BIT_WLOFF_LDO_LPS_VOLT_8733B(x) (((x) & BIT_MASK_WLOFF_LDO_LPS_VOLT_8733B) << BIT_SHIFT_WLOFF_LDO_LPS_VOLT_8733B)
#define BITS_WLOFF_LDO_LPS_VOLT_8733B (BIT_MASK_WLOFF_LDO_LPS_VOLT_8733B << BIT_SHIFT_WLOFF_LDO_LPS_VOLT_8733B)
#define BIT_CLEAR_WLOFF_LDO_LPS_VOLT_8733B(x) ((x) & (~BITS_WLOFF_LDO_LPS_VOLT_8733B))
#define BIT_GET_WLOFF_LDO_LPS_VOLT_8733B(x) (((x) >> BIT_SHIFT_WLOFF_LDO_LPS_VOLT_8733B) & BIT_MASK_WLOFF_LDO_LPS_VOLT_8733B)
#define BIT_SET_WLOFF_LDO_LPS_VOLT_8733B(x, v) (BIT_CLEAR_WLOFF_LDO_LPS_VOLT_8733B(x) | BIT_WLOFF_LDO_LPS_VOLT_8733B(v))

#define BIT_SHIFT_WLPON_LDO_LPS_VOLT_8733B 16
#define BIT_MASK_WLPON_LDO_LPS_VOLT_8733B 0xf
#define BIT_WLPON_LDO_LPS_VOLT_8733B(x) (((x) & BIT_MASK_WLPON_LDO_LPS_VOLT_8733B) << BIT_SHIFT_WLPON_LDO_LPS_VOLT_8733B)
#define BITS_WLPON_LDO_LPS_VOLT_8733B (BIT_MASK_WLPON_LDO_LPS_VOLT_8733B << BIT_SHIFT_WLPON_LDO_LPS_VOLT_8733B)
#define BIT_CLEAR_WLPON_LDO_LPS_VOLT_8733B(x) ((x) & (~BITS_WLPON_LDO_LPS_VOLT_8733B))
#define BIT_GET_WLPON_LDO_LPS_VOLT_8733B(x) (((x) >> BIT_SHIFT_WLPON_LDO_LPS_VOLT_8733B) & BIT_MASK_WLPON_LDO_LPS_VOLT_8733B)
#define BIT_SET_WLPON_LDO_LPS_VOLT_8733B(x, v) (BIT_CLEAR_WLPON_LDO_LPS_VOLT_8733B(x) | BIT_WLPON_LDO_LPS_VOLT_8733B(v))

#define BIT_SHIFT_AON_LDO_SUS_VOLT_8733B 12
#define BIT_MASK_AON_LDO_SUS_VOLT_8733B 0xf
#define BIT_AON_LDO_SUS_VOLT_8733B(x) (((x) & BIT_MASK_AON_LDO_SUS_VOLT_8733B) << BIT_SHIFT_AON_LDO_SUS_VOLT_8733B)
#define BITS_AON_LDO_SUS_VOLT_8733B (BIT_MASK_AON_LDO_SUS_VOLT_8733B << BIT_SHIFT_AON_LDO_SUS_VOLT_8733B)
#define BIT_CLEAR_AON_LDO_SUS_VOLT_8733B(x) ((x) & (~BITS_AON_LDO_SUS_VOLT_8733B))
#define BIT_GET_AON_LDO_SUS_VOLT_8733B(x) (((x) >> BIT_SHIFT_AON_LDO_SUS_VOLT_8733B) & BIT_MASK_AON_LDO_SUS_VOLT_8733B)
#define BIT_SET_AON_LDO_SUS_VOLT_8733B(x, v) (BIT_CLEAR_AON_LDO_SUS_VOLT_8733B(x) | BIT_AON_LDO_SUS_VOLT_8733B(v))

#define BIT_SHIFT_AON_LDO_LPS_VOLT_8733B 8
#define BIT_MASK_AON_LDO_LPS_VOLT_8733B 0xf
#define BIT_AON_LDO_LPS_VOLT_8733B(x) (((x) & BIT_MASK_AON_LDO_LPS_VOLT_8733B) << BIT_SHIFT_AON_LDO_LPS_VOLT_8733B)
#define BITS_AON_LDO_LPS_VOLT_8733B (BIT_MASK_AON_LDO_LPS_VOLT_8733B << BIT_SHIFT_AON_LDO_LPS_VOLT_8733B)
#define BIT_CLEAR_AON_LDO_LPS_VOLT_8733B(x) ((x) & (~BITS_AON_LDO_LPS_VOLT_8733B))
#define BIT_GET_AON_LDO_LPS_VOLT_8733B(x) (((x) >> BIT_SHIFT_AON_LDO_LPS_VOLT_8733B) & BIT_MASK_AON_LDO_LPS_VOLT_8733B)
#define BIT_SET_AON_LDO_LPS_VOLT_8733B(x, v) (BIT_CLEAR_AON_LDO_LPS_VOLT_8733B(x) | BIT_AON_LDO_LPS_VOLT_8733B(v))

#define BIT_PHYDIG_LDO_VOLT_FLAG_8733B BIT(6)
#define BIT_SWR_PFM_VOLT_FLAG_8733B BIT(5)
#define BIT_LRG_LDO_VOLT_FLAG_8733B BIT(4)
#define BIT_SML_LDO_VOLT_FLAG_8733B BIT(3)
#define BIT_WLOFF_LDO_VOLT_FLAG_8733B BIT(2)
#define BIT_WLPON_LDO_VOLT_FLAG_8733B BIT(1)
#define BIT_AON_LDO_VOLT_FLAG_8733B BIT(0)

/* 2 REG_SPS_LDO_VOLT_CTRL1_8733B */

#define BIT_SHIFT_SPSLDO_STEP_DELAY_8733B 24
#define BIT_MASK_SPSLDO_STEP_DELAY_8733B 0xff
#define BIT_SPSLDO_STEP_DELAY_8733B(x) (((x) & BIT_MASK_SPSLDO_STEP_DELAY_8733B) << BIT_SHIFT_SPSLDO_STEP_DELAY_8733B)
#define BITS_SPSLDO_STEP_DELAY_8733B (BIT_MASK_SPSLDO_STEP_DELAY_8733B << BIT_SHIFT_SPSLDO_STEP_DELAY_8733B)
#define BIT_CLEAR_SPSLDO_STEP_DELAY_8733B(x) ((x) & (~BITS_SPSLDO_STEP_DELAY_8733B))
#define BIT_GET_SPSLDO_STEP_DELAY_8733B(x) (((x) >> BIT_SHIFT_SPSLDO_STEP_DELAY_8733B) & BIT_MASK_SPSLDO_STEP_DELAY_8733B)
#define BIT_SET_SPSLDO_STEP_DELAY_8733B(x, v) (BIT_CLEAR_SPSLDO_STEP_DELAY_8733B(x) | BIT_SPSLDO_STEP_DELAY_8733B(v))

#define BIT_SYM_SW_ADJ_BTLDO_8733B BIT(22)

#define BIT_SHIFT_MAC_CLK_SEL_8733B 20
#define BIT_MASK_MAC_CLK_SEL_8733B 0x3
#define BIT_MAC_CLK_SEL_8733B(x) (((x) & BIT_MASK_MAC_CLK_SEL_8733B) << BIT_SHIFT_MAC_CLK_SEL_8733B)
#define BITS_MAC_CLK_SEL_8733B (BIT_MASK_MAC_CLK_SEL_8733B << BIT_SHIFT_MAC_CLK_SEL_8733B)
#define BIT_CLEAR_MAC_CLK_SEL_8733B(x) ((x) & (~BITS_MAC_CLK_SEL_8733B))
#define BIT_GET_MAC_CLK_SEL_8733B(x) (((x) >> BIT_SHIFT_MAC_CLK_SEL_8733B) & BIT_MASK_MAC_CLK_SEL_8733B)
#define BIT_SET_MAC_CLK_SEL_8733B(x, v) (BIT_CLEAR_MAC_CLK_SEL_8733B(x) | BIT_MAC_CLK_SEL_8733B(v))

#define BIT_SHIFT_SYM_AON_LDO_PDN_VOLT_8733B 16
#define BIT_MASK_SYM_AON_LDO_PDN_VOLT_8733B 0xf
#define BIT_SYM_AON_LDO_PDN_VOLT_8733B(x) (((x) & BIT_MASK_SYM_AON_LDO_PDN_VOLT_8733B) << BIT_SHIFT_SYM_AON_LDO_PDN_VOLT_8733B)
#define BITS_SYM_AON_LDO_PDN_VOLT_8733B (BIT_MASK_SYM_AON_LDO_PDN_VOLT_8733B << BIT_SHIFT_SYM_AON_LDO_PDN_VOLT_8733B)
#define BIT_CLEAR_SYM_AON_LDO_PDN_VOLT_8733B(x) ((x) & (~BITS_SYM_AON_LDO_PDN_VOLT_8733B))
#define BIT_GET_SYM_AON_LDO_PDN_VOLT_8733B(x) (((x) >> BIT_SHIFT_SYM_AON_LDO_PDN_VOLT_8733B) & BIT_MASK_SYM_AON_LDO_PDN_VOLT_8733B)
#define BIT_SET_SYM_AON_LDO_PDN_VOLT_8733B(x, v) (BIT_CLEAR_SYM_AON_LDO_PDN_VOLT_8733B(x) | BIT_SYM_AON_LDO_PDN_VOLT_8733B(v))

#define BIT_SHIFT_SWR_PFM_SUS_VOLT_8733B 12
#define BIT_MASK_SWR_PFM_SUS_VOLT_8733B 0xf
#define BIT_SWR_PFM_SUS_VOLT_8733B(x) (((x) & BIT_MASK_SWR_PFM_SUS_VOLT_8733B) << BIT_SHIFT_SWR_PFM_SUS_VOLT_8733B)
#define BITS_SWR_PFM_SUS_VOLT_8733B (BIT_MASK_SWR_PFM_SUS_VOLT_8733B << BIT_SHIFT_SWR_PFM_SUS_VOLT_8733B)
#define BIT_CLEAR_SWR_PFM_SUS_VOLT_8733B(x) ((x) & (~BITS_SWR_PFM_SUS_VOLT_8733B))
#define BIT_GET_SWR_PFM_SUS_VOLT_8733B(x) (((x) >> BIT_SHIFT_SWR_PFM_SUS_VOLT_8733B) & BIT_MASK_SWR_PFM_SUS_VOLT_8733B)
#define BIT_SET_SWR_PFM_SUS_VOLT_8733B(x, v) (BIT_CLEAR_SWR_PFM_SUS_VOLT_8733B(x) | BIT_SWR_PFM_SUS_VOLT_8733B(v))

#define BIT_SHIFT_SWR_PFM_LPS_VOLT_8733B 8
#define BIT_MASK_SWR_PFM_LPS_VOLT_8733B 0xf
#define BIT_SWR_PFM_LPS_VOLT_8733B(x) (((x) & BIT_MASK_SWR_PFM_LPS_VOLT_8733B) << BIT_SHIFT_SWR_PFM_LPS_VOLT_8733B)
#define BITS_SWR_PFM_LPS_VOLT_8733B (BIT_MASK_SWR_PFM_LPS_VOLT_8733B << BIT_SHIFT_SWR_PFM_LPS_VOLT_8733B)
#define BIT_CLEAR_SWR_PFM_LPS_VOLT_8733B(x) ((x) & (~BITS_SWR_PFM_LPS_VOLT_8733B))
#define BIT_GET_SWR_PFM_LPS_VOLT_8733B(x) (((x) >> BIT_SHIFT_SWR_PFM_LPS_VOLT_8733B) & BIT_MASK_SWR_PFM_LPS_VOLT_8733B)
#define BIT_SET_SWR_PFM_LPS_VOLT_8733B(x, v) (BIT_CLEAR_SWR_PFM_LPS_VOLT_8733B(x) | BIT_SWR_PFM_LPS_VOLT_8733B(v))

#define BIT_SHIFT_LARGE_LDO_LPS_VOLT_8733B 4
#define BIT_MASK_LARGE_LDO_LPS_VOLT_8733B 0xf
#define BIT_LARGE_LDO_LPS_VOLT_8733B(x) (((x) & BIT_MASK_LARGE_LDO_LPS_VOLT_8733B) << BIT_SHIFT_LARGE_LDO_LPS_VOLT_8733B)
#define BITS_LARGE_LDO_LPS_VOLT_8733B (BIT_MASK_LARGE_LDO_LPS_VOLT_8733B << BIT_SHIFT_LARGE_LDO_LPS_VOLT_8733B)
#define BIT_CLEAR_LARGE_LDO_LPS_VOLT_8733B(x) ((x) & (~BITS_LARGE_LDO_LPS_VOLT_8733B))
#define BIT_GET_LARGE_LDO_LPS_VOLT_8733B(x) (((x) >> BIT_SHIFT_LARGE_LDO_LPS_VOLT_8733B) & BIT_MASK_LARGE_LDO_LPS_VOLT_8733B)
#define BIT_SET_LARGE_LDO_LPS_VOLT_8733B(x, v) (BIT_CLEAR_LARGE_LDO_LPS_VOLT_8733B(x) | BIT_LARGE_LDO_LPS_VOLT_8733B(v))

#define BIT_SHIFT_SML_LDO_SUS_VOLT_8733B 0
#define BIT_MASK_SML_LDO_SUS_VOLT_8733B 0xf
#define BIT_SML_LDO_SUS_VOLT_8733B(x) (((x) & BIT_MASK_SML_LDO_SUS_VOLT_8733B) << BIT_SHIFT_SML_LDO_SUS_VOLT_8733B)
#define BITS_SML_LDO_SUS_VOLT_8733B (BIT_MASK_SML_LDO_SUS_VOLT_8733B << BIT_SHIFT_SML_LDO_SUS_VOLT_8733B)
#define BIT_CLEAR_SML_LDO_SUS_VOLT_8733B(x) ((x) & (~BITS_SML_LDO_SUS_VOLT_8733B))
#define BIT_GET_SML_LDO_SUS_VOLT_8733B(x) (((x) >> BIT_SHIFT_SML_LDO_SUS_VOLT_8733B) & BIT_MASK_SML_LDO_SUS_VOLT_8733B)
#define BIT_SET_SML_LDO_SUS_VOLT_8733B(x, v) (BIT_CLEAR_SML_LDO_SUS_VOLT_8733B(x) | BIT_SML_LDO_SUS_VOLT_8733B(v))

/* 2 REG_AIP_POW_CTRL_8733B */

/* 2 REG_NOT_VALID_8733B */
#define BIT_POW_XTAL_LPS_EN_8733B BIT(26)
#define BIT_POW_XTAL_8733B BIT(25)
#define BIT_POW_BG_8733B BIT(24)
#define BIT_XTAL_XORES_SEL_8733B BIT(23)
#define BIT_POW_REGU_P1_8733B BIT(22)
#define BIT_POW_REGU_P0_8733B BIT(21)
#define BIT_POW_PLL_200_8733B BIT(20)
#define BIT_POW_PLL_8733B BIT(19)
#define BIT_POW_PLL_LDO_8733B BIT(18)
#define BIT_POW_XTAL_NC_8733B BIT(17)
#define BIT_POW_BG_NC_8733B BIT(16)
#define BIT_EN_PCIE_BG_8733B BIT(15)
#define BIT_EN_USB_BG_8733B BIT(14)
#define BIT_USB_APHY_POR_8733B BIT(13)

/* 2 REG_LDO_CTRL0_8733B */
#define BIT_SYM_UPD_LRG_LDO_ACT_VOLT_8733B BIT(31)
#define BIT_SYM_UPD_SML_LDO_ACT_VOLT_8733B BIT(30)
#define BIT_SYM_UPD_SWR_PFM_ACT_VOLT_8733B BIT(29)
#define BIT_SYM_UPD_AON_LDO_ACT_VOLT_8733B BIT(28)

/* 2 REG_NOT_VALID_8733B */

#define BIT_SHIFT_REG_CC_WL_PON_L_8733B 22
#define BIT_MASK_REG_CC_WL_PON_L_8733B 0x3
#define BIT_REG_CC_WL_PON_L_8733B(x) (((x) & BIT_MASK_REG_CC_WL_PON_L_8733B) << BIT_SHIFT_REG_CC_WL_PON_L_8733B)
#define BITS_REG_CC_WL_PON_L_8733B (BIT_MASK_REG_CC_WL_PON_L_8733B << BIT_SHIFT_REG_CC_WL_PON_L_8733B)
#define BIT_CLEAR_REG_CC_WL_PON_L_8733B(x) ((x) & (~BITS_REG_CC_WL_PON_L_8733B))
#define BIT_GET_REG_CC_WL_PON_L_8733B(x) (((x) >> BIT_SHIFT_REG_CC_WL_PON_L_8733B) & BIT_MASK_REG_CC_WL_PON_L_8733B)
#define BIT_SET_REG_CC_WL_PON_L_8733B(x, v) (BIT_CLEAR_REG_CC_WL_PON_L_8733B(x) | BIT_REG_CC_WL_PON_L_8733B(v))

#define BIT_REG_STANDBY_WL_PON_L_8733B BIT(21)
#define BIT_POW_LDO_WL_PON_8733B BIT(20)

#define BIT_SHIFT_REG_RES_WL_L_8733B 18
#define BIT_MASK_REG_RES_WL_L_8733B 0x3
#define BIT_REG_RES_WL_L_8733B(x) (((x) & BIT_MASK_REG_RES_WL_L_8733B) << BIT_SHIFT_REG_RES_WL_L_8733B)
#define BITS_REG_RES_WL_L_8733B (BIT_MASK_REG_RES_WL_L_8733B << BIT_SHIFT_REG_RES_WL_L_8733B)
#define BIT_CLEAR_REG_RES_WL_L_8733B(x) ((x) & (~BITS_REG_RES_WL_L_8733B))
#define BIT_GET_REG_RES_WL_L_8733B(x) (((x) >> BIT_SHIFT_REG_RES_WL_L_8733B) & BIT_MASK_REG_RES_WL_L_8733B)
#define BIT_SET_REG_RES_WL_L_8733B(x, v) (BIT_CLEAR_REG_RES_WL_L_8733B(x) | BIT_REG_RES_WL_L_8733B(v))

#define BIT_SHIFT_REG_BIAS_WL_L_8733B 16
#define BIT_MASK_REG_BIAS_WL_L_8733B 0x3
#define BIT_REG_BIAS_WL_L_8733B(x) (((x) & BIT_MASK_REG_BIAS_WL_L_8733B) << BIT_SHIFT_REG_BIAS_WL_L_8733B)
#define BITS_REG_BIAS_WL_L_8733B (BIT_MASK_REG_BIAS_WL_L_8733B << BIT_SHIFT_REG_BIAS_WL_L_8733B)
#define BIT_CLEAR_REG_BIAS_WL_L_8733B(x) ((x) & (~BITS_REG_BIAS_WL_L_8733B))
#define BIT_GET_REG_BIAS_WL_L_8733B(x) (((x) >> BIT_SHIFT_REG_BIAS_WL_L_8733B) & BIT_MASK_REG_BIAS_WL_L_8733B)
#define BIT_SET_REG_BIAS_WL_L_8733B(x, v) (BIT_CLEAR_REG_BIAS_WL_L_8733B(x) | BIT_REG_BIAS_WL_L_8733B(v))

#define BIT_SHIFT_LDOD_V12ADJ_WL_L_8733B 12
#define BIT_MASK_LDOD_V12ADJ_WL_L_8733B 0xf
#define BIT_LDOD_V12ADJ_WL_L_8733B(x) (((x) & BIT_MASK_LDOD_V12ADJ_WL_L_8733B) << BIT_SHIFT_LDOD_V12ADJ_WL_L_8733B)
#define BITS_LDOD_V12ADJ_WL_L_8733B (BIT_MASK_LDOD_V12ADJ_WL_L_8733B << BIT_SHIFT_LDOD_V12ADJ_WL_L_8733B)
#define BIT_CLEAR_LDOD_V12ADJ_WL_L_8733B(x) ((x) & (~BITS_LDOD_V12ADJ_WL_L_8733B))
#define BIT_GET_LDOD_V12ADJ_WL_L_8733B(x) (((x) >> BIT_SHIFT_LDOD_V12ADJ_WL_L_8733B) & BIT_MASK_LDOD_V12ADJ_WL_L_8733B)
#define BIT_SET_LDOD_V12ADJ_WL_L_8733B(x, v) (BIT_CLEAR_LDOD_V12ADJ_WL_L_8733B(x) | BIT_LDOD_V12ADJ_WL_L_8733B(v))

#define BIT_SHIFT_REG_CC_WL_L_8733B 10
#define BIT_MASK_REG_CC_WL_L_8733B 0x3
#define BIT_REG_CC_WL_L_8733B(x) (((x) & BIT_MASK_REG_CC_WL_L_8733B) << BIT_SHIFT_REG_CC_WL_L_8733B)
#define BITS_REG_CC_WL_L_8733B (BIT_MASK_REG_CC_WL_L_8733B << BIT_SHIFT_REG_CC_WL_L_8733B)
#define BIT_CLEAR_REG_CC_WL_L_8733B(x) ((x) & (~BITS_REG_CC_WL_L_8733B))
#define BIT_GET_REG_CC_WL_L_8733B(x) (((x) >> BIT_SHIFT_REG_CC_WL_L_8733B) & BIT_MASK_REG_CC_WL_L_8733B)
#define BIT_SET_REG_CC_WL_L_8733B(x, v) (BIT_CLEAR_REG_CC_WL_L_8733B(x) | BIT_REG_CC_WL_L_8733B(v))

#define BIT_REG_STANDBY_WL_L_8733B BIT(9)
#define BIT_POW_LDO_WL_8733B BIT(8)
#define BIT_CK12M_EN_8733B BIT(6)
#define BIT_REG_CK_SEL_8733B BIT(5)
#define BIT_EN_SLEEP_L_8733B BIT(4)

#define BIT_SHIFT_LDOH12_V12ADJ_L_8733B 0
#define BIT_MASK_LDOH12_V12ADJ_L_8733B 0xf
#define BIT_LDOH12_V12ADJ_L_8733B(x) (((x) & BIT_MASK_LDOH12_V12ADJ_L_8733B) << BIT_SHIFT_LDOH12_V12ADJ_L_8733B)
#define BITS_LDOH12_V12ADJ_L_8733B (BIT_MASK_LDOH12_V12ADJ_L_8733B << BIT_SHIFT_LDOH12_V12ADJ_L_8733B)
#define BIT_CLEAR_LDOH12_V12ADJ_L_8733B(x) ((x) & (~BITS_LDOH12_V12ADJ_L_8733B))
#define BIT_GET_LDOH12_V12ADJ_L_8733B(x) (((x) >> BIT_SHIFT_LDOH12_V12ADJ_L_8733B) & BIT_MASK_LDOH12_V12ADJ_L_8733B)
#define BIT_SET_LDOH12_V12ADJ_L_8733B(x, v) (BIT_CLEAR_LDOH12_V12ADJ_L_8733B(x) | BIT_LDOH12_V12ADJ_L_8733B(v))

/* 2 REG_EFUSE_CTRL_8733B */
#define BIT_EF_FLAG_8733B BIT(31)

#define BIT_SHIFT_EF_PGPD_8733B 28
#define BIT_MASK_EF_PGPD_8733B 0x7
#define BIT_EF_PGPD_8733B(x) (((x) & BIT_MASK_EF_PGPD_8733B) << BIT_SHIFT_EF_PGPD_8733B)
#define BITS_EF_PGPD_8733B (BIT_MASK_EF_PGPD_8733B << BIT_SHIFT_EF_PGPD_8733B)
#define BIT_CLEAR_EF_PGPD_8733B(x) ((x) & (~BITS_EF_PGPD_8733B))
#define BIT_GET_EF_PGPD_8733B(x) (((x) >> BIT_SHIFT_EF_PGPD_8733B) & BIT_MASK_EF_PGPD_8733B)
#define BIT_SET_EF_PGPD_8733B(x, v) (BIT_CLEAR_EF_PGPD_8733B(x) | BIT_EF_PGPD_8733B(v))

#define BIT_SHIFT_EF_RDT_8733B 24
#define BIT_MASK_EF_RDT_8733B 0xf
#define BIT_EF_RDT_8733B(x) (((x) & BIT_MASK_EF_RDT_8733B) << BIT_SHIFT_EF_RDT_8733B)
#define BITS_EF_RDT_8733B (BIT_MASK_EF_RDT_8733B << BIT_SHIFT_EF_RDT_8733B)
#define BIT_CLEAR_EF_RDT_8733B(x) ((x) & (~BITS_EF_RDT_8733B))
#define BIT_GET_EF_RDT_8733B(x) (((x) >> BIT_SHIFT_EF_RDT_8733B) & BIT_MASK_EF_RDT_8733B)
#define BIT_SET_EF_RDT_8733B(x, v) (BIT_CLEAR_EF_RDT_8733B(x) | BIT_EF_RDT_8733B(v))

#define BIT_SHIFT_EF_PGTS_8733B 20
#define BIT_MASK_EF_PGTS_8733B 0xf
#define BIT_EF_PGTS_8733B(x) (((x) & BIT_MASK_EF_PGTS_8733B) << BIT_SHIFT_EF_PGTS_8733B)
#define BITS_EF_PGTS_8733B (BIT_MASK_EF_PGTS_8733B << BIT_SHIFT_EF_PGTS_8733B)
#define BIT_CLEAR_EF_PGTS_8733B(x) ((x) & (~BITS_EF_PGTS_8733B))
#define BIT_GET_EF_PGTS_8733B(x) (((x) >> BIT_SHIFT_EF_PGTS_8733B) & BIT_MASK_EF_PGTS_8733B)
#define BIT_SET_EF_PGTS_8733B(x, v) (BIT_CLEAR_EF_PGTS_8733B(x) | BIT_EF_PGTS_8733B(v))

#define BIT_EF_PDWN_8733B BIT(19)
#define BIT_EF_ALDEN_8733B BIT(18)

#define BIT_SHIFT_EF_ADDR_8733B 8
#define BIT_MASK_EF_ADDR_8733B 0x3ff
#define BIT_EF_ADDR_8733B(x) (((x) & BIT_MASK_EF_ADDR_8733B) << BIT_SHIFT_EF_ADDR_8733B)
#define BITS_EF_ADDR_8733B (BIT_MASK_EF_ADDR_8733B << BIT_SHIFT_EF_ADDR_8733B)
#define BIT_CLEAR_EF_ADDR_8733B(x) ((x) & (~BITS_EF_ADDR_8733B))
#define BIT_GET_EF_ADDR_8733B(x) (((x) >> BIT_SHIFT_EF_ADDR_8733B) & BIT_MASK_EF_ADDR_8733B)
#define BIT_SET_EF_ADDR_8733B(x, v) (BIT_CLEAR_EF_ADDR_8733B(x) | BIT_EF_ADDR_8733B(v))

#define BIT_SHIFT_EF_DATA_8733B 0
#define BIT_MASK_EF_DATA_8733B 0xff
#define BIT_EF_DATA_8733B(x) (((x) & BIT_MASK_EF_DATA_8733B) << BIT_SHIFT_EF_DATA_8733B)
#define BITS_EF_DATA_8733B (BIT_MASK_EF_DATA_8733B << BIT_SHIFT_EF_DATA_8733B)
#define BIT_CLEAR_EF_DATA_8733B(x) ((x) & (~BITS_EF_DATA_8733B))
#define BIT_GET_EF_DATA_8733B(x) (((x) >> BIT_SHIFT_EF_DATA_8733B) & BIT_MASK_EF_DATA_8733B)
#define BIT_SET_EF_DATA_8733B(x, v) (BIT_CLEAR_EF_DATA_8733B(x) | BIT_EF_DATA_8733B(v))

/* 2 REG_LDO_EFUSE_CTRL_8733B */

#define BIT_SHIFT_EF_SCAN_START_8733B 16
#define BIT_MASK_EF_SCAN_START_8733B 0x1ff
#define BIT_EF_SCAN_START_8733B(x) (((x) & BIT_MASK_EF_SCAN_START_8733B) << BIT_SHIFT_EF_SCAN_START_8733B)
#define BITS_EF_SCAN_START_8733B (BIT_MASK_EF_SCAN_START_8733B << BIT_SHIFT_EF_SCAN_START_8733B)
#define BIT_CLEAR_EF_SCAN_START_8733B(x) ((x) & (~BITS_EF_SCAN_START_8733B))
#define BIT_GET_EF_SCAN_START_8733B(x) (((x) >> BIT_SHIFT_EF_SCAN_START_8733B) & BIT_MASK_EF_SCAN_START_8733B)
#define BIT_SET_EF_SCAN_START_8733B(x, v) (BIT_CLEAR_EF_SCAN_START_8733B(x) | BIT_EF_SCAN_START_8733B(v))

#define BIT_SHIFT_EF_SCAN_END_9_TO_8_8733B 12
#define BIT_MASK_EF_SCAN_END_9_TO_8_8733B 0x3
#define BIT_EF_SCAN_END_9_TO_8_8733B(x) (((x) & BIT_MASK_EF_SCAN_END_9_TO_8_8733B) << BIT_SHIFT_EF_SCAN_END_9_TO_8_8733B)
#define BITS_EF_SCAN_END_9_TO_8_8733B (BIT_MASK_EF_SCAN_END_9_TO_8_8733B << BIT_SHIFT_EF_SCAN_END_9_TO_8_8733B)
#define BIT_CLEAR_EF_SCAN_END_9_TO_8_8733B(x) ((x) & (~BITS_EF_SCAN_END_9_TO_8_8733B))
#define BIT_GET_EF_SCAN_END_9_TO_8_8733B(x) (((x) >> BIT_SHIFT_EF_SCAN_END_9_TO_8_8733B) & BIT_MASK_EF_SCAN_END_9_TO_8_8733B)
#define BIT_SET_EF_SCAN_END_9_TO_8_8733B(x, v) (BIT_CLEAR_EF_SCAN_END_9_TO_8_8733B(x) | BIT_EF_SCAN_END_9_TO_8_8733B(v))

#define BIT_EF_FORCE_PGMEN_8733B BIT(11)

#define BIT_SHIFT_EF_CELL_SEL_8733B 8
#define BIT_MASK_EF_CELL_SEL_8733B 0x3
#define BIT_EF_CELL_SEL_8733B(x) (((x) & BIT_MASK_EF_CELL_SEL_8733B) << BIT_SHIFT_EF_CELL_SEL_8733B)
#define BITS_EF_CELL_SEL_8733B (BIT_MASK_EF_CELL_SEL_8733B << BIT_SHIFT_EF_CELL_SEL_8733B)
#define BIT_CLEAR_EF_CELL_SEL_8733B(x) ((x) & (~BITS_EF_CELL_SEL_8733B))
#define BIT_GET_EF_CELL_SEL_8733B(x) (((x) >> BIT_SHIFT_EF_CELL_SEL_8733B) & BIT_MASK_EF_CELL_SEL_8733B)
#define BIT_SET_EF_CELL_SEL_8733B(x, v) (BIT_CLEAR_EF_CELL_SEL_8733B(x) | BIT_EF_CELL_SEL_8733B(v))

#define BIT_EF_TRPT_8733B BIT(7)

#define BIT_SHIFT_EF_TTHD_8733B 0
#define BIT_MASK_EF_TTHD_8733B 0x7f
#define BIT_EF_TTHD_8733B(x) (((x) & BIT_MASK_EF_TTHD_8733B) << BIT_SHIFT_EF_TTHD_8733B)
#define BITS_EF_TTHD_8733B (BIT_MASK_EF_TTHD_8733B << BIT_SHIFT_EF_TTHD_8733B)
#define BIT_CLEAR_EF_TTHD_8733B(x) ((x) & (~BITS_EF_TTHD_8733B))
#define BIT_GET_EF_TTHD_8733B(x) (((x) >> BIT_SHIFT_EF_TTHD_8733B) & BIT_MASK_EF_TTHD_8733B)
#define BIT_SET_EF_TTHD_8733B(x, v) (BIT_CLEAR_EF_TTHD_8733B(x) | BIT_EF_TTHD_8733B(v))

/* 2 REG_PWR_OPTION_CTRL_8733B */

#define BIT_SHIFT_SYSON_XTAL_STABLE_WT_8733B 30
#define BIT_MASK_SYSON_XTAL_STABLE_WT_8733B 0x3
#define BIT_SYSON_XTAL_STABLE_WT_8733B(x) (((x) & BIT_MASK_SYSON_XTAL_STABLE_WT_8733B) << BIT_SHIFT_SYSON_XTAL_STABLE_WT_8733B)
#define BITS_SYSON_XTAL_STABLE_WT_8733B (BIT_MASK_SYSON_XTAL_STABLE_WT_8733B << BIT_SHIFT_SYSON_XTAL_STABLE_WT_8733B)
#define BIT_CLEAR_SYSON_XTAL_STABLE_WT_8733B(x) ((x) & (~BITS_SYSON_XTAL_STABLE_WT_8733B))
#define BIT_GET_SYSON_XTAL_STABLE_WT_8733B(x) (((x) >> BIT_SHIFT_SYSON_XTAL_STABLE_WT_8733B) & BIT_MASK_SYSON_XTAL_STABLE_WT_8733B)
#define BIT_SET_SYSON_XTAL_STABLE_WT_8733B(x, v) (BIT_CLEAR_SYSON_XTAL_STABLE_WT_8733B(x) | BIT_SYSON_XTAL_STABLE_WT_8733B(v))

#define BIT_SHIFT_SYSON_SWT_PWM_WT_8733B 28
#define BIT_MASK_SYSON_SWT_PWM_WT_8733B 0x3
#define BIT_SYSON_SWT_PWM_WT_8733B(x) (((x) & BIT_MASK_SYSON_SWT_PWM_WT_8733B) << BIT_SHIFT_SYSON_SWT_PWM_WT_8733B)
#define BITS_SYSON_SWT_PWM_WT_8733B (BIT_MASK_SYSON_SWT_PWM_WT_8733B << BIT_SHIFT_SYSON_SWT_PWM_WT_8733B)
#define BIT_CLEAR_SYSON_SWT_PWM_WT_8733B(x) ((x) & (~BITS_SYSON_SWT_PWM_WT_8733B))
#define BIT_GET_SYSON_SWT_PWM_WT_8733B(x) (((x) >> BIT_SHIFT_SYSON_SWT_PWM_WT_8733B) & BIT_MASK_SYSON_SWT_PWM_WT_8733B)
#define BIT_SET_SYSON_SWT_PWM_WT_8733B(x, v) (BIT_CLEAR_SYSON_SWT_PWM_WT_8733B(x) | BIT_SYSON_SWT_PWM_WT_8733B(v))

#define BIT_SHIFT_SYSON_BT_LDO_WT_8733B 26
#define BIT_MASK_SYSON_BT_LDO_WT_8733B 0x3
#define BIT_SYSON_BT_LDO_WT_8733B(x) (((x) & BIT_MASK_SYSON_BT_LDO_WT_8733B) << BIT_SHIFT_SYSON_BT_LDO_WT_8733B)
#define BITS_SYSON_BT_LDO_WT_8733B (BIT_MASK_SYSON_BT_LDO_WT_8733B << BIT_SHIFT_SYSON_BT_LDO_WT_8733B)
#define BIT_CLEAR_SYSON_BT_LDO_WT_8733B(x) ((x) & (~BITS_SYSON_BT_LDO_WT_8733B))
#define BIT_GET_SYSON_BT_LDO_WT_8733B(x) (((x) >> BIT_SHIFT_SYSON_BT_LDO_WT_8733B) & BIT_MASK_SYSON_BT_LDO_WT_8733B)
#define BIT_SET_SYSON_BT_LDO_WT_8733B(x, v) (BIT_CLEAR_SYSON_BT_LDO_WT_8733B(x) | BIT_SYSON_BT_LDO_WT_8733B(v))

#define BIT_SHIFT_DBG_SHIFT_8733B 24
#define BIT_MASK_DBG_SHIFT_8733B 0x3
#define BIT_DBG_SHIFT_8733B(x) (((x) & BIT_MASK_DBG_SHIFT_8733B) << BIT_SHIFT_DBG_SHIFT_8733B)
#define BITS_DBG_SHIFT_8733B (BIT_MASK_DBG_SHIFT_8733B << BIT_SHIFT_DBG_SHIFT_8733B)
#define BIT_CLEAR_DBG_SHIFT_8733B(x) ((x) & (~BITS_DBG_SHIFT_8733B))
#define BIT_GET_DBG_SHIFT_8733B(x) (((x) >> BIT_SHIFT_DBG_SHIFT_8733B) & BIT_MASK_DBG_SHIFT_8733B)
#define BIT_SET_DBG_SHIFT_8733B(x, v) (BIT_CLEAR_DBG_SHIFT_8733B(x) | BIT_DBG_SHIFT_8733B(v))

#define BIT_SHIFT_DBG_SEL_V1_8733B 16
#define BIT_MASK_DBG_SEL_V1_8733B 0xff
#define BIT_DBG_SEL_V1_8733B(x) (((x) & BIT_MASK_DBG_SEL_V1_8733B) << BIT_SHIFT_DBG_SEL_V1_8733B)
#define BITS_DBG_SEL_V1_8733B (BIT_MASK_DBG_SEL_V1_8733B << BIT_SHIFT_DBG_SEL_V1_8733B)
#define BIT_CLEAR_DBG_SEL_V1_8733B(x) ((x) & (~BITS_DBG_SEL_V1_8733B))
#define BIT_GET_DBG_SEL_V1_8733B(x) (((x) >> BIT_SHIFT_DBG_SEL_V1_8733B) & BIT_MASK_DBG_SEL_V1_8733B)
#define BIT_SET_DBG_SEL_V1_8733B(x, v) (BIT_CLEAR_DBG_SEL_V1_8733B(x) | BIT_DBG_SEL_V1_8733B(v))

#define BIT_DIS_LPS_WT_PDNSUS_8733B BIT(15)

#define BIT_SHIFT_SYSON_WLPLL_LDO_WT_8733B 12
#define BIT_MASK_SYSON_WLPLL_LDO_WT_8733B 0x3
#define BIT_SYSON_WLPLL_LDO_WT_8733B(x) (((x) & BIT_MASK_SYSON_WLPLL_LDO_WT_8733B) << BIT_SHIFT_SYSON_WLPLL_LDO_WT_8733B)
#define BITS_SYSON_WLPLL_LDO_WT_8733B (BIT_MASK_SYSON_WLPLL_LDO_WT_8733B << BIT_SHIFT_SYSON_WLPLL_LDO_WT_8733B)
#define BIT_CLEAR_SYSON_WLPLL_LDO_WT_8733B(x) ((x) & (~BITS_SYSON_WLPLL_LDO_WT_8733B))
#define BIT_GET_SYSON_WLPLL_LDO_WT_8733B(x) (((x) >> BIT_SHIFT_SYSON_WLPLL_LDO_WT_8733B) & BIT_MASK_SYSON_WLPLL_LDO_WT_8733B)
#define BIT_SET_SYSON_WLPLL_LDO_WT_8733B(x, v) (BIT_CLEAR_SYSON_WLPLL_LDO_WT_8733B(x) | BIT_SYSON_WLPLL_LDO_WT_8733B(v))

#define BIT_SHIFT_SYSON_WLOFF_LDO_WT_8733B 10
#define BIT_MASK_SYSON_WLOFF_LDO_WT_8733B 0x3
#define BIT_SYSON_WLOFF_LDO_WT_8733B(x) (((x) & BIT_MASK_SYSON_WLOFF_LDO_WT_8733B) << BIT_SHIFT_SYSON_WLOFF_LDO_WT_8733B)
#define BITS_SYSON_WLOFF_LDO_WT_8733B (BIT_MASK_SYSON_WLOFF_LDO_WT_8733B << BIT_SHIFT_SYSON_WLOFF_LDO_WT_8733B)
#define BIT_CLEAR_SYSON_WLOFF_LDO_WT_8733B(x) ((x) & (~BITS_SYSON_WLOFF_LDO_WT_8733B))
#define BIT_GET_SYSON_WLOFF_LDO_WT_8733B(x) (((x) >> BIT_SHIFT_SYSON_WLOFF_LDO_WT_8733B) & BIT_MASK_SYSON_WLOFF_LDO_WT_8733B)
#define BIT_SET_SYSON_WLOFF_LDO_WT_8733B(x, v) (BIT_CLEAR_SYSON_WLOFF_LDO_WT_8733B(x) | BIT_SYSON_WLOFF_LDO_WT_8733B(v))

#define BIT_SHIFT_SYSON_APHY_LDO_WT_8733B 8
#define BIT_MASK_SYSON_APHY_LDO_WT_8733B 0x3
#define BIT_SYSON_APHY_LDO_WT_8733B(x) (((x) & BIT_MASK_SYSON_APHY_LDO_WT_8733B) << BIT_SHIFT_SYSON_APHY_LDO_WT_8733B)
#define BITS_SYSON_APHY_LDO_WT_8733B (BIT_MASK_SYSON_APHY_LDO_WT_8733B << BIT_SHIFT_SYSON_APHY_LDO_WT_8733B)
#define BIT_CLEAR_SYSON_APHY_LDO_WT_8733B(x) ((x) & (~BITS_SYSON_APHY_LDO_WT_8733B))
#define BIT_GET_SYSON_APHY_LDO_WT_8733B(x) (((x) >> BIT_SHIFT_SYSON_APHY_LDO_WT_8733B) & BIT_MASK_SYSON_APHY_LDO_WT_8733B)
#define BIT_SET_SYSON_APHY_LDO_WT_8733B(x, v) (BIT_CLEAR_SYSON_APHY_LDO_WT_8733B(x) | BIT_SYSON_APHY_LDO_WT_8733B(v))

#define BIT_SHIFT_SYSON_PHYDIG_LDO_WT_8733B 6
#define BIT_MASK_SYSON_PHYDIG_LDO_WT_8733B 0x3
#define BIT_SYSON_PHYDIG_LDO_WT_8733B(x) (((x) & BIT_MASK_SYSON_PHYDIG_LDO_WT_8733B) << BIT_SHIFT_SYSON_PHYDIG_LDO_WT_8733B)
#define BITS_SYSON_PHYDIG_LDO_WT_8733B (BIT_MASK_SYSON_PHYDIG_LDO_WT_8733B << BIT_SHIFT_SYSON_PHYDIG_LDO_WT_8733B)
#define BIT_CLEAR_SYSON_PHYDIG_LDO_WT_8733B(x) ((x) & (~BITS_SYSON_PHYDIG_LDO_WT_8733B))
#define BIT_GET_SYSON_PHYDIG_LDO_WT_8733B(x) (((x) >> BIT_SHIFT_SYSON_PHYDIG_LDO_WT_8733B) & BIT_MASK_SYSON_PHYDIG_LDO_WT_8733B)
#define BIT_SET_SYSON_PHYDIG_LDO_WT_8733B(x, v) (BIT_CLEAR_SYSON_PHYDIG_LDO_WT_8733B(x) | BIT_SYSON_PHYDIG_LDO_WT_8733B(v))

#define BIT_SHIFT_SYSON_SPS0WWV_WT_8733B 4
#define BIT_MASK_SYSON_SPS0WWV_WT_8733B 0x3
#define BIT_SYSON_SPS0WWV_WT_8733B(x) (((x) & BIT_MASK_SYSON_SPS0WWV_WT_8733B) << BIT_SHIFT_SYSON_SPS0WWV_WT_8733B)
#define BITS_SYSON_SPS0WWV_WT_8733B (BIT_MASK_SYSON_SPS0WWV_WT_8733B << BIT_SHIFT_SYSON_SPS0WWV_WT_8733B)
#define BIT_CLEAR_SYSON_SPS0WWV_WT_8733B(x) ((x) & (~BITS_SYSON_SPS0WWV_WT_8733B))
#define BIT_GET_SYSON_SPS0WWV_WT_8733B(x) (((x) >> BIT_SHIFT_SYSON_SPS0WWV_WT_8733B) & BIT_MASK_SYSON_SPS0WWV_WT_8733B)
#define BIT_SET_SYSON_SPS0WWV_WT_8733B(x, v) (BIT_CLEAR_SYSON_SPS0WWV_WT_8733B(x) | BIT_SYSON_SPS0WWV_WT_8733B(v))

#define BIT_SHIFT_SYSON_SPS0LDO_WT_8733B 2
#define BIT_MASK_SYSON_SPS0LDO_WT_8733B 0x3
#define BIT_SYSON_SPS0LDO_WT_8733B(x) (((x) & BIT_MASK_SYSON_SPS0LDO_WT_8733B) << BIT_SHIFT_SYSON_SPS0LDO_WT_8733B)
#define BITS_SYSON_SPS0LDO_WT_8733B (BIT_MASK_SYSON_SPS0LDO_WT_8733B << BIT_SHIFT_SYSON_SPS0LDO_WT_8733B)
#define BIT_CLEAR_SYSON_SPS0LDO_WT_8733B(x) ((x) & (~BITS_SYSON_SPS0LDO_WT_8733B))
#define BIT_GET_SYSON_SPS0LDO_WT_8733B(x) (((x) >> BIT_SHIFT_SYSON_SPS0LDO_WT_8733B) & BIT_MASK_SYSON_SPS0LDO_WT_8733B)
#define BIT_SET_SYSON_SPS0LDO_WT_8733B(x, v) (BIT_CLEAR_SYSON_SPS0LDO_WT_8733B(x) | BIT_SYSON_SPS0LDO_WT_8733B(v))

#define BIT_SHIFT_SYSON_RCLK_SCALE_8733B 0
#define BIT_MASK_SYSON_RCLK_SCALE_8733B 0x3
#define BIT_SYSON_RCLK_SCALE_8733B(x) (((x) & BIT_MASK_SYSON_RCLK_SCALE_8733B) << BIT_SHIFT_SYSON_RCLK_SCALE_8733B)
#define BITS_SYSON_RCLK_SCALE_8733B (BIT_MASK_SYSON_RCLK_SCALE_8733B << BIT_SHIFT_SYSON_RCLK_SCALE_8733B)
#define BIT_CLEAR_SYSON_RCLK_SCALE_8733B(x) ((x) & (~BITS_SYSON_RCLK_SCALE_8733B))
#define BIT_GET_SYSON_RCLK_SCALE_8733B(x) (((x) >> BIT_SHIFT_SYSON_RCLK_SCALE_8733B) & BIT_MASK_SYSON_RCLK_SCALE_8733B)
#define BIT_SET_SYSON_RCLK_SCALE_8733B(x, v) (BIT_CLEAR_SYSON_RCLK_SCALE_8733B(x) | BIT_SYSON_RCLK_SCALE_8733B(v))

/* 2 REG_CAL_TIMER_8733B */

#define BIT_SHIFT_MATCH_CNT_8733B 8
#define BIT_MASK_MATCH_CNT_8733B 0xff
#define BIT_MATCH_CNT_8733B(x) (((x) & BIT_MASK_MATCH_CNT_8733B) << BIT_SHIFT_MATCH_CNT_8733B)
#define BITS_MATCH_CNT_8733B (BIT_MASK_MATCH_CNT_8733B << BIT_SHIFT_MATCH_CNT_8733B)
#define BIT_CLEAR_MATCH_CNT_8733B(x) ((x) & (~BITS_MATCH_CNT_8733B))
#define BIT_GET_MATCH_CNT_8733B(x) (((x) >> BIT_SHIFT_MATCH_CNT_8733B) & BIT_MASK_MATCH_CNT_8733B)
#define BIT_SET_MATCH_CNT_8733B(x, v) (BIT_CLEAR_MATCH_CNT_8733B(x) | BIT_MATCH_CNT_8733B(v))

#define BIT_SHIFT_CAL_SCAL_8733B 0
#define BIT_MASK_CAL_SCAL_8733B 0xff
#define BIT_CAL_SCAL_8733B(x) (((x) & BIT_MASK_CAL_SCAL_8733B) << BIT_SHIFT_CAL_SCAL_8733B)
#define BITS_CAL_SCAL_8733B (BIT_MASK_CAL_SCAL_8733B << BIT_SHIFT_CAL_SCAL_8733B)
#define BIT_CLEAR_CAL_SCAL_8733B(x) ((x) & (~BITS_CAL_SCAL_8733B))
#define BIT_GET_CAL_SCAL_8733B(x) (((x) >> BIT_SHIFT_CAL_SCAL_8733B) & BIT_MASK_CAL_SCAL_8733B)
#define BIT_SET_CAL_SCAL_8733B(x, v) (BIT_CLEAR_CAL_SCAL_8733B(x) | BIT_CAL_SCAL_8733B(v))

/* 2 REG_ACLK_MON_8733B */

#define BIT_SHIFT_RCLK_MON_8733B 5
#define BIT_MASK_RCLK_MON_8733B 0x7ff
#define BIT_RCLK_MON_8733B(x) (((x) & BIT_MASK_RCLK_MON_8733B) << BIT_SHIFT_RCLK_MON_8733B)
#define BITS_RCLK_MON_8733B (BIT_MASK_RCLK_MON_8733B << BIT_SHIFT_RCLK_MON_8733B)
#define BIT_CLEAR_RCLK_MON_8733B(x) ((x) & (~BITS_RCLK_MON_8733B))
#define BIT_GET_RCLK_MON_8733B(x) (((x) >> BIT_SHIFT_RCLK_MON_8733B) & BIT_MASK_RCLK_MON_8733B)
#define BIT_SET_RCLK_MON_8733B(x, v) (BIT_CLEAR_RCLK_MON_8733B(x) | BIT_RCLK_MON_8733B(v))

#define BIT_CAL_EN_8733B BIT(4)

#define BIT_SHIFT_DPSTU_8733B 2
#define BIT_MASK_DPSTU_8733B 0x3
#define BIT_DPSTU_8733B(x) (((x) & BIT_MASK_DPSTU_8733B) << BIT_SHIFT_DPSTU_8733B)
#define BITS_DPSTU_8733B (BIT_MASK_DPSTU_8733B << BIT_SHIFT_DPSTU_8733B)
#define BIT_CLEAR_DPSTU_8733B(x) ((x) & (~BITS_DPSTU_8733B))
#define BIT_GET_DPSTU_8733B(x) (((x) >> BIT_SHIFT_DPSTU_8733B) & BIT_MASK_DPSTU_8733B)
#define BIT_SET_DPSTU_8733B(x, v) (BIT_CLEAR_DPSTU_8733B(x) | BIT_DPSTU_8733B(v))

#define BIT_SUS_16X_8733B BIT(1)
#define BIT_RSM_EN_8733B BIT(0)

/* 2 REG_GPIO_MUXCFG_8733B */
#define BIT_PCIE_WAKE_EN_8733B BIT(23)
#define BIT_R_SYM_BT_SIC_EN_8733B BIT(19)
#define BIT_WL_EXT_32K_SEL_8733B BIT(18)
#define BIT_SIC_LBK_8733B BIT(15)
#define BIT_ENHTP_8733B BIT(14)
#define BIT_ENSIC_8733B BIT(12)
#define BIT_SIC_SWRST_8733B BIT(11)
#define BIT_ENUART_8733B BIT(8)

#define BIT_SHIFT_BTMODE_8733B 6
#define BIT_MASK_BTMODE_8733B 0x3
#define BIT_BTMODE_8733B(x) (((x) & BIT_MASK_BTMODE_8733B) << BIT_SHIFT_BTMODE_8733B)
#define BITS_BTMODE_8733B (BIT_MASK_BTMODE_8733B << BIT_SHIFT_BTMODE_8733B)
#define BIT_CLEAR_BTMODE_8733B(x) ((x) & (~BITS_BTMODE_8733B))
#define BIT_GET_BTMODE_8733B(x) (((x) >> BIT_SHIFT_BTMODE_8733B) & BIT_MASK_BTMODE_8733B)
#define BIT_SET_BTMODE_8733B(x, v) (BIT_CLEAR_BTMODE_8733B(x) | BIT_BTMODE_8733B(v))

#define BIT_ENBT_8733B BIT(5)
#define BIT_EROM_EN_8733B BIT(4)
#define BIT_WL_WAKE_HOST_8733B BIT(3)
#define BIT_WLRFE_4_5_EN_8733B BIT(2)

#define BIT_SHIFT_GPIOSEL_8733B 0
#define BIT_MASK_GPIOSEL_8733B 0x3
#define BIT_GPIOSEL_8733B(x) (((x) & BIT_MASK_GPIOSEL_8733B) << BIT_SHIFT_GPIOSEL_8733B)
#define BITS_GPIOSEL_8733B (BIT_MASK_GPIOSEL_8733B << BIT_SHIFT_GPIOSEL_8733B)
#define BIT_CLEAR_GPIOSEL_8733B(x) ((x) & (~BITS_GPIOSEL_8733B))
#define BIT_GET_GPIOSEL_8733B(x) (((x) >> BIT_SHIFT_GPIOSEL_8733B) & BIT_MASK_GPIOSEL_8733B)
#define BIT_SET_GPIOSEL_8733B(x, v) (BIT_CLEAR_GPIOSEL_8733B(x) | BIT_GPIOSEL_8733B(v))

/* 2 REG_GPIO_PIN_CTRL_8733B */

#define BIT_SHIFT_GPIO_MOD_7_TO_0_8733B 24
#define BIT_MASK_GPIO_MOD_7_TO_0_8733B 0xff
#define BIT_GPIO_MOD_7_TO_0_8733B(x) (((x) & BIT_MASK_GPIO_MOD_7_TO_0_8733B) << BIT_SHIFT_GPIO_MOD_7_TO_0_8733B)
#define BITS_GPIO_MOD_7_TO_0_8733B (BIT_MASK_GPIO_MOD_7_TO_0_8733B << BIT_SHIFT_GPIO_MOD_7_TO_0_8733B)
#define BIT_CLEAR_GPIO_MOD_7_TO_0_8733B(x) ((x) & (~BITS_GPIO_MOD_7_TO_0_8733B))
#define BIT_GET_GPIO_MOD_7_TO_0_8733B(x) (((x) >> BIT_SHIFT_GPIO_MOD_7_TO_0_8733B) & BIT_MASK_GPIO_MOD_7_TO_0_8733B)
#define BIT_SET_GPIO_MOD_7_TO_0_8733B(x, v) (BIT_CLEAR_GPIO_MOD_7_TO_0_8733B(x) | BIT_GPIO_MOD_7_TO_0_8733B(v))

#define BIT_SHIFT_GPIO_IO_SEL_7_TO_0_8733B 16
#define BIT_MASK_GPIO_IO_SEL_7_TO_0_8733B 0xff
#define BIT_GPIO_IO_SEL_7_TO_0_8733B(x) (((x) & BIT_MASK_GPIO_IO_SEL_7_TO_0_8733B) << BIT_SHIFT_GPIO_IO_SEL_7_TO_0_8733B)
#define BITS_GPIO_IO_SEL_7_TO_0_8733B (BIT_MASK_GPIO_IO_SEL_7_TO_0_8733B << BIT_SHIFT_GPIO_IO_SEL_7_TO_0_8733B)
#define BIT_CLEAR_GPIO_IO_SEL_7_TO_0_8733B(x) ((x) & (~BITS_GPIO_IO_SEL_7_TO_0_8733B))
#define BIT_GET_GPIO_IO_SEL_7_TO_0_8733B(x) (((x) >> BIT_SHIFT_GPIO_IO_SEL_7_TO_0_8733B) & BIT_MASK_GPIO_IO_SEL_7_TO_0_8733B)
#define BIT_SET_GPIO_IO_SEL_7_TO_0_8733B(x, v) (BIT_CLEAR_GPIO_IO_SEL_7_TO_0_8733B(x) | BIT_GPIO_IO_SEL_7_TO_0_8733B(v))

#define BIT_SHIFT_GPIO_OUT_7_TO_0_8733B 8
#define BIT_MASK_GPIO_OUT_7_TO_0_8733B 0xff
#define BIT_GPIO_OUT_7_TO_0_8733B(x) (((x) & BIT_MASK_GPIO_OUT_7_TO_0_8733B) << BIT_SHIFT_GPIO_OUT_7_TO_0_8733B)
#define BITS_GPIO_OUT_7_TO_0_8733B (BIT_MASK_GPIO_OUT_7_TO_0_8733B << BIT_SHIFT_GPIO_OUT_7_TO_0_8733B)
#define BIT_CLEAR_GPIO_OUT_7_TO_0_8733B(x) ((x) & (~BITS_GPIO_OUT_7_TO_0_8733B))
#define BIT_GET_GPIO_OUT_7_TO_0_8733B(x) (((x) >> BIT_SHIFT_GPIO_OUT_7_TO_0_8733B) & BIT_MASK_GPIO_OUT_7_TO_0_8733B)
#define BIT_SET_GPIO_OUT_7_TO_0_8733B(x, v) (BIT_CLEAR_GPIO_OUT_7_TO_0_8733B(x) | BIT_GPIO_OUT_7_TO_0_8733B(v))

#define BIT_SHIFT_GPIO_IN_7_TO_0_8733B 0
#define BIT_MASK_GPIO_IN_7_TO_0_8733B 0xff
#define BIT_GPIO_IN_7_TO_0_8733B(x) (((x) & BIT_MASK_GPIO_IN_7_TO_0_8733B) << BIT_SHIFT_GPIO_IN_7_TO_0_8733B)
#define BITS_GPIO_IN_7_TO_0_8733B (BIT_MASK_GPIO_IN_7_TO_0_8733B << BIT_SHIFT_GPIO_IN_7_TO_0_8733B)
#define BIT_CLEAR_GPIO_IN_7_TO_0_8733B(x) ((x) & (~BITS_GPIO_IN_7_TO_0_8733B))
#define BIT_GET_GPIO_IN_7_TO_0_8733B(x) (((x) >> BIT_SHIFT_GPIO_IN_7_TO_0_8733B) & BIT_MASK_GPIO_IN_7_TO_0_8733B)
#define BIT_SET_GPIO_IN_7_TO_0_8733B(x, v) (BIT_CLEAR_GPIO_IN_7_TO_0_8733B(x) | BIT_GPIO_IN_7_TO_0_8733B(v))

/* 2 REG_GPIO_INTM_8733B */

#define BIT_SHIFT_MUXDBG_SEL_8733B 30
#define BIT_MASK_MUXDBG_SEL_8733B 0x3
#define BIT_MUXDBG_SEL_8733B(x) (((x) & BIT_MASK_MUXDBG_SEL_8733B) << BIT_SHIFT_MUXDBG_SEL_8733B)
#define BITS_MUXDBG_SEL_8733B (BIT_MASK_MUXDBG_SEL_8733B << BIT_SHIFT_MUXDBG_SEL_8733B)
#define BIT_CLEAR_MUXDBG_SEL_8733B(x) ((x) & (~BITS_MUXDBG_SEL_8733B))
#define BIT_GET_MUXDBG_SEL_8733B(x) (((x) >> BIT_SHIFT_MUXDBG_SEL_8733B) & BIT_MASK_MUXDBG_SEL_8733B)
#define BIT_SET_MUXDBG_SEL_8733B(x, v) (BIT_CLEAR_MUXDBG_SEL_8733B(x) | BIT_MUXDBG_SEL_8733B(v))

#define BIT_PCI_LPS_LDO_ACT_8733B BIT(29)
#define BIT_GPIO_UART_O_8733B BIT(28)
#define BIT_GPIO_UART_E_8733B BIT(27)
#define BIT_GPIO8_HWD_PULL_8733B BIT(26)
#define BIT_UART_CTS_HWD_PULL_8733B BIT(25)
#define BIT_GPIO4_CLR_8733B BIT(24)
#define BIT_GPIO5_CLR_8733B BIT(23)
#define BIT_GPIO12_CLR_8733B BIT(22)
#define BIT_UART_CTS_PLY_8733B BIT(21)
#define BIT_BTGP_WAKE_EN_8733B BIT(20)
#define BIT_WLGP_WAKE_EN_8733B BIT(19)
#define BIT_DEVGP_WAKE_EN_8733B BIT(18)
#define BIT_EXTWOL0_SEL_8733B BIT(17)
#define BIT_EXTWOL0_EN_8733B BIT(16)
#define BIT_GPIOF_INT_MD_8733B BIT(15)
#define BIT_GPIOE_INT_MD_8733B BIT(14)
#define BIT_GPIOD_INT_MD_8733B BIT(13)
#define BIT_GPIOC_INT_MD_8733B BIT(12)
#define BIT_GPIOB_INT_MD_8733B BIT(11)
#define BIT_GPIOA_INT_MD_8733B BIT(10)
#define BIT_GPIO9_INT_MD_8733B BIT(9)
#define BIT_GPIO8_INT_MD_8733B BIT(8)
#define BIT_GPIO7_INT_MD_8733B BIT(7)
#define BIT_GPIO6_INT_MD_8733B BIT(6)
#define BIT_GPIO5_INT_MD_8733B BIT(5)
#define BIT_GPIO4_INT_MD_8733B BIT(4)
#define BIT_GPIO3_INT_MD_8733B BIT(3)
#define BIT_GPIO2_INT_MD_8733B BIT(2)
#define BIT_GPIO1_INT_MD_8733B BIT(1)
#define BIT_GPIO0_INT_MD_8733B BIT(0)

/* 2 REG_LED_CFG_8733B */

/* 2 REG_NOT_VALID_8733B */
#define BIT_HWD_OPT_SEL1_8733B BIT(30)
#define BIT_HWD_CTS_SEL_8733B BIT(29)
#define BIT_A4WP_SMT_8733B BIT(28)
#define BIT_GPIO161718_8733B BIT(27)
#define BIT_LNAON_SEL_EN_8733B BIT(26)
#define BIT_PAPE_SEL_EN_8733B BIT(25)
#define BIT_DPDT_WLBT_SEL_8733B BIT(24)
#define BIT_LED2DIS_8733B BIT(22)
#define BIT_LED2EN_8733B BIT(21)
#define BIT_LED2PL_8733B BIT(20)
#define BIT_LED2SV_8733B BIT(19)

#define BIT_SHIFT_LED2CM_8733B 16
#define BIT_MASK_LED2CM_8733B 0x7
#define BIT_LED2CM_8733B(x) (((x) & BIT_MASK_LED2CM_8733B) << BIT_SHIFT_LED2CM_8733B)
#define BITS_LED2CM_8733B (BIT_MASK_LED2CM_8733B << BIT_SHIFT_LED2CM_8733B)
#define BIT_CLEAR_LED2CM_8733B(x) ((x) & (~BITS_LED2CM_8733B))
#define BIT_GET_LED2CM_8733B(x) (((x) >> BIT_SHIFT_LED2CM_8733B) & BIT_MASK_LED2CM_8733B)
#define BIT_SET_LED2CM_8733B(x, v) (BIT_CLEAR_LED2CM_8733B(x) | BIT_LED2CM_8733B(v))

#define BIT_LED1DIS_8733B BIT(15)
#define BIT_LED1PL_8733B BIT(12)
#define BIT_LED1SV_8733B BIT(11)

#define BIT_SHIFT_LED1CM_8733B 8
#define BIT_MASK_LED1CM_8733B 0x7
#define BIT_LED1CM_8733B(x) (((x) & BIT_MASK_LED1CM_8733B) << BIT_SHIFT_LED1CM_8733B)
#define BITS_LED1CM_8733B (BIT_MASK_LED1CM_8733B << BIT_SHIFT_LED1CM_8733B)
#define BIT_CLEAR_LED1CM_8733B(x) ((x) & (~BITS_LED1CM_8733B))
#define BIT_GET_LED1CM_8733B(x) (((x) >> BIT_SHIFT_LED1CM_8733B) & BIT_MASK_LED1CM_8733B)
#define BIT_SET_LED1CM_8733B(x, v) (BIT_CLEAR_LED1CM_8733B(x) | BIT_LED1CM_8733B(v))

#define BIT_LED0DIS_8733B BIT(7)

#define BIT_SHIFT_AFE_LDO_SWR_CHECK_8733B 5
#define BIT_MASK_AFE_LDO_SWR_CHECK_8733B 0x3
#define BIT_AFE_LDO_SWR_CHECK_8733B(x) (((x) & BIT_MASK_AFE_LDO_SWR_CHECK_8733B) << BIT_SHIFT_AFE_LDO_SWR_CHECK_8733B)
#define BITS_AFE_LDO_SWR_CHECK_8733B (BIT_MASK_AFE_LDO_SWR_CHECK_8733B << BIT_SHIFT_AFE_LDO_SWR_CHECK_8733B)
#define BIT_CLEAR_AFE_LDO_SWR_CHECK_8733B(x) ((x) & (~BITS_AFE_LDO_SWR_CHECK_8733B))
#define BIT_GET_AFE_LDO_SWR_CHECK_8733B(x) (((x) >> BIT_SHIFT_AFE_LDO_SWR_CHECK_8733B) & BIT_MASK_AFE_LDO_SWR_CHECK_8733B)
#define BIT_SET_AFE_LDO_SWR_CHECK_8733B(x, v) (BIT_CLEAR_AFE_LDO_SWR_CHECK_8733B(x) | BIT_AFE_LDO_SWR_CHECK_8733B(v))

#define BIT_LED0PL_8733B BIT(4)
#define BIT_LED0SV_8733B BIT(3)

#define BIT_SHIFT_LED0CM_8733B 0
#define BIT_MASK_LED0CM_8733B 0x7
#define BIT_LED0CM_8733B(x) (((x) & BIT_MASK_LED0CM_8733B) << BIT_SHIFT_LED0CM_8733B)
#define BITS_LED0CM_8733B (BIT_MASK_LED0CM_8733B << BIT_SHIFT_LED0CM_8733B)
#define BIT_CLEAR_LED0CM_8733B(x) ((x) & (~BITS_LED0CM_8733B))
#define BIT_GET_LED0CM_8733B(x) (((x) >> BIT_SHIFT_LED0CM_8733B) & BIT_MASK_LED0CM_8733B)
#define BIT_SET_LED0CM_8733B(x, v) (BIT_CLEAR_LED0CM_8733B(x) | BIT_LED0CM_8733B(v))

/* 2 REG_FSIMR_8733B */
#define BIT_FS_PDNINT_EN_8733B BIT(31)
#define BIT_UART_CTS_INT_EN_8733B BIT(30)
#define BIT_FS_SPS_OCP_INT_EN_8733B BIT(29)
#define BIT_FS_PWMERR_INT_EN_8733B BIT(28)
#define BIT_FS_GPIOF_INT_EN_8733B BIT(27)
#define BIT_FS_GPIOE_INT_EN_8733B BIT(26)
#define BIT_FS_GPIOD_INT_EN_8733B BIT(25)
#define BIT_FS_GPIOC_INT_EN_8733B BIT(24)
#define BIT_FS_GPIOB_INT_EN_8733B BIT(23)
#define BIT_FS_GPIOA_INT_EN_8733B BIT(22)
#define BIT_FS_GPIO9_INT_EN_8733B BIT(21)
#define BIT_FS_GPIO8_INT_EN_8733B BIT(20)
#define BIT_FS_GPIO7_INT_EN_8733B BIT(19)
#define BIT_FS_GPIO6_INT_EN_8733B BIT(18)
#define BIT_FS_GPIO5_INT_EN_8733B BIT(17)
#define BIT_FS_GPIO4_INT_EN_8733B BIT(16)
#define BIT_FS_GPIO3_INT_EN_8733B BIT(15)
#define BIT_FS_GPIO2_INT_EN_8733B BIT(14)
#define BIT_FS_GPIO1_INT_EN_8733B BIT(13)
#define BIT_FS_GPIO0_INT_EN_8733B BIT(12)
#define BIT_FS_HCI_SUS_EN_8733B BIT(11)
#define BIT_FS_HCI_RES_EN_8733B BIT(10)
#define BIT_FS_HCI_RESET_EN_8733B BIT(9)
#define BIT_FS_BTON_STS_UPDATE_EN_8733B BIT(7)
#define BIT_SIDE_BAND_INT_EN_8733B BIT(6)
#define BIT_FS_TRPC_TO_INT_EN_8733B BIT(5)
#define BIT_FS_RPC_O_T_INT_EN_8733B BIT(4)
#define BIT_FS_32K_LEAVE_SETTING_EN_8733B BIT(3)
#define BIT_FS_32K_ENTER_SETTING_EN_8733B BIT(2)
#define BIT_FS_USB_LPMRSM_EN_8733B BIT(1)
#define BIT_FS_USB_LPMINT_EN_8733B BIT(0)

/* 2 REG_FSISR_8733B */
#define BIT_FS_PDNINT_8733B BIT(31)
#define BIT_UART_CTS_INT_8733B BIT(30)
#define BIT_FS_SPS_OCP_INT_8733B BIT(29)
#define BIT_FS_PWMERR_INT_8733B BIT(28)
#define BIT_FS_GPIOF_INT_8733B BIT(27)
#define BIT_FS_GPIOE_INT_8733B BIT(26)
#define BIT_FS_GPIOD_INT_8733B BIT(25)
#define BIT_FS_GPIOC_INT_8733B BIT(24)
#define BIT_FS_GPIOB_INT_8733B BIT(23)
#define BIT_FS_GPIOA_INT_8733B BIT(22)
#define BIT_FS_GPIO9_INT_8733B BIT(21)
#define BIT_FS_GPIO8_INT_8733B BIT(20)
#define BIT_FS_GPIO7_INT_8733B BIT(19)
#define BIT_FS_GPIO6_INT_8733B BIT(18)
#define BIT_FS_GPIO5_INT_8733B BIT(17)
#define BIT_FS_GPIO4_INT_8733B BIT(16)
#define BIT_FS_GPIO3_INT_8733B BIT(15)
#define BIT_FS_GPIO2_INT_8733B BIT(14)
#define BIT_FS_GPIO1_INT_8733B BIT(13)
#define BIT_FS_GPIO0_INT_8733B BIT(12)
#define BIT_FS_HCI_SUS_INT_8733B BIT(11)
#define BIT_FS_HCI_RES_INT_8733B BIT(10)
#define BIT_FS_HCI_RESET_INT_8733B BIT(9)
#define BIT_FS_BTON_STS_UPDATE_INT_8733B BIT(7)

/* 2 REG_NOT_VALID_8733B */
#define BIT_FS_TRPC_TO_INT_INT_8733B BIT(5)
#define BIT_FS_RPC_O_T_INT_INT_8733B BIT(4)
#define BIT_FS_32K_LEAVE_SETTING_INT_8733B BIT(3)
#define BIT_FS_32K_ENTER_SETTING_INT_8733B BIT(2)
#define BIT_FS_USB_LPMRSM_INT_8733B BIT(1)
#define BIT_FS_USB_LPMINT_INT_8733B BIT(0)

/* 2 REG_HSIMR_8733B */
#define BIT_GPIOF_INT_EN_8733B BIT(31)
#define BIT_GPIOE_INT_EN_8733B BIT(30)
#define BIT_GPIOD_INT_EN_8733B BIT(29)
#define BIT_GPIOC_INT_EN_8733B BIT(28)
#define BIT_GPIOB_INT_EN_8733B BIT(27)
#define BIT_GPIOA_INT_EN_8733B BIT(26)
#define BIT_GPIO9_INT_EN_8733B BIT(25)
#define BIT_GPIO8_INT_EN_8733B BIT(24)
#define BIT_GPIO7_INT_EN_8733B BIT(23)
#define BIT_GPIO6_INT_EN_8733B BIT(22)
#define BIT_GPIO5_INT_EN_8733B BIT(21)
#define BIT_GPIO4_INT_EN_8733B BIT(20)
#define BIT_GPIO3_INT_EN_8733B BIT(19)
#define BIT_GPIO2_INT_EN_8733B BIT(18)
#define BIT_GPIO1_INT_EN_8733B BIT(17)
#define BIT_GPIO0_INT_EN_8733B BIT(16)
#define BIT_PDNINT_EN_8733B BIT(7)
#define BIT_RON_INT_EN_8733B BIT(6)
#define BIT_SPS_OCP_INT_EN_8733B BIT(5)

/* 2 REG_NOT_VALID_8733B */
#define BIT_GPIO15_0_INT_EN_8733B BIT(0)

/* 2 REG_HSISR_8733B */
#define BIT_GPIOF_INT_8733B BIT(31)
#define BIT_GPIOE_INT_8733B BIT(30)
#define BIT_GPIOD_INT_8733B BIT(29)
#define BIT_GPIOC_INT_8733B BIT(28)
#define BIT_GPIOB_INT_8733B BIT(27)
#define BIT_GPIOA_INT_8733B BIT(26)
#define BIT_GPIO9_INT_8733B BIT(25)
#define BIT_GPIO8_INT_8733B BIT(24)
#define BIT_GPIO7_INT_8733B BIT(23)
#define BIT_GPIO6_INT_8733B BIT(22)
#define BIT_GPIO5_INT_8733B BIT(21)
#define BIT_GPIO4_INT_8733B BIT(20)
#define BIT_GPIO3_INT_8733B BIT(19)
#define BIT_GPIO2_INT_8733B BIT(18)
#define BIT_GPIO1_INT_8733B BIT(17)
#define BIT_GPIO0_INT_8733B BIT(16)
#define BIT_PDNINT_8733B BIT(7)
#define BIT_RON_INT_8733B BIT(6)
#define BIT_SPS_OCP_INT_8733B BIT(5)
#define BIT_VBAT_LOW_INT_8733B BIT(4)
#define BIT_GPIO15_0_INT_8733B BIT(0)

/* 2 REG_GPIO_EXT_CTRL_8733B */

#define BIT_SHIFT_GPIO_MOD_15_TO_8_8733B 24
#define BIT_MASK_GPIO_MOD_15_TO_8_8733B 0xff
#define BIT_GPIO_MOD_15_TO_8_8733B(x) (((x) & BIT_MASK_GPIO_MOD_15_TO_8_8733B) << BIT_SHIFT_GPIO_MOD_15_TO_8_8733B)
#define BITS_GPIO_MOD_15_TO_8_8733B (BIT_MASK_GPIO_MOD_15_TO_8_8733B << BIT_SHIFT_GPIO_MOD_15_TO_8_8733B)
#define BIT_CLEAR_GPIO_MOD_15_TO_8_8733B(x) ((x) & (~BITS_GPIO_MOD_15_TO_8_8733B))
#define BIT_GET_GPIO_MOD_15_TO_8_8733B(x) (((x) >> BIT_SHIFT_GPIO_MOD_15_TO_8_8733B) & BIT_MASK_GPIO_MOD_15_TO_8_8733B)
#define BIT_SET_GPIO_MOD_15_TO_8_8733B(x, v) (BIT_CLEAR_GPIO_MOD_15_TO_8_8733B(x) | BIT_GPIO_MOD_15_TO_8_8733B(v))

#define BIT_SHIFT_GPIO_IO_SEL_15_TO_8_8733B 16
#define BIT_MASK_GPIO_IO_SEL_15_TO_8_8733B 0xff
#define BIT_GPIO_IO_SEL_15_TO_8_8733B(x) (((x) & BIT_MASK_GPIO_IO_SEL_15_TO_8_8733B) << BIT_SHIFT_GPIO_IO_SEL_15_TO_8_8733B)
#define BITS_GPIO_IO_SEL_15_TO_8_8733B (BIT_MASK_GPIO_IO_SEL_15_TO_8_8733B << BIT_SHIFT_GPIO_IO_SEL_15_TO_8_8733B)
#define BIT_CLEAR_GPIO_IO_SEL_15_TO_8_8733B(x) ((x) & (~BITS_GPIO_IO_SEL_15_TO_8_8733B))
#define BIT_GET_GPIO_IO_SEL_15_TO_8_8733B(x) (((x) >> BIT_SHIFT_GPIO_IO_SEL_15_TO_8_8733B) & BIT_MASK_GPIO_IO_SEL_15_TO_8_8733B)
#define BIT_SET_GPIO_IO_SEL_15_TO_8_8733B(x, v) (BIT_CLEAR_GPIO_IO_SEL_15_TO_8_8733B(x) | BIT_GPIO_IO_SEL_15_TO_8_8733B(v))

#define BIT_SHIFT_GPIO_OUT_15_TO_8_8733B 8
#define BIT_MASK_GPIO_OUT_15_TO_8_8733B 0xff
#define BIT_GPIO_OUT_15_TO_8_8733B(x) (((x) & BIT_MASK_GPIO_OUT_15_TO_8_8733B) << BIT_SHIFT_GPIO_OUT_15_TO_8_8733B)
#define BITS_GPIO_OUT_15_TO_8_8733B (BIT_MASK_GPIO_OUT_15_TO_8_8733B << BIT_SHIFT_GPIO_OUT_15_TO_8_8733B)
#define BIT_CLEAR_GPIO_OUT_15_TO_8_8733B(x) ((x) & (~BITS_GPIO_OUT_15_TO_8_8733B))
#define BIT_GET_GPIO_OUT_15_TO_8_8733B(x) (((x) >> BIT_SHIFT_GPIO_OUT_15_TO_8_8733B) & BIT_MASK_GPIO_OUT_15_TO_8_8733B)
#define BIT_SET_GPIO_OUT_15_TO_8_8733B(x, v) (BIT_CLEAR_GPIO_OUT_15_TO_8_8733B(x) | BIT_GPIO_OUT_15_TO_8_8733B(v))

#define BIT_SHIFT_GPIO_IN_15_TO_8_8733B 0
#define BIT_MASK_GPIO_IN_15_TO_8_8733B 0xff
#define BIT_GPIO_IN_15_TO_8_8733B(x) (((x) & BIT_MASK_GPIO_IN_15_TO_8_8733B) << BIT_SHIFT_GPIO_IN_15_TO_8_8733B)
#define BITS_GPIO_IN_15_TO_8_8733B (BIT_MASK_GPIO_IN_15_TO_8_8733B << BIT_SHIFT_GPIO_IN_15_TO_8_8733B)
#define BIT_CLEAR_GPIO_IN_15_TO_8_8733B(x) ((x) & (~BITS_GPIO_IN_15_TO_8_8733B))
#define BIT_GET_GPIO_IN_15_TO_8_8733B(x) (((x) >> BIT_SHIFT_GPIO_IN_15_TO_8_8733B) & BIT_MASK_GPIO_IN_15_TO_8_8733B)
#define BIT_SET_GPIO_IN_15_TO_8_8733B(x, v) (BIT_CLEAR_GPIO_IN_15_TO_8_8733B(x) | BIT_GPIO_IN_15_TO_8_8733B(v))

/* 2 REG_PAD_CTRL1_8733B */
#define BIT_BT_BTG_SEL_8733B BIT(31)
#define BIT_BT_SWGPIO_SEL_8733B BIT(29)
#define BIT_BT_SWGPIO89_1_EN_8733B BIT(28)
#define BIT_BT_SWGPIO_3DGLEN_8733B BIT(27)
#define BIT_BT_SWGPIO89_EN_8733B BIT(26)
#define BIT_BT_SWGPIO10_EN_8733B BIT(25)
#define BIT_BTGP_JTAG_EN_8733B BIT(24)
#define BIT_XTAL_CLK_EXTARNAL_EN_8733B BIT(23)
#define BIT_BTGP_UART0_EN_8733B BIT(22)
#define BIT_SDIO_SUS_DIS_LD15_8733B BIT(21)
#define BIT_BTGP_SPI_EN_8733B BIT(20)
#define BIT_BTGP_GPIO_E2_8733B BIT(19)
#define BIT_BTGP_GPIO_EN_8733B BIT(18)

#define BIT_SHIFT_BTGP_GPIO_FSL_8733B 16
#define BIT_MASK_BTGP_GPIO_FSL_8733B 0x3
#define BIT_BTGP_GPIO_FSL_8733B(x) (((x) & BIT_MASK_BTGP_GPIO_FSL_8733B) << BIT_SHIFT_BTGP_GPIO_FSL_8733B)
#define BITS_BTGP_GPIO_FSL_8733B (BIT_MASK_BTGP_GPIO_FSL_8733B << BIT_SHIFT_BTGP_GPIO_FSL_8733B)
#define BIT_CLEAR_BTGP_GPIO_FSL_8733B(x) ((x) & (~BITS_BTGP_GPIO_FSL_8733B))
#define BIT_GET_BTGP_GPIO_FSL_8733B(x) (((x) >> BIT_SHIFT_BTGP_GPIO_FSL_8733B) & BIT_MASK_BTGP_GPIO_FSL_8733B)
#define BIT_SET_BTGP_GPIO_FSL_8733B(x, v) (BIT_CLEAR_BTGP_GPIO_FSL_8733B(x) | BIT_BTGP_GPIO_FSL_8733B(v))

#define BIT_PDN_FSM_WAIT_8733B BIT(15)
#define BIT_PAD_SDIO_SR_8733B BIT(14)
#define BIT_GPIO15_OUTPUT_PL_8733B BIT(13)
#define BIT_HOST_WAKE_PAD_PULL_EN_8733B BIT(12)
#define BIT_HOST_WAKE_PAD_SL_8733B BIT(11)
#define BIT_PAD_LNAON_SR_8733B BIT(10)
#define BIT_PAD_LNAON_E2_8733B BIT(9)
#define BIT_SW_LNAON_G_SEL_DATA_8733B BIT(8)
#define BIT_SW_LNAON_A_SEL_DATA_8733B BIT(7)
#define BIT_PAD_PAPE_SR_8733B BIT(6)
#define BIT_PAD_PAPE_E2_8733B BIT(5)
#define BIT_SW_PAPE_G_SEL_DATA_8733B BIT(4)
#define BIT_SW_PAPE_A_SEL_DATA_8733B BIT(3)
#define BIT_PAD_DPDT_SR_8733B BIT(2)
#define BIT_PAD_DPDT_PAD_E2_8733B BIT(1)
#define BIT_SW_DPDT_SEL_DATA_8733B BIT(0)

/* 2 REG_WL_BT_PWR_CTRL_8733B */
#define BIT_ISO_BD2PP_8733B BIT(31)

/* 2 REG_NOT_VALID_8733B */
#define BIT_CKEN_BTGPS_8733B BIT(29)
#define BIT_FEN_BTGPS_8733B BIT(28)
#define BIT_BTCPU_BOOTSEL_8733B BIT(27)
#define BIT_SPI_SPEEDUP_8733B BIT(26)
#define BIT_BTPLL_LDO_MODE_8733B BIT(25)
#define BIT_DEVWAKE_PAD_TYPE_SEL_8733B BIT(24)
#define BIT_CLKREQ_PAD_TYPE_SEL_8733B BIT(23)
#define BIT_WL_RTS_EXT_32K_SEL_8733B BIT(22)
#define BIT_BT_HWROF_EN_8733B BIT(19)
#define BIT_BT_FUNC_EN_8733B BIT(18)
#define BIT_BT_HWPDN_SL_8733B BIT(17)
#define BIT_BT_DISN_EN_8733B BIT(16)
#define BIT_BT_PDN_PULL_EN_8733B BIT(15)
#define BIT_WL_PDN_PULL_EN_8733B BIT(14)
#define BIT_EXTERNAL_REQUEST_PL_8733B BIT(13)
#define BIT_GPIO0_2_3_PULL_LOW_EN_8733B BIT(12)
#define BIT_ISO_BA2PP_8733B BIT(11)
#define BIT_BT_AFE_LDO_EN_8733B BIT(10)
#define BIT_BT_AFE_PLL_EN_8733B BIT(9)
#define BIT_BT_DIG_CLK_EN_8733B BIT(8)
#define BIT_EEPROM_PD_8733B BIT(7)
#define BIT_TESTMOD_PD_8733B BIT(6)
#define BIT_UARTSEL_PD_8733B BIT(5)
#define BIT_BIT_DOP_EHPAD_8733B BIT(4)
#define BIT_WL_HWROF_EN_8733B BIT(3)
#define BIT_WL_FUNC_EN_8733B BIT(2)
#define BIT_WL_HWPDN_SL_8733B BIT(1)
#define BIT_WL_HWPDN_EN_8733B BIT(0)

/* 2 REG_BT_SCAN_MISC_8733B */
#define BIT_SCAN_BT_PLL_LDO_8733B BIT(3)
#define BIT_SCAN_BT_ADDA_LDO_8733B BIT(2)
#define BIT_SCAN_BT_AFELDO_PC_8733B BIT(1)
#define BIT_SCAN_BT_AFEPLL_8733B BIT(0)

/* 2 REG_SYS_SDIO_CTRL_8733B */
#define BIT_SW_GNT_WL_8733B BIT(31)
#define BIT_SW_GNT_BT_RFC_8733B BIT(30)
#define BIT_SW_GNT_BT_BB_8733B BIT(29)
#define BIT_SW_CTRL_BTCOEX_8733B BIT(28)
#define BIT_LTE_MUX_CTRL_PATH_8733B BIT(26)
#define BIT_SDIO_ON_HWPDN_EN_8733B BIT(20)
#define BIT_SDIO_INT_POLARITY_8733B BIT(19)
#define BIT_SDIO_INT_8733B BIT(18)
#define BIT_SDIO_OFF_EN_8733B BIT(17)
#define BIT_SDIO_ON_EN_8733B BIT(16)

/* 2 REG_NOT_VALID_8733B */
#define BIT_PCIERR_SUS_8733B BIT(10)
#define BIT_PCI_PLL_ERR_8733B BIT(9)

/* 2 REG_HCI_OPT_CTRL_8733B */

#define BIT_SHIFT_RFC1_EN_8733B 24
#define BIT_MASK_RFC1_EN_8733B 0xff
#define BIT_RFC1_EN_8733B(x) (((x) & BIT_MASK_RFC1_EN_8733B) << BIT_SHIFT_RFC1_EN_8733B)
#define BITS_RFC1_EN_8733B (BIT_MASK_RFC1_EN_8733B << BIT_SHIFT_RFC1_EN_8733B)
#define BIT_CLEAR_RFC1_EN_8733B(x) ((x) & (~BITS_RFC1_EN_8733B))
#define BIT_GET_RFC1_EN_8733B(x) (((x) >> BIT_SHIFT_RFC1_EN_8733B) & BIT_MASK_RFC1_EN_8733B)
#define BIT_SET_RFC1_EN_8733B(x, v) (BIT_CLEAR_RFC1_EN_8733B(x) | BIT_RFC1_EN_8733B(v))

#define BIT_USB2_ALDO_ACT_8733B BIT(21)
#define BIT_SDIO_SMT_8733B BIT(20)
#define BIT_SDIO_H3L1_8733B BIT(19)
#define BIT_SDIO_PAD_E5_8733B BIT(18)
#define BIT_NO_PWR_SEL_8733B BIT(13)
#define BIT_USB_HOST_PWR_OFF_EN_8733B BIT(12)
#define BIT_SYM_LPS_BLOCK_EN_8733B BIT(11)
#define BIT_USB_LPM_ACT_EN_8733B BIT(10)
#define BIT_USB_LPM_NY_8733B BIT(9)
#define BIT_USB_SUS_DIS_8733B BIT(8)
#define BIT_SDIO_PAD_E2_8733B BIT(7)

#define BIT_SHIFT_SDIO_PAD_E_8733B 5
#define BIT_MASK_SDIO_PAD_E_8733B 0x3
#define BIT_SDIO_PAD_E_8733B(x) (((x) & BIT_MASK_SDIO_PAD_E_8733B) << BIT_SHIFT_SDIO_PAD_E_8733B)
#define BITS_SDIO_PAD_E_8733B (BIT_MASK_SDIO_PAD_E_8733B << BIT_SHIFT_SDIO_PAD_E_8733B)
#define BIT_CLEAR_SDIO_PAD_E_8733B(x) ((x) & (~BITS_SDIO_PAD_E_8733B))
#define BIT_GET_SDIO_PAD_E_8733B(x) (((x) >> BIT_SHIFT_SDIO_PAD_E_8733B) & BIT_MASK_SDIO_PAD_E_8733B)
#define BIT_SET_SDIO_PAD_E_8733B(x, v) (BIT_CLEAR_SDIO_PAD_E_8733B(x) | BIT_SDIO_PAD_E_8733B(v))

#define BIT_USB_LPPLL_EN_8733B BIT(4)
#define BIT_ROP_SW15_8733B BIT(2)
#define BIT_PCI_CKRDY_OPT_8733B BIT(1)
#define BIT_PCI_VAUX_EN_8733B BIT(0)

/* 2 REG_EFUSE_FW_SECURE_CTRL_8733B */
#define BIT_EF_SEC_COMP_RESULT_8733B BIT(27)

#define BIT_SHIFT_EF_SEC_COMPARE_DATA_8733B 0
#define BIT_MASK_EF_SEC_COMPARE_DATA_8733B 0xffff
#define BIT_EF_SEC_COMPARE_DATA_8733B(x) (((x) & BIT_MASK_EF_SEC_COMPARE_DATA_8733B) << BIT_SHIFT_EF_SEC_COMPARE_DATA_8733B)
#define BITS_EF_SEC_COMPARE_DATA_8733B (BIT_MASK_EF_SEC_COMPARE_DATA_8733B << BIT_SHIFT_EF_SEC_COMPARE_DATA_8733B)
#define BIT_CLEAR_EF_SEC_COMPARE_DATA_8733B(x) ((x) & (~BITS_EF_SEC_COMPARE_DATA_8733B))
#define BIT_GET_EF_SEC_COMPARE_DATA_8733B(x) (((x) >> BIT_SHIFT_EF_SEC_COMPARE_DATA_8733B) & BIT_MASK_EF_SEC_COMPARE_DATA_8733B)
#define BIT_SET_EF_SEC_COMPARE_DATA_8733B(x, v) (BIT_CLEAR_EF_SEC_COMPARE_DATA_8733B(x) | BIT_EF_SEC_COMPARE_DATA_8733B(v))

/* 2 REG_LDO_SWR_CTRL_8733B */
#define BIT_R_SYM_CHG_ZCD_INIT_VAL_8733B BIT(28)
#define BIT_R_SYM_ZCD_HW_AUTO_EN_8733B BIT(27)
#define BIT_R_SYM_ZCD_REG_SEL_8733B BIT(26)

#define BIT_SHIFT_AUTO_ZCD_IN_CODE_8733B 21
#define BIT_MASK_AUTO_ZCD_IN_CODE_8733B 0x1f
#define BIT_AUTO_ZCD_IN_CODE_8733B(x) (((x) & BIT_MASK_AUTO_ZCD_IN_CODE_8733B) << BIT_SHIFT_AUTO_ZCD_IN_CODE_8733B)
#define BITS_AUTO_ZCD_IN_CODE_8733B (BIT_MASK_AUTO_ZCD_IN_CODE_8733B << BIT_SHIFT_AUTO_ZCD_IN_CODE_8733B)
#define BIT_CLEAR_AUTO_ZCD_IN_CODE_8733B(x) ((x) & (~BITS_AUTO_ZCD_IN_CODE_8733B))
#define BIT_GET_AUTO_ZCD_IN_CODE_8733B(x) (((x) >> BIT_SHIFT_AUTO_ZCD_IN_CODE_8733B) & BIT_MASK_AUTO_ZCD_IN_CODE_8733B)
#define BIT_SET_AUTO_ZCD_IN_CODE_8733B(x, v) (BIT_CLEAR_AUTO_ZCD_IN_CODE_8733B(x) | BIT_AUTO_ZCD_IN_CODE_8733B(v))

#define BIT_SHIFT_REG_ZCD_CODE_IN_L_8733B 16
#define BIT_MASK_REG_ZCD_CODE_IN_L_8733B 0x1f
#define BIT_REG_ZCD_CODE_IN_L_8733B(x) (((x) & BIT_MASK_REG_ZCD_CODE_IN_L_8733B) << BIT_SHIFT_REG_ZCD_CODE_IN_L_8733B)
#define BITS_REG_ZCD_CODE_IN_L_8733B (BIT_MASK_REG_ZCD_CODE_IN_L_8733B << BIT_SHIFT_REG_ZCD_CODE_IN_L_8733B)
#define BIT_CLEAR_REG_ZCD_CODE_IN_L_8733B(x) ((x) & (~BITS_REG_ZCD_CODE_IN_L_8733B))
#define BIT_GET_REG_ZCD_CODE_IN_L_8733B(x) (((x) >> BIT_SHIFT_REG_ZCD_CODE_IN_L_8733B) & BIT_MASK_REG_ZCD_CODE_IN_L_8733B)
#define BIT_SET_REG_ZCD_CODE_IN_L_8733B(x, v) (BIT_CLEAR_REG_ZCD_CODE_IN_L_8733B(x) | BIT_REG_ZCD_CODE_IN_L_8733B(v))

/* 2 REG_MCUFW_CTRL_8733B */

#define BIT_SHIFT_RPWM_8733B 24
#define BIT_MASK_RPWM_8733B 0xff
#define BIT_RPWM_8733B(x) (((x) & BIT_MASK_RPWM_8733B) << BIT_SHIFT_RPWM_8733B)
#define BITS_RPWM_8733B (BIT_MASK_RPWM_8733B << BIT_SHIFT_RPWM_8733B)
#define BIT_CLEAR_RPWM_8733B(x) ((x) & (~BITS_RPWM_8733B))
#define BIT_GET_RPWM_8733B(x) (((x) >> BIT_SHIFT_RPWM_8733B) & BIT_MASK_RPWM_8733B)
#define BIT_SET_RPWM_8733B(x, v) (BIT_CLEAR_RPWM_8733B(x) | BIT_RPWM_8733B(v))

#define BIT_CPRST_8733B BIT(23)
#define BIT_ANA_PORT_EN_8733B BIT(22)
#define BIT_MAC_PORT_EN_8733B BIT(21)
#define BIT_BOOT_FSPI_EN_8733B BIT(20)
#define BIT_ROM_DLEN_8733B BIT(19)

#define BIT_SHIFT_ROM_PGE_8733B 16
#define BIT_MASK_ROM_PGE_8733B 0x7
#define BIT_ROM_PGE_8733B(x) (((x) & BIT_MASK_ROM_PGE_8733B) << BIT_SHIFT_ROM_PGE_8733B)
#define BITS_ROM_PGE_8733B (BIT_MASK_ROM_PGE_8733B << BIT_SHIFT_ROM_PGE_8733B)
#define BIT_CLEAR_ROM_PGE_8733B(x) ((x) & (~BITS_ROM_PGE_8733B))
#define BIT_GET_ROM_PGE_8733B(x) (((x) >> BIT_SHIFT_ROM_PGE_8733B) & BIT_MASK_ROM_PGE_8733B)
#define BIT_SET_ROM_PGE_8733B(x, v) (BIT_CLEAR_ROM_PGE_8733B(x) | BIT_ROM_PGE_8733B(v))

#define BIT_FW_INIT_RDY_8733B BIT(15)
#define BIT_FW_DW_RDY_8733B BIT(14)

#define BIT_SHIFT_CPU_CLK_SEL_8733B 12
#define BIT_MASK_CPU_CLK_SEL_8733B 0x3
#define BIT_CPU_CLK_SEL_8733B(x) (((x) & BIT_MASK_CPU_CLK_SEL_8733B) << BIT_SHIFT_CPU_CLK_SEL_8733B)
#define BITS_CPU_CLK_SEL_8733B (BIT_MASK_CPU_CLK_SEL_8733B << BIT_SHIFT_CPU_CLK_SEL_8733B)
#define BIT_CLEAR_CPU_CLK_SEL_8733B(x) ((x) & (~BITS_CPU_CLK_SEL_8733B))
#define BIT_GET_CPU_CLK_SEL_8733B(x) (((x) >> BIT_SHIFT_CPU_CLK_SEL_8733B) & BIT_MASK_CPU_CLK_SEL_8733B)
#define BIT_SET_CPU_CLK_SEL_8733B(x, v) (BIT_CLEAR_CPU_CLK_SEL_8733B(x) | BIT_CPU_CLK_SEL_8733B(v))

#define BIT_ANA_PORT_IDLE_8733B BIT(11)
#define BIT_MAC_PORT_IDLE_8733B BIT(10)

/* 2 REG_NOT_VALID_8733B */
#define BIT_EMEM_CHKSUM_OK_8733B BIT(8)
#define BIT_EMEM_DW_OK_8733B BIT(7)
#define BIT_DMEM_CHKSUM_OK_8733B BIT(6)
#define BIT_DMEM_DW_OK_8733B BIT(5)
#define BIT_IMEM_CHKSUM_OK_8733B BIT(4)
#define BIT_IMEM_DW_OK_8733B BIT(3)
#define BIT_IMEM_BOOT_LOAD_CHKSUM_OK_8733B BIT(2)
#define BIT_IMEM_BOOT_LOAD_DW_OK_8733B BIT(1)
#define BIT_MCUFWDL_EN_8733B BIT(0)

/* 2 REG_MCU_TST_CFG_8733B */

#define BIT_SHIFT_LBKTST_8733B 0
#define BIT_MASK_LBKTST_8733B 0xffff
#define BIT_LBKTST_8733B(x) (((x) & BIT_MASK_LBKTST_8733B) << BIT_SHIFT_LBKTST_8733B)
#define BITS_LBKTST_8733B (BIT_MASK_LBKTST_8733B << BIT_SHIFT_LBKTST_8733B)
#define BIT_CLEAR_LBKTST_8733B(x) ((x) & (~BITS_LBKTST_8733B))
#define BIT_GET_LBKTST_8733B(x) (((x) >> BIT_SHIFT_LBKTST_8733B) & BIT_MASK_LBKTST_8733B)
#define BIT_SET_LBKTST_8733B(x, v) (BIT_CLEAR_LBKTST_8733B(x) | BIT_LBKTST_8733B(v))

/* 2 REG_HMEBOX_E0_E1_8733B */

#define BIT_SHIFT_HOST_MSG_E1_8733B 16
#define BIT_MASK_HOST_MSG_E1_8733B 0xffff
#define BIT_HOST_MSG_E1_8733B(x) (((x) & BIT_MASK_HOST_MSG_E1_8733B) << BIT_SHIFT_HOST_MSG_E1_8733B)
#define BITS_HOST_MSG_E1_8733B (BIT_MASK_HOST_MSG_E1_8733B << BIT_SHIFT_HOST_MSG_E1_8733B)
#define BIT_CLEAR_HOST_MSG_E1_8733B(x) ((x) & (~BITS_HOST_MSG_E1_8733B))
#define BIT_GET_HOST_MSG_E1_8733B(x) (((x) >> BIT_SHIFT_HOST_MSG_E1_8733B) & BIT_MASK_HOST_MSG_E1_8733B)
#define BIT_SET_HOST_MSG_E1_8733B(x, v) (BIT_CLEAR_HOST_MSG_E1_8733B(x) | BIT_HOST_MSG_E1_8733B(v))

#define BIT_SHIFT_HOST_MSG_E0_8733B 0
#define BIT_MASK_HOST_MSG_E0_8733B 0xffff
#define BIT_HOST_MSG_E0_8733B(x) (((x) & BIT_MASK_HOST_MSG_E0_8733B) << BIT_SHIFT_HOST_MSG_E0_8733B)
#define BITS_HOST_MSG_E0_8733B (BIT_MASK_HOST_MSG_E0_8733B << BIT_SHIFT_HOST_MSG_E0_8733B)
#define BIT_CLEAR_HOST_MSG_E0_8733B(x) ((x) & (~BITS_HOST_MSG_E0_8733B))
#define BIT_GET_HOST_MSG_E0_8733B(x) (((x) >> BIT_SHIFT_HOST_MSG_E0_8733B) & BIT_MASK_HOST_MSG_E0_8733B)
#define BIT_SET_HOST_MSG_E0_8733B(x, v) (BIT_CLEAR_HOST_MSG_E0_8733B(x) | BIT_HOST_MSG_E0_8733B(v))

/* 2 REG_HMEBOX_E2_E3_8733B */

#define BIT_SHIFT_HOST_MSG_E3_8733B 16
#define BIT_MASK_HOST_MSG_E3_8733B 0xffff
#define BIT_HOST_MSG_E3_8733B(x) (((x) & BIT_MASK_HOST_MSG_E3_8733B) << BIT_SHIFT_HOST_MSG_E3_8733B)
#define BITS_HOST_MSG_E3_8733B (BIT_MASK_HOST_MSG_E3_8733B << BIT_SHIFT_HOST_MSG_E3_8733B)
#define BIT_CLEAR_HOST_MSG_E3_8733B(x) ((x) & (~BITS_HOST_MSG_E3_8733B))
#define BIT_GET_HOST_MSG_E3_8733B(x) (((x) >> BIT_SHIFT_HOST_MSG_E3_8733B) & BIT_MASK_HOST_MSG_E3_8733B)
#define BIT_SET_HOST_MSG_E3_8733B(x, v) (BIT_CLEAR_HOST_MSG_E3_8733B(x) | BIT_HOST_MSG_E3_8733B(v))

#define BIT_SHIFT_HOST_MSG_E2_8733B 0
#define BIT_MASK_HOST_MSG_E2_8733B 0xffff
#define BIT_HOST_MSG_E2_8733B(x) (((x) & BIT_MASK_HOST_MSG_E2_8733B) << BIT_SHIFT_HOST_MSG_E2_8733B)
#define BITS_HOST_MSG_E2_8733B (BIT_MASK_HOST_MSG_E2_8733B << BIT_SHIFT_HOST_MSG_E2_8733B)
#define BIT_CLEAR_HOST_MSG_E2_8733B(x) ((x) & (~BITS_HOST_MSG_E2_8733B))
#define BIT_GET_HOST_MSG_E2_8733B(x) (((x) >> BIT_SHIFT_HOST_MSG_E2_8733B) & BIT_MASK_HOST_MSG_E2_8733B)
#define BIT_SET_HOST_MSG_E2_8733B(x, v) (BIT_CLEAR_HOST_MSG_E2_8733B(x) | BIT_HOST_MSG_E2_8733B(v))

/* 2 REG_WLLPS_CTRL_8733B */
#define BIT_WLLPSOP_EABM_8733B BIT(31)
#define BIT_WLLPSOP_ACKF_8733B BIT(30)
#define BIT_WLLPSOP_DLDM_8733B BIT(29)
#define BIT_WLLPSOP_ESWR_8733B BIT(28)
#define BIT_WLLPSOP_PWMM_8733B BIT(27)
#define BIT_WLLPSOP_EECK_8733B BIT(26)
#define BIT_WLLPS_LDO_STEP_8733B BIT(25)
#define BIT_WLLPSOP_EXTAL_8733B BIT(24)
#define BIT_WLLPSOP_EXTAL_LPS_8733B BIT(20)
#define BIT_WL_LPS_MEMPM_EN_8733B BIT(19)
#define BIT_WLLPSOP_WPLN_8733B BIT(17)
#define BIT_WLPOF_POWOF_8733B BIT(16)
#define BIT_WL_OPT_PON_DA_8733B BIT(15)
#define BIT_WLLPSOP_WLDO_VOLT_8733B BIT(14)
#define BIT_WLLPSOP_ALDM_8733B BIT(13)
#define BIT_WLLPSOP_LDOM_8733B BIT(12)
#define BIT_WLLPSOP_ELLD_8733B BIT(11)
#define BIT_WLLPSOP_WT_CPU_SLP_8733B BIT(10)
#define BIT_WLLPSOP_SKIP_CG_8733B BIT(9)
#define BIT_WLLPSOP_SD1_ON_8733B BIT(8)
#define BIT_LPSOP_HCIM_8733B BIT(7)
#define BIT_LPSOP_SHCI_8733B BIT(6)
#define BIT_WL_LPS_EN_8733B BIT(0)

/* 2 REG_MEM_POW_CTRL_8733B */

#define BIT_SHIFT_USB_SUS_MEMPM_SEL_8733B 22
#define BIT_MASK_USB_SUS_MEMPM_SEL_8733B 0x3
#define BIT_USB_SUS_MEMPM_SEL_8733B(x) (((x) & BIT_MASK_USB_SUS_MEMPM_SEL_8733B) << BIT_SHIFT_USB_SUS_MEMPM_SEL_8733B)
#define BITS_USB_SUS_MEMPM_SEL_8733B (BIT_MASK_USB_SUS_MEMPM_SEL_8733B << BIT_SHIFT_USB_SUS_MEMPM_SEL_8733B)
#define BIT_CLEAR_USB_SUS_MEMPM_SEL_8733B(x) ((x) & (~BITS_USB_SUS_MEMPM_SEL_8733B))
#define BIT_GET_USB_SUS_MEMPM_SEL_8733B(x) (((x) >> BIT_SHIFT_USB_SUS_MEMPM_SEL_8733B) & BIT_MASK_USB_SUS_MEMPM_SEL_8733B)
#define BIT_SET_USB_SUS_MEMPM_SEL_8733B(x, v) (BIT_CLEAR_USB_SUS_MEMPM_SEL_8733B(x) | BIT_USB_SUS_MEMPM_SEL_8733B(v))

#define BIT_SHIFT_WL_LPS_MEMPM_WLOFF_8733B 16
#define BIT_MASK_WL_LPS_MEMPM_WLOFF_8733B 0x3f
#define BIT_WL_LPS_MEMPM_WLOFF_8733B(x) (((x) & BIT_MASK_WL_LPS_MEMPM_WLOFF_8733B) << BIT_SHIFT_WL_LPS_MEMPM_WLOFF_8733B)
#define BITS_WL_LPS_MEMPM_WLOFF_8733B (BIT_MASK_WL_LPS_MEMPM_WLOFF_8733B << BIT_SHIFT_WL_LPS_MEMPM_WLOFF_8733B)
#define BIT_CLEAR_WL_LPS_MEMPM_WLOFF_8733B(x) ((x) & (~BITS_WL_LPS_MEMPM_WLOFF_8733B))
#define BIT_GET_WL_LPS_MEMPM_WLOFF_8733B(x) (((x) >> BIT_SHIFT_WL_LPS_MEMPM_WLOFF_8733B) & BIT_MASK_WL_LPS_MEMPM_WLOFF_8733B)
#define BIT_SET_WL_LPS_MEMPM_WLOFF_8733B(x, v) (BIT_CLEAR_WL_LPS_MEMPM_WLOFF_8733B(x) | BIT_WL_LPS_MEMPM_WLOFF_8733B(v))

#define BIT_SHIFT_WL_LPS_MEMPM_WLPON_8733B 0
#define BIT_MASK_WL_LPS_MEMPM_WLPON_8733B 0x3fff
#define BIT_WL_LPS_MEMPM_WLPON_8733B(x) (((x) & BIT_MASK_WL_LPS_MEMPM_WLPON_8733B) << BIT_SHIFT_WL_LPS_MEMPM_WLPON_8733B)
#define BITS_WL_LPS_MEMPM_WLPON_8733B (BIT_MASK_WL_LPS_MEMPM_WLPON_8733B << BIT_SHIFT_WL_LPS_MEMPM_WLPON_8733B)
#define BIT_CLEAR_WL_LPS_MEMPM_WLPON_8733B(x) ((x) & (~BITS_WL_LPS_MEMPM_WLPON_8733B))
#define BIT_GET_WL_LPS_MEMPM_WLPON_8733B(x) (((x) >> BIT_SHIFT_WL_LPS_MEMPM_WLPON_8733B) & BIT_MASK_WL_LPS_MEMPM_WLPON_8733B)
#define BIT_SET_WL_LPS_MEMPM_WLPON_8733B(x, v) (BIT_CLEAR_WL_LPS_MEMPM_WLPON_8733B(x) | BIT_WL_LPS_MEMPM_WLPON_8733B(v))

/* 2 REG_GPIO_DEBOUNCE_CTRL_8733B */
#define BIT_WLGP_DBC1EN_8733B BIT(15)

#define BIT_SHIFT_WLGP_DBC1_8733B 8
#define BIT_MASK_WLGP_DBC1_8733B 0xf
#define BIT_WLGP_DBC1_8733B(x) (((x) & BIT_MASK_WLGP_DBC1_8733B) << BIT_SHIFT_WLGP_DBC1_8733B)
#define BITS_WLGP_DBC1_8733B (BIT_MASK_WLGP_DBC1_8733B << BIT_SHIFT_WLGP_DBC1_8733B)
#define BIT_CLEAR_WLGP_DBC1_8733B(x) ((x) & (~BITS_WLGP_DBC1_8733B))
#define BIT_GET_WLGP_DBC1_8733B(x) (((x) >> BIT_SHIFT_WLGP_DBC1_8733B) & BIT_MASK_WLGP_DBC1_8733B)
#define BIT_SET_WLGP_DBC1_8733B(x, v) (BIT_CLEAR_WLGP_DBC1_8733B(x) | BIT_WLGP_DBC1_8733B(v))

#define BIT_WLGP_DBC0EN_8733B BIT(7)

#define BIT_SHIFT_WLGP_DBC0_8733B 0
#define BIT_MASK_WLGP_DBC0_8733B 0xf
#define BIT_WLGP_DBC0_8733B(x) (((x) & BIT_MASK_WLGP_DBC0_8733B) << BIT_SHIFT_WLGP_DBC0_8733B)
#define BITS_WLGP_DBC0_8733B (BIT_MASK_WLGP_DBC0_8733B << BIT_SHIFT_WLGP_DBC0_8733B)
#define BIT_CLEAR_WLGP_DBC0_8733B(x) ((x) & (~BITS_WLGP_DBC0_8733B))
#define BIT_GET_WLGP_DBC0_8733B(x) (((x) >> BIT_SHIFT_WLGP_DBC0_8733B) & BIT_MASK_WLGP_DBC0_8733B)
#define BIT_SET_WLGP_DBC0_8733B(x, v) (BIT_CLEAR_WLGP_DBC0_8733B(x) | BIT_WLGP_DBC0_8733B(v))

/* 2 REG_RPWM2_8733B */

#define BIT_SHIFT_RPWM2_8733B 16
#define BIT_MASK_RPWM2_8733B 0xffff
#define BIT_RPWM2_8733B(x) (((x) & BIT_MASK_RPWM2_8733B) << BIT_SHIFT_RPWM2_8733B)
#define BITS_RPWM2_8733B (BIT_MASK_RPWM2_8733B << BIT_SHIFT_RPWM2_8733B)
#define BIT_CLEAR_RPWM2_8733B(x) ((x) & (~BITS_RPWM2_8733B))
#define BIT_GET_RPWM2_8733B(x) (((x) >> BIT_SHIFT_RPWM2_8733B) & BIT_MASK_RPWM2_8733B)
#define BIT_SET_RPWM2_8733B(x, v) (BIT_CLEAR_RPWM2_8733B(x) | BIT_RPWM2_8733B(v))

/* 2 REG_SYSON_FSM_MON_8733B */

#define BIT_SHIFT_FSM_MON_SEL_8733B 24
#define BIT_MASK_FSM_MON_SEL_8733B 0x7
#define BIT_FSM_MON_SEL_8733B(x) (((x) & BIT_MASK_FSM_MON_SEL_8733B) << BIT_SHIFT_FSM_MON_SEL_8733B)
#define BITS_FSM_MON_SEL_8733B (BIT_MASK_FSM_MON_SEL_8733B << BIT_SHIFT_FSM_MON_SEL_8733B)
#define BIT_CLEAR_FSM_MON_SEL_8733B(x) ((x) & (~BITS_FSM_MON_SEL_8733B))
#define BIT_GET_FSM_MON_SEL_8733B(x) (((x) >> BIT_SHIFT_FSM_MON_SEL_8733B) & BIT_MASK_FSM_MON_SEL_8733B)
#define BIT_SET_FSM_MON_SEL_8733B(x, v) (BIT_CLEAR_FSM_MON_SEL_8733B(x) | BIT_FSM_MON_SEL_8733B(v))

#define BIT_DOP_ELDO_WL_8733B BIT(23)
#define BIT_DOP_ELDO_BT_8733B BIT(22)
#define BIT_FSM_MON_UPD_8733B BIT(15)

#define BIT_SHIFT_FSM_PAR_8733B 0
#define BIT_MASK_FSM_PAR_8733B 0x7fff
#define BIT_FSM_PAR_8733B(x) (((x) & BIT_MASK_FSM_PAR_8733B) << BIT_SHIFT_FSM_PAR_8733B)
#define BITS_FSM_PAR_8733B (BIT_MASK_FSM_PAR_8733B << BIT_SHIFT_FSM_PAR_8733B)
#define BIT_CLEAR_FSM_PAR_8733B(x) ((x) & (~BITS_FSM_PAR_8733B))
#define BIT_GET_FSM_PAR_8733B(x) (((x) >> BIT_SHIFT_FSM_PAR_8733B) & BIT_MASK_FSM_PAR_8733B)
#define BIT_SET_FSM_PAR_8733B(x, v) (BIT_CLEAR_FSM_PAR_8733B(x) | BIT_FSM_PAR_8733B(v))

/* 2 REG_EXT_HCI_OPT_8733B */
#define BIT_SYS_USB_GLITCH_RSM_EN_8733B BIT(10)
#define BIT_BT_UPHY_CTRL_GNT_8733B BIT(9)
#define BIT_WL_UPHY_CTRL_GNT_8733B BIT(8)
#define BIT_BT_UPHY_CTRL_REQ_8733B BIT(7)
#define BIT_WL_UPHY_CTRL_REQ_8733B BIT(6)
#define BIT_HUSB_RSM_DIS_8733B BIT(5)
#define BIT_USB_FORCE_DP_8733B BIT(4)
#define BIT_USB_DP_MODE_8733B BIT(3)

#define BIT_SHIFT_TSFT_SEL_V1_8733B 0
#define BIT_MASK_TSFT_SEL_V1_8733B 0x7
#define BIT_TSFT_SEL_V1_8733B(x) (((x) & BIT_MASK_TSFT_SEL_V1_8733B) << BIT_SHIFT_TSFT_SEL_V1_8733B)
#define BITS_TSFT_SEL_V1_8733B (BIT_MASK_TSFT_SEL_V1_8733B << BIT_SHIFT_TSFT_SEL_V1_8733B)
#define BIT_CLEAR_TSFT_SEL_V1_8733B(x) ((x) & (~BITS_TSFT_SEL_V1_8733B))
#define BIT_GET_TSFT_SEL_V1_8733B(x) (((x) >> BIT_SHIFT_TSFT_SEL_V1_8733B) & BIT_MASK_TSFT_SEL_V1_8733B)
#define BIT_SET_TSFT_SEL_V1_8733B(x, v) (BIT_CLEAR_TSFT_SEL_V1_8733B(x) | BIT_TSFT_SEL_V1_8733B(v))

/* 2 REG_PMC_DBG_CTRL1_8733B */
#define BIT_PMC_WR_OVF_8733B BIT(8)

#define BIT_SHIFT_WLPMC_ERRINT_8733B 0
#define BIT_MASK_WLPMC_ERRINT_8733B 0xff
#define BIT_WLPMC_ERRINT_8733B(x) (((x) & BIT_MASK_WLPMC_ERRINT_8733B) << BIT_SHIFT_WLPMC_ERRINT_8733B)
#define BITS_WLPMC_ERRINT_8733B (BIT_MASK_WLPMC_ERRINT_8733B << BIT_SHIFT_WLPMC_ERRINT_8733B)
#define BIT_CLEAR_WLPMC_ERRINT_8733B(x) ((x) & (~BITS_WLPMC_ERRINT_8733B))
#define BIT_GET_WLPMC_ERRINT_8733B(x) (((x) >> BIT_SHIFT_WLPMC_ERRINT_8733B) & BIT_MASK_WLPMC_ERRINT_8733B)
#define BIT_SET_WLPMC_ERRINT_8733B(x, v) (BIT_CLEAR_WLPMC_ERRINT_8733B(x) | BIT_WLPMC_ERRINT_8733B(v))

/* 2 REG_SCOREBOARD_CTRL_8733B */
#define BIT_BT_INT_EN_8733B BIT(31)

#define BIT_SHIFT_RD_WR_WIFI_BT_INFO_8733B 0
#define BIT_MASK_RD_WR_WIFI_BT_INFO_8733B 0x7fffffffL
#define BIT_RD_WR_WIFI_BT_INFO_8733B(x) (((x) & BIT_MASK_RD_WR_WIFI_BT_INFO_8733B) << BIT_SHIFT_RD_WR_WIFI_BT_INFO_8733B)
#define BITS_RD_WR_WIFI_BT_INFO_8733B (BIT_MASK_RD_WR_WIFI_BT_INFO_8733B << BIT_SHIFT_RD_WR_WIFI_BT_INFO_8733B)
#define BIT_CLEAR_RD_WR_WIFI_BT_INFO_8733B(x) ((x) & (~BITS_RD_WR_WIFI_BT_INFO_8733B))
#define BIT_GET_RD_WR_WIFI_BT_INFO_8733B(x) (((x) >> BIT_SHIFT_RD_WR_WIFI_BT_INFO_8733B) & BIT_MASK_RD_WR_WIFI_BT_INFO_8733B)
#define BIT_SET_RD_WR_WIFI_BT_INFO_8733B(x, v) (BIT_CLEAR_RD_WR_WIFI_BT_INFO_8733B(x) | BIT_RD_WR_WIFI_BT_INFO_8733B(v))

/* 2 REG_HIMR0_8733B */
#define BIT_PSTIMEOUT2_MSK_8733B BIT(31)
#define BIT_PSTIMEOUT1_MSK_8733B BIT(30)
#define BIT_PSTIMEOUT_MSK_8733B BIT(29)
#define BIT_GTINT4_MSK_8733B BIT(28)
#define BIT_GTINT3_MSK_8733B BIT(27)
#define BIT_TXBCN0ERR_MSK_8733B BIT(26)
#define BIT_TXBCN0OK_MSK_8733B BIT(25)
#define BIT_TSF_BIT32_TOGGLE_MSK_8733B BIT(24)
#define BIT_TXBCN7ERR_MSK_8733B BIT(23)
#define BIT_TXBCN6ERR_MSK_8733B BIT(22)
#define BIT_TXBCN5ERR_MSK_8733B BIT(21)
#define BIT_BCNDMAINT0_MSK_8733B BIT(20)
#define BIT_BCNDMAINT_P4_MSK_8733B BIT(19)
#define BIT_BCNDMAINT_P3_MSK_8733B BIT(18)

/* 2 REG_NOT_VALID_8733B */
#define BIT_TXBCN4ERR_MSK_8733B BIT(16)
#define BIT_HSISR_IND_ON_INT_MSK_8733B BIT(15)
#define BIT_BCNDMAINT_P1_MSK_8733B BIT(14)
#define BIT_BCNDMAINT_P2_MSK_8733B BIT(13)
#define BIT_CTWEND_MSK_8733B BIT(12)
#define BIT_HISR1_IND_INT_MSK_8733B BIT(11)
#define BIT_C2HCMD_MSK_8733B BIT(10)
#define BIT_CPWM2_MSK_8733B BIT(9)
#define BIT_CPWM_MSK_8733B BIT(8)
#define BIT_TXBCN3ERR_MSK_8733B BIT(7)
#define BIT_TXBCN7OK_MSK_8733B BIT(6)
#define BIT_TXBCN6OK_MSK_8733B BIT(5)
#define BIT_TXBCN5OK_MSK_8733B BIT(4)
#define BIT_TXBCN4OK_MSK_8733B BIT(3)
#define BIT_TXBCN3OK_MSK_8733B BIT(2)
#define BIT_TXBCN2OK_MSK_8733B BIT(1)
#define BIT_TXBCN1OK_MSK_8733B BIT(0)

/* 2 REG_HISR0_8733B */
#define BIT_PSTIMEOUT2_8733B BIT(31)
#define BIT_PSTIMEOUT1_8733B BIT(30)
#define BIT_PSTIMEOUT_8733B BIT(29)
#define BIT_GTINT4_8733B BIT(28)
#define BIT_GTINT3_8733B BIT(27)
#define BIT_TXBCN0ERR_8733B BIT(26)
#define BIT_TXBCN0OK_8733B BIT(25)
#define BIT_TSF_BIT32_TOGGLE_8733B BIT(24)
#define BIT_TXBCN7ERR_8733B BIT(23)
#define BIT_TXBCN6ERR_8733B BIT(22)
#define BIT_TXBCN5ERR_8733B BIT(21)
#define BIT_BCNDMAINT0_8733B BIT(20)
#define BIT_BCNDMAINT_P4_8733B BIT(19)
#define BIT_BCNDMAINT_P3_8733B BIT(18)

/* 2 REG_NOT_VALID_8733B */
#define BIT_TXBCN4ERR_8733B BIT(16)
#define BIT_HSISR_IND_ON_INT_8733B BIT(15)
#define BIT_BCNDMAINT_P1_8733B BIT(14)
#define BIT_BCNDMAINT_P2_8733B BIT(13)
#define BIT_CTWEND_8733B BIT(12)
#define BIT_HISR1_IND_INT_8733B BIT(11)
#define BIT_C2HCMD_8733B BIT(10)
#define BIT_CPWM2_8733B BIT(9)
#define BIT_CPWM_8733B BIT(8)
#define BIT_TXBCN3ERR_8733B BIT(7)
#define BIT_TXBCN7OK_8733B BIT(6)
#define BIT_TXBCN6OK_8733B BIT(5)
#define BIT_TXBCN5OK_8733B BIT(4)
#define BIT_TXBCN4OK_8733B BIT(3)
#define BIT_TXBCN3OK_8733B BIT(2)
#define BIT_TXBCN2OK_8733B BIT(1)
#define BIT_TXBCN1OK_8733B BIT(0)

/* 2 REG_HIMR1_8733B */
#define BIT_WDT_PLATFORM_INT_IMR_8733B BIT(31)
#define BIT_TXBCN2ERR_IMR_8733B BIT(30)
#define BIT_BTON_STS_UPDATE_INT_IMR_8733B BIT(29)
#define BIT_WDT_CPU_INT_IMR_8733B BIT(28)
#define BIT_BCNDMAINT7_IMR_8733B BIT(27)
#define BIT_BCNDMAINT6_IMR_8733B BIT(26)
#define BIT_BCNDMAINT5_IMR_8733B BIT(25)
#define BIT_BCNDMAINT4_IMR_8733B BIT(24)
#define BIT_BCNDMAINT3_IMR_8733B BIT(23)
#define BIT_BCNDMAINT2_IMR_8733B BIT(22)
#define BIT_BCNDMAINT1_IMR_8733B BIT(21)
#define BIT_TXBCN1ERR_IMR_8733B BIT(20)
#define BIT_ATIMEND7__IMR_8733B BIT(19)
#define BIT_ATIMEND6__IMR_8733B BIT(18)
#define BIT_ATIMEND5_IMR_8733B BIT(17)
#define BIT_ATIMEND4_IMR_8733B BIT(16)
#define BIT_ATIMEND3_IMR_8733B BIT(15)
#define BIT_ATIMEND2_IMR_8733B BIT(14)
#define BIT_ATIMEND1_IMR_8733B BIT(13)
#define BIT_ATIMEND_IMR_8733B BIT(12)
#define BIT_TXERR_INT_IMR_8733B BIT(11)
#define BIT_RXERR_INT_IMR_8733B BIT(10)
#define BIT_TXFOVW_IMR_8733B BIT(9)
#define BIT_FOVW_IMR_8733B BIT(8)
#define BIT_DDMA0_LP_INT_IMR_8733B BIT(7)
#define BIT_CPUMGQ_ERLY_TIMER_INT_IMR_8733B BIT(6)
#define BIT_CPU_MGQ_TXDONE_INT_IMR_8733B BIT(5)
#define BIT_PS_TIMER_C_INT_IMR_8733B BIT(4)
#define BIT_PS_TIMER_B_INT_IMR_8733B BIT(3)
#define BIT_PS_TIMER_A_INT_IMR_8733B BIT(2)
#define BIT_CPUMGQ_TX_TIMER_INT_IMR_8733B BIT(1)
#define BIT_DDMA0_HP_INT_IMR_8733B BIT(0)

/* 2 REG_HISR1_8733B */
#define BIT_WDT_PLATFORM_INT_ISR_8733B BIT(31)
#define BIT_TXBCN2ERR_ISR_8733B BIT(30)
#define BIT_BTON_STS_UPDATE_INT_ISR_8733B BIT(29)
#define BIT_WDT_CPU_INT_ISR_8733B BIT(28)
#define BIT_BCNDMAINT7_ISR_8733B BIT(27)
#define BIT_BCNDMAINT6_ISR_8733B BIT(26)
#define BIT_BCNDMAINT5_ISR_8733B BIT(25)
#define BIT_BCNDMAINT4_ISR_8733B BIT(24)
#define BIT_BCNDMAINT3_ISR_8733B BIT(23)
#define BIT_BCNDMAINT2_ISR_8733B BIT(22)
#define BIT_BCNDMAINT1_ISR_8733B BIT(21)
#define BIT_TXBCN1ERR_ISR_8733B BIT(20)
#define BIT_ATIMEND7_ISR_8733B BIT(19)
#define BIT_ATIMEND6_ISR_8733B BIT(18)
#define BIT_ATIMEND5_ISR_8733B BIT(17)
#define BIT_ATIMEND4_ISR_8733B BIT(16)
#define BIT_ATIMEND3_ISR_8733B BIT(15)
#define BIT_ATIMEND2_ISR_8733B BIT(14)
#define BIT_ATIMEND1_ISR_8733B BIT(13)
#define BIT_ATIMEND_ISR_8733B BIT(12)
#define BIT_TXERR_INT_ISR_8733B BIT(11)
#define BIT_RXERR_INT_ISR_8733B BIT(10)
#define BIT_TXFOVW_ISR_8733B BIT(9)
#define BIT_FOVW_ISR_8733B BIT(8)
#define BIT_DDMA0_LP_INT_ISR_8733B BIT(7)
#define BIT_CPUMGQ_ERLY_TIMER_INT_ISR_8733B BIT(6)
#define BIT_CPU_MGQ_TXDONE_INT_ISR_8733B BIT(5)
#define BIT_PS_TIMER_C_INT_ISR_8733B BIT(4)
#define BIT_PS_TIMER_B_INT_ISR_8733B BIT(3)
#define BIT_PS_TIMER_A_INT_ISR_8733B BIT(2)
#define BIT_CPUMGQ_TX_TIMER_INT_ISR_8733B BIT(1)
#define BIT_DDMA0_HP_INT_ISR_8733B BIT(0)

/* 2 REG_DBG_PORT_SEL_8733B */

#define BIT_SHIFT_DEBUG_ST_8733B 0
#define BIT_MASK_DEBUG_ST_8733B 0xffffffffL
#define BIT_DEBUG_ST_8733B(x) (((x) & BIT_MASK_DEBUG_ST_8733B) << BIT_SHIFT_DEBUG_ST_8733B)
#define BITS_DEBUG_ST_8733B (BIT_MASK_DEBUG_ST_8733B << BIT_SHIFT_DEBUG_ST_8733B)
#define BIT_CLEAR_DEBUG_ST_8733B(x) ((x) & (~BITS_DEBUG_ST_8733B))
#define BIT_GET_DEBUG_ST_8733B(x) (((x) >> BIT_SHIFT_DEBUG_ST_8733B) & BIT_MASK_DEBUG_ST_8733B)
#define BIT_SET_DEBUG_ST_8733B(x, v) (BIT_CLEAR_DEBUG_ST_8733B(x) | BIT_DEBUG_ST_8733B(v))

/* 2 REG_EEPROM_PIN_CTRL_8733B */
#define BIT_SYM_FORCE_SWR_PC_EN_8733B BIT(9)
#define BIT_SYM_HCIAPC_EN_8733B BIT(8)
#define BIT_B15V_EN_8733B BIT(7)
#define BIT_EESK_IOSEL_8733B BIT(6)
#define BIT_EESK_DATA_O_8733B BIT(5)
#define BIT_EESK_DATA_I_8733B BIT(4)
#define BIT_EECS_IOSEL_8733B BIT(2)
#define BIT_EECS_DATA_O_8733B BIT(1)
#define BIT_EECS_DATA_I_8733B BIT(0)

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_PMC_DBG_CTRL2_8733B */

#define BIT_SHIFT_EFUSE_BURN_GNT_8733B 24
#define BIT_MASK_EFUSE_BURN_GNT_8733B 0xff
#define BIT_EFUSE_BURN_GNT_8733B(x) (((x) & BIT_MASK_EFUSE_BURN_GNT_8733B) << BIT_SHIFT_EFUSE_BURN_GNT_8733B)
#define BITS_EFUSE_BURN_GNT_8733B (BIT_MASK_EFUSE_BURN_GNT_8733B << BIT_SHIFT_EFUSE_BURN_GNT_8733B)
#define BIT_CLEAR_EFUSE_BURN_GNT_8733B(x) ((x) & (~BITS_EFUSE_BURN_GNT_8733B))
#define BIT_GET_EFUSE_BURN_GNT_8733B(x) (((x) >> BIT_SHIFT_EFUSE_BURN_GNT_8733B) & BIT_MASK_EFUSE_BURN_GNT_8733B)
#define BIT_SET_EFUSE_BURN_GNT_8733B(x, v) (BIT_CLEAR_EFUSE_BURN_GNT_8733B(x) | BIT_EFUSE_BURN_GNT_8733B(v))

#define BIT_SHIFT_EFUSE_SCAN_END_8733B 16
#define BIT_MASK_EFUSE_SCAN_END_8733B 0xff
#define BIT_EFUSE_SCAN_END_8733B(x) (((x) & BIT_MASK_EFUSE_SCAN_END_8733B) << BIT_SHIFT_EFUSE_SCAN_END_8733B)
#define BITS_EFUSE_SCAN_END_8733B (BIT_MASK_EFUSE_SCAN_END_8733B << BIT_SHIFT_EFUSE_SCAN_END_8733B)
#define BIT_CLEAR_EFUSE_SCAN_END_8733B(x) ((x) & (~BITS_EFUSE_SCAN_END_8733B))
#define BIT_GET_EFUSE_SCAN_END_8733B(x) (((x) >> BIT_SHIFT_EFUSE_SCAN_END_8733B) & BIT_MASK_EFUSE_SCAN_END_8733B)
#define BIT_SET_EFUSE_SCAN_END_8733B(x, v) (BIT_CLEAR_EFUSE_SCAN_END_8733B(x) | BIT_EFUSE_SCAN_END_8733B(v))

#define BIT_STOP_WL_PMC_8733B BIT(9)
#define BIT_STOP_SYM_PMC_8733B BIT(8)
#define BIT_EN_BT_WR_8733B BIT(6)
#define BIT_REG_RST_WLPMC_8733B BIT(5)
#define BIT_REG_RST_PD12N_8733B BIT(4)
#define BIT_SYSON_DIS_WLREG_WRMSK_8733B BIT(3)
#define BIT_SYSON_DIS_PMCREG_WRMSK_8733B BIT(2)

#define BIT_SHIFT_SYSON_REG_ARB_8733B 0
#define BIT_MASK_SYSON_REG_ARB_8733B 0x3
#define BIT_SYSON_REG_ARB_8733B(x) (((x) & BIT_MASK_SYSON_REG_ARB_8733B) << BIT_SHIFT_SYSON_REG_ARB_8733B)
#define BITS_SYSON_REG_ARB_8733B (BIT_MASK_SYSON_REG_ARB_8733B << BIT_SHIFT_SYSON_REG_ARB_8733B)
#define BIT_CLEAR_SYSON_REG_ARB_8733B(x) ((x) & (~BITS_SYSON_REG_ARB_8733B))
#define BIT_GET_SYSON_REG_ARB_8733B(x) (((x) >> BIT_SHIFT_SYSON_REG_ARB_8733B) & BIT_MASK_SYSON_REG_ARB_8733B)
#define BIT_SET_SYSON_REG_ARB_8733B(x, v) (BIT_CLEAR_SYSON_REG_ARB_8733B(x) | BIT_SYSON_REG_ARB_8733B(v))

/* 2 REG_BIST_CTRL_8733B */
#define BIT_BIST_RPT_SEL_4_8733B BIT(31)
#define BIT_BIST_DRF_FAIL_8733B BIT(28)
#define BIT_BIST_DRF_DONE_8733B BIT(27)
#define BIT_BIST_NORMAL_FAIL_8733B BIT(26)
#define BIT_BIST_NORMAL_DONE_8733B BIT(25)
#define BIT_BIST_START_PAUSE_8733B BIT(24)

#define BIT_SHIFT_BIST_RPT_SEL_3_TO_0_8733B 20
#define BIT_MASK_BIST_RPT_SEL_3_TO_0_8733B 0xf
#define BIT_BIST_RPT_SEL_3_TO_0_8733B(x) (((x) & BIT_MASK_BIST_RPT_SEL_3_TO_0_8733B) << BIT_SHIFT_BIST_RPT_SEL_3_TO_0_8733B)
#define BITS_BIST_RPT_SEL_3_TO_0_8733B (BIT_MASK_BIST_RPT_SEL_3_TO_0_8733B << BIT_SHIFT_BIST_RPT_SEL_3_TO_0_8733B)
#define BIT_CLEAR_BIST_RPT_SEL_3_TO_0_8733B(x) ((x) & (~BITS_BIST_RPT_SEL_3_TO_0_8733B))
#define BIT_GET_BIST_RPT_SEL_3_TO_0_8733B(x) (((x) >> BIT_SHIFT_BIST_RPT_SEL_3_TO_0_8733B) & BIT_MASK_BIST_RPT_SEL_3_TO_0_8733B)
#define BIT_SET_BIST_RPT_SEL_3_TO_0_8733B(x, v) (BIT_CLEAR_BIST_RPT_SEL_3_TO_0_8733B(x) | BIT_BIST_RPT_SEL_3_TO_0_8733B(v))

#define BIT_BIST_DIS_BT_8733B BIT(17)
#define BIT_BIST_PHY_CLK_STOP_8733B BIT(7)
#define BIT_BIST_DYN_READ_EN_8733B BIT(6)
#define BIT_BIST_RESUME_PS_8733B BIT(5)
#define BIT_BIST_RESUME_8733B BIT(4)
#define BIT_BIST_DRF_8733B BIT(3)
#define BIT_BIST_NORMAL_8733B BIT(2)
#define BIT_BIST_RSTN_8733B BIT(1)
#define BIT_BIST_CLK_EN_8733B BIT(0)

/* 2 REG_BIST_RPT_8733B */
#define BIT_MBIST_SPUS_BT_8733B BIT(14)
#define BIT_MBIST_FAIL_BT_8733B BIT(13)
#define BIT_MBIST_DONE_BT_8733B BIT(12)
#define BIT_MBIST_SPUS_WL_8733B BIT(2)
#define BIT_MBIST_FAIL_WL_8733B BIT(1)
#define BIT_MBIST_DONE_WL_8733B BIT(0)

/* 2 REG_MEM_CTRL_8733B */

#define BIT_SHIFT_LP_LPS_LDO_STEP_DN_8733B 28
#define BIT_MASK_LP_LPS_LDO_STEP_DN_8733B 0xf
#define BIT_LP_LPS_LDO_STEP_DN_8733B(x) (((x) & BIT_MASK_LP_LPS_LDO_STEP_DN_8733B) << BIT_SHIFT_LP_LPS_LDO_STEP_DN_8733B)
#define BITS_LP_LPS_LDO_STEP_DN_8733B (BIT_MASK_LP_LPS_LDO_STEP_DN_8733B << BIT_SHIFT_LP_LPS_LDO_STEP_DN_8733B)
#define BIT_CLEAR_LP_LPS_LDO_STEP_DN_8733B(x) ((x) & (~BITS_LP_LPS_LDO_STEP_DN_8733B))
#define BIT_GET_LP_LPS_LDO_STEP_DN_8733B(x) (((x) >> BIT_SHIFT_LP_LPS_LDO_STEP_DN_8733B) & BIT_MASK_LP_LPS_LDO_STEP_DN_8733B)
#define BIT_SET_LP_LPS_LDO_STEP_DN_8733B(x, v) (BIT_CLEAR_LP_LPS_LDO_STEP_DN_8733B(x) | BIT_LP_LPS_LDO_STEP_DN_8733B(v))

#define BIT_SHIFT_LP_LPS_LDO_STEP_DN_AON_8733B 24
#define BIT_MASK_LP_LPS_LDO_STEP_DN_AON_8733B 0xf
#define BIT_LP_LPS_LDO_STEP_DN_AON_8733B(x) (((x) & BIT_MASK_LP_LPS_LDO_STEP_DN_AON_8733B) << BIT_SHIFT_LP_LPS_LDO_STEP_DN_AON_8733B)
#define BITS_LP_LPS_LDO_STEP_DN_AON_8733B (BIT_MASK_LP_LPS_LDO_STEP_DN_AON_8733B << BIT_SHIFT_LP_LPS_LDO_STEP_DN_AON_8733B)
#define BIT_CLEAR_LP_LPS_LDO_STEP_DN_AON_8733B(x) ((x) & (~BITS_LP_LPS_LDO_STEP_DN_AON_8733B))
#define BIT_GET_LP_LPS_LDO_STEP_DN_AON_8733B(x) (((x) >> BIT_SHIFT_LP_LPS_LDO_STEP_DN_AON_8733B) & BIT_MASK_LP_LPS_LDO_STEP_DN_AON_8733B)
#define BIT_SET_LP_LPS_LDO_STEP_DN_AON_8733B(x, v) (BIT_CLEAR_LP_LPS_LDO_STEP_DN_AON_8733B(x) | BIT_LP_LPS_LDO_STEP_DN_AON_8733B(v))

#define BIT_SHIFT_LP_LPS_LDO_STEP_DN_WL_8733B 20
#define BIT_MASK_LP_LPS_LDO_STEP_DN_WL_8733B 0xf
#define BIT_LP_LPS_LDO_STEP_DN_WL_8733B(x) (((x) & BIT_MASK_LP_LPS_LDO_STEP_DN_WL_8733B) << BIT_SHIFT_LP_LPS_LDO_STEP_DN_WL_8733B)
#define BITS_LP_LPS_LDO_STEP_DN_WL_8733B (BIT_MASK_LP_LPS_LDO_STEP_DN_WL_8733B << BIT_SHIFT_LP_LPS_LDO_STEP_DN_WL_8733B)
#define BIT_CLEAR_LP_LPS_LDO_STEP_DN_WL_8733B(x) ((x) & (~BITS_LP_LPS_LDO_STEP_DN_WL_8733B))
#define BIT_GET_LP_LPS_LDO_STEP_DN_WL_8733B(x) (((x) >> BIT_SHIFT_LP_LPS_LDO_STEP_DN_WL_8733B) & BIT_MASK_LP_LPS_LDO_STEP_DN_WL_8733B)
#define BIT_SET_LP_LPS_LDO_STEP_DN_WL_8733B(x, v) (BIT_CLEAR_LP_LPS_LDO_STEP_DN_WL_8733B(x) | BIT_LP_LPS_LDO_STEP_DN_WL_8733B(v))

#define BIT_SHIFT_LP_LDO_HCI_STEP_DOWN_8733B 16
#define BIT_MASK_LP_LDO_HCI_STEP_DOWN_8733B 0xf
#define BIT_LP_LDO_HCI_STEP_DOWN_8733B(x) (((x) & BIT_MASK_LP_LDO_HCI_STEP_DOWN_8733B) << BIT_SHIFT_LP_LDO_HCI_STEP_DOWN_8733B)
#define BITS_LP_LDO_HCI_STEP_DOWN_8733B (BIT_MASK_LP_LDO_HCI_STEP_DOWN_8733B << BIT_SHIFT_LP_LDO_HCI_STEP_DOWN_8733B)
#define BIT_CLEAR_LP_LDO_HCI_STEP_DOWN_8733B(x) ((x) & (~BITS_LP_LDO_HCI_STEP_DOWN_8733B))
#define BIT_GET_LP_LDO_HCI_STEP_DOWN_8733B(x) (((x) >> BIT_SHIFT_LP_LDO_HCI_STEP_DOWN_8733B) & BIT_MASK_LP_LDO_HCI_STEP_DOWN_8733B)
#define BIT_SET_LP_LDO_HCI_STEP_DOWN_8733B(x, v) (BIT_CLEAR_LP_LDO_HCI_STEP_DOWN_8733B(x) | BIT_LP_LDO_HCI_STEP_DOWN_8733B(v))

#define BIT_RTSEL_RF_8733B BIT(15)
#define BIT_TURBO_RF_8733B BIT(14)

#define BIT_SHIFT_TSEL_RF_8733B 12
#define BIT_MASK_TSEL_RF_8733B 0x3
#define BIT_TSEL_RF_8733B(x) (((x) & BIT_MASK_TSEL_RF_8733B) << BIT_SHIFT_TSEL_RF_8733B)
#define BITS_TSEL_RF_8733B (BIT_MASK_TSEL_RF_8733B << BIT_SHIFT_TSEL_RF_8733B)
#define BIT_CLEAR_TSEL_RF_8733B(x) ((x) & (~BITS_TSEL_RF_8733B))
#define BIT_GET_TSEL_RF_8733B(x) (((x) >> BIT_SHIFT_TSEL_RF_8733B) & BIT_MASK_TSEL_RF_8733B)
#define BIT_SET_TSEL_RF_8733B(x, v) (BIT_CLEAR_TSEL_RF_8733B(x) | BIT_TSEL_RF_8733B(v))

#define BIT_SHIFT_MEM_WTSEL_8733B 10
#define BIT_MASK_MEM_WTSEL_8733B 0x3
#define BIT_MEM_WTSEL_8733B(x) (((x) & BIT_MASK_MEM_WTSEL_8733B) << BIT_SHIFT_MEM_WTSEL_8733B)
#define BITS_MEM_WTSEL_8733B (BIT_MASK_MEM_WTSEL_8733B << BIT_SHIFT_MEM_WTSEL_8733B)
#define BIT_CLEAR_MEM_WTSEL_8733B(x) ((x) & (~BITS_MEM_WTSEL_8733B))
#define BIT_GET_MEM_WTSEL_8733B(x) (((x) >> BIT_SHIFT_MEM_WTSEL_8733B) & BIT_MASK_MEM_WTSEL_8733B)
#define BIT_SET_MEM_WTSEL_8733B(x, v) (BIT_CLEAR_MEM_WTSEL_8733B(x) | BIT_MEM_WTSEL_8733B(v))

#define BIT_SHIFT_MEM_RTSEL_8733B 8
#define BIT_MASK_MEM_RTSEL_8733B 0x3
#define BIT_MEM_RTSEL_8733B(x) (((x) & BIT_MASK_MEM_RTSEL_8733B) << BIT_SHIFT_MEM_RTSEL_8733B)
#define BITS_MEM_RTSEL_8733B (BIT_MASK_MEM_RTSEL_8733B << BIT_SHIFT_MEM_RTSEL_8733B)
#define BIT_CLEAR_MEM_RTSEL_8733B(x) ((x) & (~BITS_MEM_RTSEL_8733B))
#define BIT_GET_MEM_RTSEL_8733B(x) (((x) >> BIT_SHIFT_MEM_RTSEL_8733B) & BIT_MASK_MEM_RTSEL_8733B)
#define BIT_SET_MEM_RTSEL_8733B(x, v) (BIT_CLEAR_MEM_RTSEL_8733B(x) | BIT_MEM_RTSEL_8733B(v))

#define BIT_SHIFT_EMA_ARM_8733B 5
#define BIT_MASK_EMA_ARM_8733B 0x7
#define BIT_EMA_ARM_8733B(x) (((x) & BIT_MASK_EMA_ARM_8733B) << BIT_SHIFT_EMA_ARM_8733B)
#define BITS_EMA_ARM_8733B (BIT_MASK_EMA_ARM_8733B << BIT_SHIFT_EMA_ARM_8733B)
#define BIT_CLEAR_EMA_ARM_8733B(x) ((x) & (~BITS_EMA_ARM_8733B))
#define BIT_GET_EMA_ARM_8733B(x) (((x) >> BIT_SHIFT_EMA_ARM_8733B) & BIT_MASK_EMA_ARM_8733B)
#define BIT_SET_EMA_ARM_8733B(x, v) (BIT_CLEAR_EMA_ARM_8733B(x) | BIT_EMA_ARM_8733B(v))

#define BIT_HCI_MEMPM_EN_8733B BIT(4)
#define BIT_KEN_ARM_8733B BIT(2)
#define BIT_WL_PON_MEM_PD_8733B BIT(1)
#define BIT_WL_MEM_PD_8733B BIT(0)

/* 2 REG_SCAN_CTRL_8733B */

#define BIT_SHIFT_SCAN_CTRL_8733B 0
#define BIT_MASK_SCAN_CTRL_8733B 0xffffffffL
#define BIT_SCAN_CTRL_8733B(x) (((x) & BIT_MASK_SCAN_CTRL_8733B) << BIT_SHIFT_SCAN_CTRL_8733B)
#define BITS_SCAN_CTRL_8733B (BIT_MASK_SCAN_CTRL_8733B << BIT_SHIFT_SCAN_CTRL_8733B)
#define BIT_CLEAR_SCAN_CTRL_8733B(x) ((x) & (~BITS_SCAN_CTRL_8733B))
#define BIT_GET_SCAN_CTRL_8733B(x) (((x) >> BIT_SHIFT_SCAN_CTRL_8733B) & BIT_MASK_SCAN_CTRL_8733B)
#define BIT_SET_SCAN_CTRL_8733B(x, v) (BIT_CLEAR_SCAN_CTRL_8733B(x) | BIT_SCAN_CTRL_8733B(v))

/* 2 REG_USB_SIE_INTF_8733B */
#define BIT_RD_SEL_8733B BIT(31)
#define BIT_USB_SIE_INTF_WE_8733B BIT(30)
#define BIT_USB_SIE_INTF_BYIOREG_8733B BIT(29)
#define BIT_USB_SIE_INTF_BYBUF_8733B BIT(28)

/* 2 REG_NOT_VALID_8733B */

#define BIT_SHIFT_USB_SIE_INTF_ADDR_8733B 16
#define BIT_MASK_USB_SIE_INTF_ADDR_8733B 0x1ff
#define BIT_USB_SIE_INTF_ADDR_8733B(x) (((x) & BIT_MASK_USB_SIE_INTF_ADDR_8733B) << BIT_SHIFT_USB_SIE_INTF_ADDR_8733B)
#define BITS_USB_SIE_INTF_ADDR_8733B (BIT_MASK_USB_SIE_INTF_ADDR_8733B << BIT_SHIFT_USB_SIE_INTF_ADDR_8733B)
#define BIT_CLEAR_USB_SIE_INTF_ADDR_8733B(x) ((x) & (~BITS_USB_SIE_INTF_ADDR_8733B))
#define BIT_GET_USB_SIE_INTF_ADDR_8733B(x) (((x) >> BIT_SHIFT_USB_SIE_INTF_ADDR_8733B) & BIT_MASK_USB_SIE_INTF_ADDR_8733B)
#define BIT_SET_USB_SIE_INTF_ADDR_8733B(x, v) (BIT_CLEAR_USB_SIE_INTF_ADDR_8733B(x) | BIT_USB_SIE_INTF_ADDR_8733B(v))

#define BIT_SHIFT_USB_SIE_INTF_RD_8733B 8
#define BIT_MASK_USB_SIE_INTF_RD_8733B 0xff
#define BIT_USB_SIE_INTF_RD_8733B(x) (((x) & BIT_MASK_USB_SIE_INTF_RD_8733B) << BIT_SHIFT_USB_SIE_INTF_RD_8733B)
#define BITS_USB_SIE_INTF_RD_8733B (BIT_MASK_USB_SIE_INTF_RD_8733B << BIT_SHIFT_USB_SIE_INTF_RD_8733B)
#define BIT_CLEAR_USB_SIE_INTF_RD_8733B(x) ((x) & (~BITS_USB_SIE_INTF_RD_8733B))
#define BIT_GET_USB_SIE_INTF_RD_8733B(x) (((x) >> BIT_SHIFT_USB_SIE_INTF_RD_8733B) & BIT_MASK_USB_SIE_INTF_RD_8733B)
#define BIT_SET_USB_SIE_INTF_RD_8733B(x, v) (BIT_CLEAR_USB_SIE_INTF_RD_8733B(x) | BIT_USB_SIE_INTF_RD_8733B(v))

#define BIT_SHIFT_USB_SIE_INTF_WD_8733B 0
#define BIT_MASK_USB_SIE_INTF_WD_8733B 0xff
#define BIT_USB_SIE_INTF_WD_8733B(x) (((x) & BIT_MASK_USB_SIE_INTF_WD_8733B) << BIT_SHIFT_USB_SIE_INTF_WD_8733B)
#define BITS_USB_SIE_INTF_WD_8733B (BIT_MASK_USB_SIE_INTF_WD_8733B << BIT_SHIFT_USB_SIE_INTF_WD_8733B)
#define BIT_CLEAR_USB_SIE_INTF_WD_8733B(x) ((x) & (~BITS_USB_SIE_INTF_WD_8733B))
#define BIT_GET_USB_SIE_INTF_WD_8733B(x) (((x) >> BIT_SHIFT_USB_SIE_INTF_WD_8733B) & BIT_MASK_USB_SIE_INTF_WD_8733B)
#define BIT_SET_USB_SIE_INTF_WD_8733B(x, v) (BIT_CLEAR_USB_SIE_INTF_WD_8733B(x) | BIT_USB_SIE_INTF_WD_8733B(v))

/* 2 REG_MAC_CLK_PHS_CTRL_8733B */
#define BIT_CLK_GEN_MODE_8733B BIT(17)
#define BIT_CLK_GEN_ONE_SHOT_8733B BIT(16)

#define BIT_SHIFT_SEC_CLK_PHASE_8733B 8
#define BIT_MASK_SEC_CLK_PHASE_8733B 0xf
#define BIT_SEC_CLK_PHASE_8733B(x) (((x) & BIT_MASK_SEC_CLK_PHASE_8733B) << BIT_SHIFT_SEC_CLK_PHASE_8733B)
#define BITS_SEC_CLK_PHASE_8733B (BIT_MASK_SEC_CLK_PHASE_8733B << BIT_SHIFT_SEC_CLK_PHASE_8733B)
#define BIT_CLEAR_SEC_CLK_PHASE_8733B(x) ((x) & (~BITS_SEC_CLK_PHASE_8733B))
#define BIT_GET_SEC_CLK_PHASE_8733B(x) (((x) >> BIT_SHIFT_SEC_CLK_PHASE_8733B) & BIT_MASK_SEC_CLK_PHASE_8733B)
#define BIT_SET_SEC_CLK_PHASE_8733B(x, v) (BIT_CLEAR_SEC_CLK_PHASE_8733B(x) | BIT_SEC_CLK_PHASE_8733B(v))

#define BIT_SHIFT_MAC_CLK_PHASE_8733B 0
#define BIT_MASK_MAC_CLK_PHASE_8733B 0x1f
#define BIT_MAC_CLK_PHASE_8733B(x) (((x) & BIT_MASK_MAC_CLK_PHASE_8733B) << BIT_SHIFT_MAC_CLK_PHASE_8733B)
#define BITS_MAC_CLK_PHASE_8733B (BIT_MASK_MAC_CLK_PHASE_8733B << BIT_SHIFT_MAC_CLK_PHASE_8733B)
#define BIT_CLEAR_MAC_CLK_PHASE_8733B(x) ((x) & (~BITS_MAC_CLK_PHASE_8733B))
#define BIT_GET_MAC_CLK_PHASE_8733B(x) (((x) >> BIT_SHIFT_MAC_CLK_PHASE_8733B) & BIT_MASK_MAC_CLK_PHASE_8733B)
#define BIT_SET_MAC_CLK_PHASE_8733B(x, v) (BIT_CLEAR_MAC_CLK_PHASE_8733B(x) | BIT_MAC_CLK_PHASE_8733B(v))

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_XTAL_AAC_CFG_8733B */
#define BIT_EN_XTAL_AAC_8733B BIT(31)
#define BIT_AAC_EN_XTAL_HPM_8733B BIT(30)
#define BIT_XTAL_AAC_READY_8733B BIT(29)
#define BIT_AAC_TIMEOUT_ERR_8733B BIT(28)
#define BIT_RO_XTAL_AAC_READY_8733B BIT(7)

#define BIT_SHIFT_RO_XTAL_AAC_PK_SEL_8733B 5
#define BIT_MASK_RO_XTAL_AAC_PK_SEL_8733B 0x3
#define BIT_RO_XTAL_AAC_PK_SEL_8733B(x) (((x) & BIT_MASK_RO_XTAL_AAC_PK_SEL_8733B) << BIT_SHIFT_RO_XTAL_AAC_PK_SEL_8733B)
#define BITS_RO_XTAL_AAC_PK_SEL_8733B (BIT_MASK_RO_XTAL_AAC_PK_SEL_8733B << BIT_SHIFT_RO_XTAL_AAC_PK_SEL_8733B)
#define BIT_CLEAR_RO_XTAL_AAC_PK_SEL_8733B(x) ((x) & (~BITS_RO_XTAL_AAC_PK_SEL_8733B))
#define BIT_GET_RO_XTAL_AAC_PK_SEL_8733B(x) (((x) >> BIT_SHIFT_RO_XTAL_AAC_PK_SEL_8733B) & BIT_MASK_RO_XTAL_AAC_PK_SEL_8733B)
#define BIT_SET_RO_XTAL_AAC_PK_SEL_8733B(x, v) (BIT_CLEAR_RO_XTAL_AAC_PK_SEL_8733B(x) | BIT_RO_XTAL_AAC_PK_SEL_8733B(v))

#define BIT_SHIFT_RO_XTAL_AAC_GM_OUT_8733B 0
#define BIT_MASK_RO_XTAL_AAC_GM_OUT_8733B 0x1f
#define BIT_RO_XTAL_AAC_GM_OUT_8733B(x) (((x) & BIT_MASK_RO_XTAL_AAC_GM_OUT_8733B) << BIT_SHIFT_RO_XTAL_AAC_GM_OUT_8733B)
#define BITS_RO_XTAL_AAC_GM_OUT_8733B (BIT_MASK_RO_XTAL_AAC_GM_OUT_8733B << BIT_SHIFT_RO_XTAL_AAC_GM_OUT_8733B)
#define BIT_CLEAR_RO_XTAL_AAC_GM_OUT_8733B(x) ((x) & (~BITS_RO_XTAL_AAC_GM_OUT_8733B))
#define BIT_GET_RO_XTAL_AAC_GM_OUT_8733B(x) (((x) >> BIT_SHIFT_RO_XTAL_AAC_GM_OUT_8733B) & BIT_MASK_RO_XTAL_AAC_GM_OUT_8733B)
#define BIT_SET_RO_XTAL_AAC_GM_OUT_8733B(x, v) (BIT_CLEAR_RO_XTAL_AAC_GM_OUT_8733B(x) | BIT_RO_XTAL_AAC_GM_OUT_8733B(v))

/* 2 REG_SYS_CFG1_8733B */

#define BIT_SHIFT_TRP_ICFG_8733B 28
#define BIT_MASK_TRP_ICFG_8733B 0xf
#define BIT_TRP_ICFG_8733B(x) (((x) & BIT_MASK_TRP_ICFG_8733B) << BIT_SHIFT_TRP_ICFG_8733B)
#define BITS_TRP_ICFG_8733B (BIT_MASK_TRP_ICFG_8733B << BIT_SHIFT_TRP_ICFG_8733B)
#define BIT_CLEAR_TRP_ICFG_8733B(x) ((x) & (~BITS_TRP_ICFG_8733B))
#define BIT_GET_TRP_ICFG_8733B(x) (((x) >> BIT_SHIFT_TRP_ICFG_8733B) & BIT_MASK_TRP_ICFG_8733B)
#define BIT_SET_TRP_ICFG_8733B(x, v) (BIT_CLEAR_TRP_ICFG_8733B(x) | BIT_TRP_ICFG_8733B(v))

#define BIT_RF_TYPE_ID_8733B BIT(27)
#define BIT_BD_HCI_SEL_8733B BIT(26)
#define BIT_BD_PKG_SEL_8733B BIT(25)
#define BIT_SPSLDO_SEL_8733B BIT(24)
#define BIT_RTL_ID_8733B BIT(23)
#define BIT_PAD_HWPD_IDN_8733B BIT(22)
#define BIT_UART_SEL_8733B BIT(21)
#define BIT_TESTMODE_8733B BIT(20)

#define BIT_SHIFT_VENDOR_ID_8733B 16
#define BIT_MASK_VENDOR_ID_8733B 0xf
#define BIT_VENDOR_ID_8733B(x) (((x) & BIT_MASK_VENDOR_ID_8733B) << BIT_SHIFT_VENDOR_ID_8733B)
#define BITS_VENDOR_ID_8733B (BIT_MASK_VENDOR_ID_8733B << BIT_SHIFT_VENDOR_ID_8733B)
#define BIT_CLEAR_VENDOR_ID_8733B(x) ((x) & (~BITS_VENDOR_ID_8733B))
#define BIT_GET_VENDOR_ID_8733B(x) (((x) >> BIT_SHIFT_VENDOR_ID_8733B) & BIT_MASK_VENDOR_ID_8733B)
#define BIT_SET_VENDOR_ID_8733B(x, v) (BIT_CLEAR_VENDOR_ID_8733B(x) | BIT_VENDOR_ID_8733B(v))

#define BIT_SHIFT_CHIP_VER_8733B 12
#define BIT_MASK_CHIP_VER_8733B 0xf
#define BIT_CHIP_VER_8733B(x) (((x) & BIT_MASK_CHIP_VER_8733B) << BIT_SHIFT_CHIP_VER_8733B)
#define BITS_CHIP_VER_8733B (BIT_MASK_CHIP_VER_8733B << BIT_SHIFT_CHIP_VER_8733B)
#define BIT_CLEAR_CHIP_VER_8733B(x) ((x) & (~BITS_CHIP_VER_8733B))
#define BIT_GET_CHIP_VER_8733B(x) (((x) >> BIT_SHIFT_CHIP_VER_8733B) & BIT_MASK_CHIP_VER_8733B)
#define BIT_SET_CHIP_VER_8733B(x, v) (BIT_CLEAR_CHIP_VER_8733B(x) | BIT_CHIP_VER_8733B(v))

#define BIT_TEST_MODE_SEL_8733B BIT(11)
#define BIT_BD_MAC1_8733B BIT(10)
#define BIT_XTAL_CLK_CHANGE_OK_8733B BIT(9)
#define BIT_SIC_IDLE_8733B BIT(8)
#define BIT_SW_OFFLOAD_EN_8733B BIT(7)
#define BIT_OCP_SHUTDN_8733B BIT(6)
#define BIT_V15_VLD_8733B BIT(5)
#define BIT_PCIRSTB_8733B BIT(4)
#define BIT_PCLK_VLD_8733B BIT(3)
#define BIT_UCLK_VLD_8733B BIT(2)
#define BIT_ACLK_VLD_8733B BIT(1)
#define BIT_XCLK_VLD_8733B BIT(0)

/* 2 REG_SYS_STATUS1_8733B */

#define BIT_SHIFT_RF_RL_ID_8733B 28
#define BIT_MASK_RF_RL_ID_8733B 0xf
#define BIT_RF_RL_ID_8733B(x) (((x) & BIT_MASK_RF_RL_ID_8733B) << BIT_SHIFT_RF_RL_ID_8733B)
#define BITS_RF_RL_ID_8733B (BIT_MASK_RF_RL_ID_8733B << BIT_SHIFT_RF_RL_ID_8733B)
#define BIT_CLEAR_RF_RL_ID_8733B(x) ((x) & (~BITS_RF_RL_ID_8733B))
#define BIT_GET_RF_RL_ID_8733B(x) (((x) >> BIT_SHIFT_RF_RL_ID_8733B) & BIT_MASK_RF_RL_ID_8733B)
#define BIT_SET_RF_RL_ID_8733B(x, v) (BIT_CLEAR_RF_RL_ID_8733B(x) | BIT_RF_RL_ID_8733B(v))

#define BIT_BT_LPSEN_8733B BIT(27)
#define BIT_WL_LPSEN_8733B BIT(26)

#define BIT_SHIFT_SW_ICFG_8733B 20
#define BIT_MASK_SW_ICFG_8733B 0xf
#define BIT_SW_ICFG_8733B(x) (((x) & BIT_MASK_SW_ICFG_8733B) << BIT_SHIFT_SW_ICFG_8733B)
#define BITS_SW_ICFG_8733B (BIT_MASK_SW_ICFG_8733B << BIT_SHIFT_SW_ICFG_8733B)
#define BIT_CLEAR_SW_ICFG_8733B(x) ((x) & (~BITS_SW_ICFG_8733B))
#define BIT_GET_SW_ICFG_8733B(x) (((x) >> BIT_SHIFT_SW_ICFG_8733B) & BIT_MASK_SW_ICFG_8733B)
#define BIT_SET_SW_ICFG_8733B(x, v) (BIT_CLEAR_SW_ICFG_8733B(x) | BIT_SW_ICFG_8733B(v))

#define BIT_TEST_MOD_EN_8733B BIT(19)

#define BIT_SHIFT_SEL_0XC0_8733B 16
#define BIT_MASK_SEL_0XC0_8733B 0x3
#define BIT_SEL_0XC0_8733B(x) (((x) & BIT_MASK_SEL_0XC0_8733B) << BIT_SHIFT_SEL_0XC0_8733B)
#define BITS_SEL_0XC0_8733B (BIT_MASK_SEL_0XC0_8733B << BIT_SHIFT_SEL_0XC0_8733B)
#define BIT_CLEAR_SEL_0XC0_8733B(x) ((x) & (~BITS_SEL_0XC0_8733B))
#define BIT_GET_SEL_0XC0_8733B(x) (((x) >> BIT_SHIFT_SEL_0XC0_8733B) & BIT_MASK_SEL_0XC0_8733B)
#define BIT_SET_SEL_0XC0_8733B(x, v) (BIT_CLEAR_SEL_0XC0_8733B(x) | BIT_SEL_0XC0_8733B(v))

#define BIT_USB_OPERATION_MODE_8733B BIT(10)
#define BIT_BT_PDN_8733B BIT(9)
#define BIT_AUTO_WLPON_8733B BIT(8)
#define BIT_WL_MODE_8733B BIT(7)
#define BIT_PKG_SEL_HCI_8733B BIT(6)

#define BIT_SHIFT_HCI_SEL_8733B 4
#define BIT_MASK_HCI_SEL_8733B 0x3
#define BIT_HCI_SEL_8733B(x) (((x) & BIT_MASK_HCI_SEL_8733B) << BIT_SHIFT_HCI_SEL_8733B)
#define BITS_HCI_SEL_8733B (BIT_MASK_HCI_SEL_8733B << BIT_SHIFT_HCI_SEL_8733B)
#define BIT_CLEAR_HCI_SEL_8733B(x) ((x) & (~BITS_HCI_SEL_8733B))
#define BIT_GET_HCI_SEL_8733B(x) (((x) >> BIT_SHIFT_HCI_SEL_8733B) & BIT_MASK_HCI_SEL_8733B)
#define BIT_SET_HCI_SEL_8733B(x, v) (BIT_CLEAR_HCI_SEL_8733B(x) | BIT_HCI_SEL_8733B(v))

#define BIT_SHIFT_PAD_HCI_SEL_8733B 2
#define BIT_MASK_PAD_HCI_SEL_8733B 0x3
#define BIT_PAD_HCI_SEL_8733B(x) (((x) & BIT_MASK_PAD_HCI_SEL_8733B) << BIT_SHIFT_PAD_HCI_SEL_8733B)
#define BITS_PAD_HCI_SEL_8733B (BIT_MASK_PAD_HCI_SEL_8733B << BIT_SHIFT_PAD_HCI_SEL_8733B)
#define BIT_CLEAR_PAD_HCI_SEL_8733B(x) ((x) & (~BITS_PAD_HCI_SEL_8733B))
#define BIT_GET_PAD_HCI_SEL_8733B(x) (((x) >> BIT_SHIFT_PAD_HCI_SEL_8733B) & BIT_MASK_PAD_HCI_SEL_8733B)
#define BIT_SET_PAD_HCI_SEL_8733B(x, v) (BIT_CLEAR_PAD_HCI_SEL_8733B(x) | BIT_PAD_HCI_SEL_8733B(v))

#define BIT_SHIFT_EFS_HCI_SEL_8733B 0
#define BIT_MASK_EFS_HCI_SEL_8733B 0x3
#define BIT_EFS_HCI_SEL_8733B(x) (((x) & BIT_MASK_EFS_HCI_SEL_8733B) << BIT_SHIFT_EFS_HCI_SEL_8733B)
#define BITS_EFS_HCI_SEL_8733B (BIT_MASK_EFS_HCI_SEL_8733B << BIT_SHIFT_EFS_HCI_SEL_8733B)
#define BIT_CLEAR_EFS_HCI_SEL_8733B(x) ((x) & (~BITS_EFS_HCI_SEL_8733B))
#define BIT_GET_EFS_HCI_SEL_8733B(x) (((x) >> BIT_SHIFT_EFS_HCI_SEL_8733B) & BIT_MASK_EFS_HCI_SEL_8733B)
#define BIT_SET_EFS_HCI_SEL_8733B(x, v) (BIT_CLEAR_EFS_HCI_SEL_8733B(x) | BIT_EFS_HCI_SEL_8733B(v))

/* 2 REG_SYS_STATUS2_8733B */
#define BIT_XTAL_DETECT_EN_8733B BIT(26)
#define BIT_XTAL_DETECT_RDY_8733B BIT(25)
#define BIT_32K_OK_8733B BIT(24)
#define BIT_SIO_ALDN_8733B BIT(19)
#define BIT_USB_ALDN_8733B BIT(18)
#define BIT_PCI_ALDN_8733B BIT(17)
#define BIT_SYS_ALDN_8733B BIT(16)

#define BIT_SHIFT_EPVID1_8733B 8
#define BIT_MASK_EPVID1_8733B 0xff
#define BIT_EPVID1_8733B(x) (((x) & BIT_MASK_EPVID1_8733B) << BIT_SHIFT_EPVID1_8733B)
#define BITS_EPVID1_8733B (BIT_MASK_EPVID1_8733B << BIT_SHIFT_EPVID1_8733B)
#define BIT_CLEAR_EPVID1_8733B(x) ((x) & (~BITS_EPVID1_8733B))
#define BIT_GET_EPVID1_8733B(x) (((x) >> BIT_SHIFT_EPVID1_8733B) & BIT_MASK_EPVID1_8733B)
#define BIT_SET_EPVID1_8733B(x, v) (BIT_CLEAR_EPVID1_8733B(x) | BIT_EPVID1_8733B(v))

#define BIT_SHIFT_EPVID0_8733B 0
#define BIT_MASK_EPVID0_8733B 0xff
#define BIT_EPVID0_8733B(x) (((x) & BIT_MASK_EPVID0_8733B) << BIT_SHIFT_EPVID0_8733B)
#define BITS_EPVID0_8733B (BIT_MASK_EPVID0_8733B << BIT_SHIFT_EPVID0_8733B)
#define BIT_CLEAR_EPVID0_8733B(x) ((x) & (~BITS_EPVID0_8733B))
#define BIT_GET_EPVID0_8733B(x) (((x) >> BIT_SHIFT_EPVID0_8733B) & BIT_MASK_EPVID0_8733B)
#define BIT_SET_EPVID0_8733B(x, v) (BIT_CLEAR_EPVID0_8733B(x) | BIT_EPVID0_8733B(v))

/* 2 REG_SYS_CFG2_8733B */

#define BIT_SHIFT_HW_ID_8733B 0
#define BIT_MASK_HW_ID_8733B 0xff
#define BIT_HW_ID_8733B(x) (((x) & BIT_MASK_HW_ID_8733B) << BIT_SHIFT_HW_ID_8733B)
#define BITS_HW_ID_8733B (BIT_MASK_HW_ID_8733B << BIT_SHIFT_HW_ID_8733B)
#define BIT_CLEAR_HW_ID_8733B(x) ((x) & (~BITS_HW_ID_8733B))
#define BIT_GET_HW_ID_8733B(x) (((x) >> BIT_SHIFT_HW_ID_8733B) & BIT_MASK_HW_ID_8733B)
#define BIT_SET_HW_ID_8733B(x, v) (BIT_CLEAR_HW_ID_8733B(x) | BIT_HW_ID_8733B(v))

/* 2 REG_EXT_SYS_FUNC_EN_8733B */
#define BIT_WLCPU_INT_MASK_8733B BIT(20)
#define BIT_OPT_WDT_RST_IOWRP_8733B BIT(19)
#define BIT_IPSEC_FUNC_EN_8733B BIT(18)
#define BIT_DDMA_FUNC_EN_8733B BIT(17)
#define BIT_PLFM_FUNC_EN_8733B BIT(16)
#define BIT_PWC_WL_IRAM3_8733B BIT(13)
#define BIT_PWC_WL_IRAM2_8733B BIT(12)
#define BIT_PWC_SPDIO_OFF2_8733B BIT(11)
#define BIT_PWC_SPDIO_OFF1_8733B BIT(10)
#define BIT_PWC_SPDIO_ON_8733B BIT(9)
#define BIT_ISO_WL_IRAM3_2PP_8733B BIT(7)
#define BIT_ISO_WL_IRAM2_2PP_8733B BIT(6)
#define BIT_ISO_WLDA2PP_8733B BIT(5)
#define BIT_ISO_WLAD2PP_8733B BIT(4)
#define BIT_ISO_SDOFF2_2PP_8733B BIT(3)
#define BIT_ISO_SDOFF1_2PP_8733B BIT(2)
#define BIT_ISO_SDON2PP_8733B BIT(1)

/* 2 REG_EXT_SYS_PW_CTRL_8733B */
#define BIT_USB_SUS_LDO_VOLT_8733B BIT(5)
#define BIT_SYM_DOP_ALDM_8733B BIT(4)
#define BIT_WLSOP_ALDM_8733B BIT(3)
#define BIT_WLSOP_LDOM_8733B BIT(2)
#define BIT_WLSOP_ESLD_8733B BIT(1)
#define BIT_WLSOP_ELLD_8733B BIT(0)

/* 2 REG_EXT_SYS_CLK_CTRL_8733B */
#define BIT_R_SYM_ANA_CLK_SEL_8733B BIT(6)
#define BIT_WL_IPSEC_CKEN_8733B BIT(5)
#define BIT_WLSLP_CLK_32K_8733B BIT(4)

#define BIT_SHIFT_SEC_CLK_SEL_8733B 2
#define BIT_MASK_SEC_CLK_SEL_8733B 0x3
#define BIT_SEC_CLK_SEL_8733B(x) (((x) & BIT_MASK_SEC_CLK_SEL_8733B) << BIT_SHIFT_SEC_CLK_SEL_8733B)
#define BITS_SEC_CLK_SEL_8733B (BIT_MASK_SEC_CLK_SEL_8733B << BIT_SHIFT_SEC_CLK_SEL_8733B)
#define BIT_CLEAR_SEC_CLK_SEL_8733B(x) ((x) & (~BITS_SEC_CLK_SEL_8733B))
#define BIT_GET_SEC_CLK_SEL_8733B(x) (((x) >> BIT_SHIFT_SEC_CLK_SEL_8733B) & BIT_MASK_SEC_CLK_SEL_8733B)
#define BIT_SET_SEC_CLK_SEL_8733B(x, v) (BIT_CLEAR_SEC_CLK_SEL_8733B(x) | BIT_SEC_CLK_SEL_8733B(v))

#define BIT_WL_PLFM_CKEN_8733B BIT(1)
#define BIT_WL_32L_LP_XTAL_8733B BIT(0)

/* 2 REG_NOT_VALID_8733B */

#define BIT_SHIFT_SEC_CHECK1_8733B 8
#define BIT_MASK_SEC_CHECK1_8733B 0xff
#define BIT_SEC_CHECK1_8733B(x) (((x) & BIT_MASK_SEC_CHECK1_8733B) << BIT_SHIFT_SEC_CHECK1_8733B)
#define BITS_SEC_CHECK1_8733B (BIT_MASK_SEC_CHECK1_8733B << BIT_SHIFT_SEC_CHECK1_8733B)
#define BIT_CLEAR_SEC_CHECK1_8733B(x) ((x) & (~BITS_SEC_CHECK1_8733B))
#define BIT_GET_SEC_CHECK1_8733B(x) (((x) >> BIT_SHIFT_SEC_CHECK1_8733B) & BIT_MASK_SEC_CHECK1_8733B)
#define BIT_SET_SEC_CHECK1_8733B(x, v) (BIT_CLEAR_SEC_CHECK1_8733B(x) | BIT_SEC_CHECK1_8733B(v))

#define BIT_SHIFT_SEC_CHECK0_8733B 0
#define BIT_MASK_SEC_CHECK0_8733B 0xff
#define BIT_SEC_CHECK0_8733B(x) (((x) & BIT_MASK_SEC_CHECK0_8733B) << BIT_SHIFT_SEC_CHECK0_8733B)
#define BITS_SEC_CHECK0_8733B (BIT_MASK_SEC_CHECK0_8733B << BIT_SHIFT_SEC_CHECK0_8733B)
#define BIT_CLEAR_SEC_CHECK0_8733B(x) ((x) & (~BITS_SEC_CHECK0_8733B))
#define BIT_GET_SEC_CHECK0_8733B(x) (((x) >> BIT_SHIFT_SEC_CHECK0_8733B) & BIT_MASK_SEC_CHECK0_8733B)
#define BIT_SET_SEC_CHECK0_8733B(x, v) (BIT_CLEAR_SEC_CHECK0_8733B(x) | BIT_SEC_CHECK0_8733B(v))

/* 2 REG_ANAPARSW_MAC_ON_0_8733B */
#define BIT_PFMCMP_IQ_8733B BIT(31)
#define BIT_REG_EXTERNAL_CLK_SEL_L_8733B BIT(30)
#define BIT_OFF_END_SEL_8733B BIT(29)
#define BIT_POW_MINOFF_L_8733B BIT(28)

#define BIT_SHIFT_COT_I_L_8733B 26
#define BIT_MASK_COT_I_L_8733B 0x3
#define BIT_COT_I_L_8733B(x) (((x) & BIT_MASK_COT_I_L_8733B) << BIT_SHIFT_COT_I_L_8733B)
#define BITS_COT_I_L_8733B (BIT_MASK_COT_I_L_8733B << BIT_SHIFT_COT_I_L_8733B)
#define BIT_CLEAR_COT_I_L_8733B(x) ((x) & (~BITS_COT_I_L_8733B))
#define BIT_GET_COT_I_L_8733B(x) (((x) >> BIT_SHIFT_COT_I_L_8733B) & BIT_MASK_COT_I_L_8733B)
#define BIT_SET_COT_I_L_8733B(x, v) (BIT_CLEAR_COT_I_L_8733B(x) | BIT_COT_I_L_8733B(v))

#define BIT_SHIFT_VREFPFM_L_8733B 22
#define BIT_MASK_VREFPFM_L_8733B 0xf
#define BIT_VREFPFM_L_8733B(x) (((x) & BIT_MASK_VREFPFM_L_8733B) << BIT_SHIFT_VREFPFM_L_8733B)
#define BITS_VREFPFM_L_8733B (BIT_MASK_VREFPFM_L_8733B << BIT_SHIFT_VREFPFM_L_8733B)
#define BIT_CLEAR_VREFPFM_L_8733B(x) ((x) & (~BITS_VREFPFM_L_8733B))
#define BIT_GET_VREFPFM_L_8733B(x) (((x) >> BIT_SHIFT_VREFPFM_L_8733B) & BIT_MASK_VREFPFM_L_8733B)
#define BIT_SET_VREFPFM_L_8733B(x, v) (BIT_CLEAR_VREFPFM_L_8733B(x) | BIT_VREFPFM_L_8733B(v))

#define BIT_FORCE_ZCD_BIAS_8733B BIT(21)

#define BIT_SHIFT_ZCD_SDZ_L_8733B 19
#define BIT_MASK_ZCD_SDZ_L_8733B 0x3
#define BIT_ZCD_SDZ_L_8733B(x) (((x) & BIT_MASK_ZCD_SDZ_L_8733B) << BIT_SHIFT_ZCD_SDZ_L_8733B)
#define BITS_ZCD_SDZ_L_8733B (BIT_MASK_ZCD_SDZ_L_8733B << BIT_SHIFT_ZCD_SDZ_L_8733B)
#define BIT_CLEAR_ZCD_SDZ_L_8733B(x) ((x) & (~BITS_ZCD_SDZ_L_8733B))
#define BIT_GET_ZCD_SDZ_L_8733B(x) (((x) >> BIT_SHIFT_ZCD_SDZ_L_8733B) & BIT_MASK_ZCD_SDZ_L_8733B)
#define BIT_SET_ZCD_SDZ_L_8733B(x, v) (BIT_CLEAR_ZCD_SDZ_L_8733B(x) | BIT_ZCD_SDZ_L_8733B(v))

#define BIT_SHIFT_REG_ZCDC_H_8733B 17
#define BIT_MASK_REG_ZCDC_H_8733B 0x3
#define BIT_REG_ZCDC_H_8733B(x) (((x) & BIT_MASK_REG_ZCDC_H_8733B) << BIT_SHIFT_REG_ZCDC_H_8733B)
#define BITS_REG_ZCDC_H_8733B (BIT_MASK_REG_ZCDC_H_8733B << BIT_SHIFT_REG_ZCDC_H_8733B)
#define BIT_CLEAR_REG_ZCDC_H_8733B(x) ((x) & (~BITS_REG_ZCDC_H_8733B))
#define BIT_GET_REG_ZCDC_H_8733B(x) (((x) >> BIT_SHIFT_REG_ZCDC_H_8733B) & BIT_MASK_REG_ZCDC_H_8733B)
#define BIT_SET_REG_ZCDC_H_8733B(x, v) (BIT_CLEAR_REG_ZCDC_H_8733B(x) | BIT_REG_ZCDC_H_8733B(v))

#define BIT_POW_ZCD_L_8733B BIT(16)

#define BIT_SHIFT_OCP_L1_8733B 13
#define BIT_MASK_OCP_L1_8733B 0x7
#define BIT_OCP_L1_8733B(x) (((x) & BIT_MASK_OCP_L1_8733B) << BIT_SHIFT_OCP_L1_8733B)
#define BITS_OCP_L1_8733B (BIT_MASK_OCP_L1_8733B << BIT_SHIFT_OCP_L1_8733B)
#define BIT_CLEAR_OCP_L1_8733B(x) ((x) & (~BITS_OCP_L1_8733B))
#define BIT_GET_OCP_L1_8733B(x) (((x) >> BIT_SHIFT_OCP_L1_8733B) & BIT_MASK_OCP_L1_8733B)
#define BIT_SET_OCP_L1_8733B(x, v) (BIT_CLEAR_OCP_L1_8733B(x) | BIT_OCP_L1_8733B(v))

#define BIT_POWOCP_L1_8733B BIT(12)

#define BIT_SHIFT_SAW_FREQ_L_8733B 8
#define BIT_MASK_SAW_FREQ_L_8733B 0xf
#define BIT_SAW_FREQ_L_8733B(x) (((x) & BIT_MASK_SAW_FREQ_L_8733B) << BIT_SHIFT_SAW_FREQ_L_8733B)
#define BITS_SAW_FREQ_L_8733B (BIT_MASK_SAW_FREQ_L_8733B << BIT_SHIFT_SAW_FREQ_L_8733B)
#define BIT_CLEAR_SAW_FREQ_L_8733B(x) ((x) & (~BITS_SAW_FREQ_L_8733B))
#define BIT_GET_SAW_FREQ_L_8733B(x) (((x) >> BIT_SHIFT_SAW_FREQ_L_8733B) & BIT_MASK_SAW_FREQ_L_8733B)
#define BIT_SET_SAW_FREQ_L_8733B(x, v) (BIT_CLEAR_SAW_FREQ_L_8733B(x) | BIT_SAW_FREQ_L_8733B(v))

#define BIT_REG_BYPASS_L_8733B BIT(7)
#define BIT_FPWM_L1_8733B BIT(6)

#define BIT_SHIFT_STD_L1_8733B 4
#define BIT_MASK_STD_L1_8733B 0x3
#define BIT_STD_L1_8733B(x) (((x) & BIT_MASK_STD_L1_8733B) << BIT_SHIFT_STD_L1_8733B)
#define BITS_STD_L1_8733B (BIT_MASK_STD_L1_8733B << BIT_SHIFT_STD_L1_8733B)
#define BIT_CLEAR_STD_L1_8733B(x) ((x) & (~BITS_STD_L1_8733B))
#define BIT_GET_STD_L1_8733B(x) (((x) >> BIT_SHIFT_STD_L1_8733B) & BIT_MASK_STD_L1_8733B)
#define BIT_SET_STD_L1_8733B(x, v) (BIT_CLEAR_STD_L1_8733B(x) | BIT_STD_L1_8733B(v))

#define BIT_SHIFT_VOL_L1_8733B 0
#define BIT_MASK_VOL_L1_8733B 0xf
#define BIT_VOL_L1_8733B(x) (((x) & BIT_MASK_VOL_L1_8733B) << BIT_SHIFT_VOL_L1_8733B)
#define BITS_VOL_L1_8733B (BIT_MASK_VOL_L1_8733B << BIT_SHIFT_VOL_L1_8733B)
#define BIT_CLEAR_VOL_L1_8733B(x) ((x) & (~BITS_VOL_L1_8733B))
#define BIT_GET_VOL_L1_8733B(x) (((x) >> BIT_SHIFT_VOL_L1_8733B) & BIT_MASK_VOL_L1_8733B)
#define BIT_SET_VOL_L1_8733B(x, v) (BIT_CLEAR_VOL_L1_8733B(x) | BIT_VOL_L1_8733B(v))

/* 2 REG_ANAPARSW_MAC_ON_1_8733B */

#define BIT_SHIFT_SN_N_L_8733B 28
#define BIT_MASK_SN_N_L_8733B 0xf
#define BIT_SN_N_L_8733B(x) (((x) & BIT_MASK_SN_N_L_8733B) << BIT_SHIFT_SN_N_L_8733B)
#define BITS_SN_N_L_8733B (BIT_MASK_SN_N_L_8733B << BIT_SHIFT_SN_N_L_8733B)
#define BIT_CLEAR_SN_N_L_8733B(x) ((x) & (~BITS_SN_N_L_8733B))
#define BIT_GET_SN_N_L_8733B(x) (((x) >> BIT_SHIFT_SN_N_L_8733B) & BIT_MASK_SN_N_L_8733B)
#define BIT_SET_SN_N_L_8733B(x, v) (BIT_CLEAR_SN_N_L_8733B(x) | BIT_SN_N_L_8733B(v))

#define BIT_SHIFT_SP_N_L_8733B 24
#define BIT_MASK_SP_N_L_8733B 0xf
#define BIT_SP_N_L_8733B(x) (((x) & BIT_MASK_SP_N_L_8733B) << BIT_SHIFT_SP_N_L_8733B)
#define BITS_SP_N_L_8733B (BIT_MASK_SP_N_L_8733B << BIT_SHIFT_SP_N_L_8733B)
#define BIT_CLEAR_SP_N_L_8733B(x) ((x) & (~BITS_SP_N_L_8733B))
#define BIT_GET_SP_N_L_8733B(x) (((x) >> BIT_SHIFT_SP_N_L_8733B) & BIT_MASK_SP_N_L_8733B)
#define BIT_SET_SP_N_L_8733B(x, v) (BIT_CLEAR_SP_N_L_8733B(x) | BIT_SP_N_L_8733B(v))

#define BIT_SHIFT_SN_P_L_8733B 20
#define BIT_MASK_SN_P_L_8733B 0xf
#define BIT_SN_P_L_8733B(x) (((x) & BIT_MASK_SN_P_L_8733B) << BIT_SHIFT_SN_P_L_8733B)
#define BITS_SN_P_L_8733B (BIT_MASK_SN_P_L_8733B << BIT_SHIFT_SN_P_L_8733B)
#define BIT_CLEAR_SN_P_L_8733B(x) ((x) & (~BITS_SN_P_L_8733B))
#define BIT_GET_SN_P_L_8733B(x) (((x) >> BIT_SHIFT_SN_P_L_8733B) & BIT_MASK_SN_P_L_8733B)
#define BIT_SET_SN_P_L_8733B(x, v) (BIT_CLEAR_SN_P_L_8733B(x) | BIT_SN_P_L_8733B(v))

#define BIT_SHIFT_SP_P_L_8733B 16
#define BIT_MASK_SP_P_L_8733B 0xf
#define BIT_SP_P_L_8733B(x) (((x) & BIT_MASK_SP_P_L_8733B) << BIT_SHIFT_SP_P_L_8733B)
#define BITS_SP_P_L_8733B (BIT_MASK_SP_P_L_8733B << BIT_SHIFT_SP_P_L_8733B)
#define BIT_CLEAR_SP_P_L_8733B(x) ((x) & (~BITS_SP_P_L_8733B))
#define BIT_GET_SP_P_L_8733B(x) (((x) >> BIT_SHIFT_SP_P_L_8733B) & BIT_MASK_SP_P_L_8733B)
#define BIT_SET_SP_P_L_8733B(x, v) (BIT_CLEAR_SP_P_L_8733B(x) | BIT_SP_P_L_8733B(v))

#define BIT_VO_DISCHG_PWM_H_8733B BIT(15)
#define BIT_REG_MODE_PREDRIVER_8733B BIT(14)

#define BIT_SHIFT_REG_ADJSLDO_L_8733B 10
#define BIT_MASK_REG_ADJSLDO_L_8733B 0xf
#define BIT_REG_ADJSLDO_L_8733B(x) (((x) & BIT_MASK_REG_ADJSLDO_L_8733B) << BIT_SHIFT_REG_ADJSLDO_L_8733B)
#define BITS_REG_ADJSLDO_L_8733B (BIT_MASK_REG_ADJSLDO_L_8733B << BIT_SHIFT_REG_ADJSLDO_L_8733B)
#define BIT_CLEAR_REG_ADJSLDO_L_8733B(x) ((x) & (~BITS_REG_ADJSLDO_L_8733B))
#define BIT_GET_REG_ADJSLDO_L_8733B(x) (((x) >> BIT_SHIFT_REG_ADJSLDO_L_8733B) & BIT_MASK_REG_ADJSLDO_L_8733B)
#define BIT_SET_REG_ADJSLDO_L_8733B(x, v) (BIT_CLEAR_REG_ADJSLDO_L_8733B(x) | BIT_REG_ADJSLDO_L_8733B(v))

#define BIT_REG_LDOR_L_8733B BIT(9)
#define BIT_PWM_FORCE_8733B BIT(8)
#define BIT_PFM_PD_RST_8733B BIT(7)
#define BIT_VC_PFM_RSTB_8733B BIT(6)
#define BIT_PFM_IN_SEL_8733B BIT(5)
#define BIT_VC_RSTB_8733B BIT(4)
#define BIT_FPWMDELAY_8733B BIT(3)
#define BIT_ENFPWMDELAY_H_8733B BIT(2)
#define BIT_REG_MOS_HALF_L_8733B BIT(1)
#define BIT_CURRENT_SENSE_MOS_8733B BIT(0)

/* 2 REG_ANAPARSW_MAC_0_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_ANAPARSW_MAC_1_8733B */
#define BIT_AGPIO_GPO_8733B BIT(31)
#define BIT_AGPIO_GPE_8733B BIT(30)

#define BIT_SHIFT_AGPIO_DRV_8733B 28
#define BIT_MASK_AGPIO_DRV_8733B 0x3
#define BIT_AGPIO_DRV_8733B(x) (((x) & BIT_MASK_AGPIO_DRV_8733B) << BIT_SHIFT_AGPIO_DRV_8733B)
#define BITS_AGPIO_DRV_8733B (BIT_MASK_AGPIO_DRV_8733B << BIT_SHIFT_AGPIO_DRV_8733B)
#define BIT_CLEAR_AGPIO_DRV_8733B(x) ((x) & (~BITS_AGPIO_DRV_8733B))
#define BIT_GET_AGPIO_DRV_8733B(x) (((x) >> BIT_SHIFT_AGPIO_DRV_8733B) & BIT_MASK_AGPIO_DRV_8733B)
#define BIT_SET_AGPIO_DRV_8733B(x, v) (BIT_CLEAR_AGPIO_DRV_8733B(x) | BIT_AGPIO_DRV_8733B(v))

#define BIT_SYN_AGPIO_8733B BIT(27)

/* 2 REG_NOT_VALID_8733B */
#define BIT_VPULSE_LDO_BUF_8733B BIT(24)
#define BIT_VPULSE_LDO_PLL_8733B BIT(23)

#define BIT_SHIFT_LDO_OUT_BUF_8733B 21
#define BIT_MASK_LDO_OUT_BUF_8733B 0x3
#define BIT_LDO_OUT_BUF_8733B(x) (((x) & BIT_MASK_LDO_OUT_BUF_8733B) << BIT_SHIFT_LDO_OUT_BUF_8733B)
#define BITS_LDO_OUT_BUF_8733B (BIT_MASK_LDO_OUT_BUF_8733B << BIT_SHIFT_LDO_OUT_BUF_8733B)
#define BIT_CLEAR_LDO_OUT_BUF_8733B(x) ((x) & (~BITS_LDO_OUT_BUF_8733B))
#define BIT_GET_LDO_OUT_BUF_8733B(x) (((x) >> BIT_SHIFT_LDO_OUT_BUF_8733B) & BIT_MASK_LDO_OUT_BUF_8733B)
#define BIT_SET_LDO_OUT_BUF_8733B(x, v) (BIT_CLEAR_LDO_OUT_BUF_8733B(x) | BIT_LDO_OUT_BUF_8733B(v))

#define BIT_SHIFT_LDO_OUT_PLL_8733B 19
#define BIT_MASK_LDO_OUT_PLL_8733B 0x3
#define BIT_LDO_OUT_PLL_8733B(x) (((x) & BIT_MASK_LDO_OUT_PLL_8733B) << BIT_SHIFT_LDO_OUT_PLL_8733B)
#define BITS_LDO_OUT_PLL_8733B (BIT_MASK_LDO_OUT_PLL_8733B << BIT_SHIFT_LDO_OUT_PLL_8733B)
#define BIT_CLEAR_LDO_OUT_PLL_8733B(x) ((x) & (~BITS_LDO_OUT_PLL_8733B))
#define BIT_GET_LDO_OUT_PLL_8733B(x) (((x) >> BIT_SHIFT_LDO_OUT_PLL_8733B) & BIT_MASK_LDO_OUT_PLL_8733B)
#define BIT_SET_LDO_OUT_PLL_8733B(x, v) (BIT_CLEAR_LDO_OUT_PLL_8733B(x) | BIT_LDO_OUT_PLL_8733B(v))

#define BIT_LDO2PWRCUT_BUF_8733B BIT(18)
#define BIT_LDO2PWRCUT_PLL_8733B BIT(17)
#define BIT_POW_LDO_BUF_8733B BIT(16)
#define BIT_POW_LDO_PLL_8733B BIT(15)

#define BIT_SHIFT_XTAL_GM_REP_8733B 13
#define BIT_MASK_XTAL_GM_REP_8733B 0x3
#define BIT_XTAL_GM_REP_8733B(x) (((x) & BIT_MASK_XTAL_GM_REP_8733B) << BIT_SHIFT_XTAL_GM_REP_8733B)
#define BITS_XTAL_GM_REP_8733B (BIT_MASK_XTAL_GM_REP_8733B << BIT_SHIFT_XTAL_GM_REP_8733B)
#define BIT_CLEAR_XTAL_GM_REP_8733B(x) ((x) & (~BITS_XTAL_GM_REP_8733B))
#define BIT_GET_XTAL_GM_REP_8733B(x) (((x) >> BIT_SHIFT_XTAL_GM_REP_8733B) & BIT_MASK_XTAL_GM_REP_8733B)
#define BIT_SET_XTAL_GM_REP_8733B(x, v) (BIT_CLEAR_XTAL_GM_REP_8733B(x) | BIT_XTAL_GM_REP_8733B(v))

#define BIT_XTAL_DRV_RF_LATCH_NC_8733B BIT(12)
#define BIT_XTAL_LP_8733B BIT(11)
#define BIT_XTAL_GM_SEP_NC_8733B BIT(10)

#define BIT_SHIFT_XTAL_SEL_TOK_NC_8733B 7
#define BIT_MASK_XTAL_SEL_TOK_NC_8733B 0x7
#define BIT_XTAL_SEL_TOK_NC_8733B(x) (((x) & BIT_MASK_XTAL_SEL_TOK_NC_8733B) << BIT_SHIFT_XTAL_SEL_TOK_NC_8733B)
#define BITS_XTAL_SEL_TOK_NC_8733B (BIT_MASK_XTAL_SEL_TOK_NC_8733B << BIT_SHIFT_XTAL_SEL_TOK_NC_8733B)
#define BIT_CLEAR_XTAL_SEL_TOK_NC_8733B(x) ((x) & (~BITS_XTAL_SEL_TOK_NC_8733B))
#define BIT_GET_XTAL_SEL_TOK_NC_8733B(x) (((x) >> BIT_SHIFT_XTAL_SEL_TOK_NC_8733B) & BIT_MASK_XTAL_SEL_TOK_NC_8733B)
#define BIT_SET_XTAL_SEL_TOK_NC_8733B(x, v) (BIT_CLEAR_XTAL_SEL_TOK_NC_8733B(x) | BIT_XTAL_SEL_TOK_NC_8733B(v))

#define BIT_SHIFT_XTAL_CAP_XO_8733B 1
#define BIT_MASK_XTAL_CAP_XO_8733B 0x3f
#define BIT_XTAL_CAP_XO_8733B(x) (((x) & BIT_MASK_XTAL_CAP_XO_8733B) << BIT_SHIFT_XTAL_CAP_XO_8733B)
#define BITS_XTAL_CAP_XO_8733B (BIT_MASK_XTAL_CAP_XO_8733B << BIT_SHIFT_XTAL_CAP_XO_8733B)
#define BIT_CLEAR_XTAL_CAP_XO_8733B(x) ((x) & (~BITS_XTAL_CAP_XO_8733B))
#define BIT_GET_XTAL_CAP_XO_8733B(x) (((x) >> BIT_SHIFT_XTAL_CAP_XO_8733B) & BIT_MASK_XTAL_CAP_XO_8733B)
#define BIT_SET_XTAL_CAP_XO_8733B(x, v) (BIT_CLEAR_XTAL_CAP_XO_8733B(x) | BIT_XTAL_CAP_XO_8733B(v))

#define BIT_XTAL_CAP_XI_8733B BIT(0)

/* 2 REG_ANAPARSW_MAC_2_8733B */

#define BIT_SHIFT_DIVN_SDM_8733B 26
#define BIT_MASK_DIVN_SDM_8733B 0x3f
#define BIT_DIVN_SDM_8733B(x) (((x) & BIT_MASK_DIVN_SDM_8733B) << BIT_SHIFT_DIVN_SDM_8733B)
#define BITS_DIVN_SDM_8733B (BIT_MASK_DIVN_SDM_8733B << BIT_SHIFT_DIVN_SDM_8733B)
#define BIT_CLEAR_DIVN_SDM_8733B(x) ((x) & (~BITS_DIVN_SDM_8733B))
#define BIT_GET_DIVN_SDM_8733B(x) (((x) >> BIT_SHIFT_DIVN_SDM_8733B) & BIT_MASK_DIVN_SDM_8733B)
#define BIT_SET_DIVN_SDM_8733B(x, v) (BIT_CLEAR_DIVN_SDM_8733B(x) | BIT_DIVN_SDM_8733B(v))

#define BIT_SHIFT_BB_REF_SEL_AFE_SDM_8733B 22
#define BIT_MASK_BB_REF_SEL_AFE_SDM_8733B 0xf
#define BIT_BB_REF_SEL_AFE_SDM_8733B(x) (((x) & BIT_MASK_BB_REF_SEL_AFE_SDM_8733B) << BIT_SHIFT_BB_REF_SEL_AFE_SDM_8733B)
#define BITS_BB_REF_SEL_AFE_SDM_8733B (BIT_MASK_BB_REF_SEL_AFE_SDM_8733B << BIT_SHIFT_BB_REF_SEL_AFE_SDM_8733B)
#define BIT_CLEAR_BB_REF_SEL_AFE_SDM_8733B(x) ((x) & (~BITS_BB_REF_SEL_AFE_SDM_8733B))
#define BIT_GET_BB_REF_SEL_AFE_SDM_8733B(x) (((x) >> BIT_SHIFT_BB_REF_SEL_AFE_SDM_8733B) & BIT_MASK_BB_REF_SEL_AFE_SDM_8733B)
#define BIT_SET_BB_REF_SEL_AFE_SDM_8733B(x, v) (BIT_CLEAR_BB_REF_SEL_AFE_SDM_8733B(x) | BIT_BB_REF_SEL_AFE_SDM_8733B(v))

#define BIT_SHIFT_BB_DBG_SEL_AFE_SDM_8733B 18
#define BIT_MASK_BB_DBG_SEL_AFE_SDM_8733B 0xf
#define BIT_BB_DBG_SEL_AFE_SDM_8733B(x) (((x) & BIT_MASK_BB_DBG_SEL_AFE_SDM_8733B) << BIT_SHIFT_BB_DBG_SEL_AFE_SDM_8733B)
#define BITS_BB_DBG_SEL_AFE_SDM_8733B (BIT_MASK_BB_DBG_SEL_AFE_SDM_8733B << BIT_SHIFT_BB_DBG_SEL_AFE_SDM_8733B)
#define BIT_CLEAR_BB_DBG_SEL_AFE_SDM_8733B(x) ((x) & (~BITS_BB_DBG_SEL_AFE_SDM_8733B))
#define BIT_GET_BB_DBG_SEL_AFE_SDM_8733B(x) (((x) >> BIT_SHIFT_BB_DBG_SEL_AFE_SDM_8733B) & BIT_MASK_BB_DBG_SEL_AFE_SDM_8733B)
#define BIT_SET_BB_DBG_SEL_AFE_SDM_8733B(x, v) (BIT_CLEAR_BB_DBG_SEL_AFE_SDM_8733B(x) | BIT_BB_DBG_SEL_AFE_SDM_8733B(v))

#define BIT_REF_SEL_SDM_8733B BIT(17)
#define BIT_REG_FREF_EDGE_8733B BIT(16)

#define BIT_SHIFT_REG_RS_SEL_8733B 13
#define BIT_MASK_REG_RS_SEL_8733B 0x7
#define BIT_REG_RS_SEL_8733B(x) (((x) & BIT_MASK_REG_RS_SEL_8733B) << BIT_SHIFT_REG_RS_SEL_8733B)
#define BITS_REG_RS_SEL_8733B (BIT_MASK_REG_RS_SEL_8733B << BIT_SHIFT_REG_RS_SEL_8733B)
#define BIT_CLEAR_REG_RS_SEL_8733B(x) ((x) & (~BITS_REG_RS_SEL_8733B))
#define BIT_GET_REG_RS_SEL_8733B(x) (((x) >> BIT_SHIFT_REG_RS_SEL_8733B) & BIT_MASK_REG_RS_SEL_8733B)
#define BIT_SET_REG_RS_SEL_8733B(x, v) (BIT_CLEAR_REG_RS_SEL_8733B(x) | BIT_REG_RS_SEL_8733B(v))

#define BIT_REG_DOGENB_8733B BIT(12)

/* 2 REG_NOT_VALID_8733B */

#define BIT_SHIFT_REG_CP_BIAS_8733B 8
#define BIT_MASK_REG_CP_BIAS_8733B 0x7
#define BIT_REG_CP_BIAS_8733B(x) (((x) & BIT_MASK_REG_CP_BIAS_8733B) << BIT_SHIFT_REG_CP_BIAS_8733B)
#define BITS_REG_CP_BIAS_8733B (BIT_MASK_REG_CP_BIAS_8733B << BIT_SHIFT_REG_CP_BIAS_8733B)
#define BIT_CLEAR_REG_CP_BIAS_8733B(x) ((x) & (~BITS_REG_CP_BIAS_8733B))
#define BIT_GET_REG_CP_BIAS_8733B(x) (((x) >> BIT_SHIFT_REG_CP_BIAS_8733B) & BIT_MASK_REG_CP_BIAS_8733B)
#define BIT_SET_REG_CP_BIAS_8733B(x, v) (BIT_CLEAR_REG_CP_BIAS_8733B(x) | BIT_REG_CP_BIAS_8733B(v))

/* 2 REG_NOT_VALID_8733B */
#define BIT_REG_ADCK_DACK_SYN_EN_8733B BIT(6)

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

#define BIT_SHIFT_REG_SEL_V_8733B 1
#define BIT_MASK_REG_SEL_V_8733B 0x3
#define BIT_REG_SEL_V_8733B(x) (((x) & BIT_MASK_REG_SEL_V_8733B) << BIT_SHIFT_REG_SEL_V_8733B)
#define BITS_REG_SEL_V_8733B (BIT_MASK_REG_SEL_V_8733B << BIT_SHIFT_REG_SEL_V_8733B)
#define BIT_CLEAR_REG_SEL_V_8733B(x) ((x) & (~BITS_REG_SEL_V_8733B))
#define BIT_GET_REG_SEL_V_8733B(x) (((x) >> BIT_SHIFT_REG_SEL_V_8733B) & BIT_MASK_REG_SEL_V_8733B)
#define BIT_SET_REG_SEL_V_8733B(x, v) (BIT_CLEAR_REG_SEL_V_8733B(x) | BIT_REG_SEL_V_8733B(v))

#define BIT_REG_SEL_LDO_PC_8733B BIT(0)

/* 2 REG_ANAPARSW_MAC_3_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

#define BIT_SHIFT_DITHER_SDM_8733B 23
#define BIT_MASK_DITHER_SDM_8733B 0xf
#define BIT_DITHER_SDM_8733B(x) (((x) & BIT_MASK_DITHER_SDM_8733B) << BIT_SHIFT_DITHER_SDM_8733B)
#define BITS_DITHER_SDM_8733B (BIT_MASK_DITHER_SDM_8733B << BIT_SHIFT_DITHER_SDM_8733B)
#define BIT_CLEAR_DITHER_SDM_8733B(x) ((x) & (~BITS_DITHER_SDM_8733B))
#define BIT_GET_DITHER_SDM_8733B(x) (((x) >> BIT_SHIFT_DITHER_SDM_8733B) & BIT_MASK_DITHER_SDM_8733B)
#define BIT_SET_DITHER_SDM_8733B(x, v) (BIT_CLEAR_DITHER_SDM_8733B(x) | BIT_DITHER_SDM_8733B(v))

#define BIT_ORDER_SDM_8733B BIT(22)
#define BIT_REG_FREF_SEL_8733B BIT(21)
#define BIT_REG_PSEN_8733B BIT(20)

#define BIT_SHIFT_REG_PS_8733B 17
#define BIT_MASK_REG_PS_8733B 0x7
#define BIT_REG_PS_8733B(x) (((x) & BIT_MASK_REG_PS_8733B) << BIT_SHIFT_REG_PS_8733B)
#define BITS_REG_PS_8733B (BIT_MASK_REG_PS_8733B << BIT_SHIFT_REG_PS_8733B)
#define BIT_CLEAR_REG_PS_8733B(x) ((x) & (~BITS_REG_PS_8733B))
#define BIT_GET_REG_PS_8733B(x) (((x) >> BIT_SHIFT_REG_PS_8733B) & BIT_MASK_REG_PS_8733B)
#define BIT_SET_REG_PS_8733B(x, v) (BIT_CLEAR_REG_PS_8733B(x) | BIT_REG_PS_8733B(v))

#define BIT_REG_CK_BT_WIFI_EN_8733B BIT(16)

#define BIT_SHIFT_F0N_SDM_8733B 13
#define BIT_MASK_F0N_SDM_8733B 0x7
#define BIT_F0N_SDM_8733B(x) (((x) & BIT_MASK_F0N_SDM_8733B) << BIT_SHIFT_F0N_SDM_8733B)
#define BITS_F0N_SDM_8733B (BIT_MASK_F0N_SDM_8733B << BIT_SHIFT_F0N_SDM_8733B)
#define BIT_CLEAR_F0N_SDM_8733B(x) ((x) & (~BITS_F0N_SDM_8733B))
#define BIT_GET_F0N_SDM_8733B(x) (((x) >> BIT_SHIFT_F0N_SDM_8733B) & BIT_MASK_F0N_SDM_8733B)
#define BIT_SET_F0N_SDM_8733B(x, v) (BIT_CLEAR_F0N_SDM_8733B(x) | BIT_F0N_SDM_8733B(v))

#define BIT_SHIFT_F0F_SDM_8733B 0
#define BIT_MASK_F0F_SDM_8733B 0x1fff
#define BIT_F0F_SDM_8733B(x) (((x) & BIT_MASK_F0F_SDM_8733B) << BIT_SHIFT_F0F_SDM_8733B)
#define BITS_F0F_SDM_8733B (BIT_MASK_F0F_SDM_8733B << BIT_SHIFT_F0F_SDM_8733B)
#define BIT_CLEAR_F0F_SDM_8733B(x) ((x) & (~BITS_F0F_SDM_8733B))
#define BIT_GET_F0F_SDM_8733B(x) (((x) >> BIT_SHIFT_F0F_SDM_8733B) & BIT_MASK_F0F_SDM_8733B)
#define BIT_SET_F0F_SDM_8733B(x, v) (BIT_CLEAR_F0F_SDM_8733B(x) | BIT_F0F_SDM_8733B(v))

/* 2 REG_ANAPARSW_MAC_4_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */
#define BIT_VPULSE_LDO_DAC_8733B BIT(9)
#define BIT_VPULSE_LDO_ADC_8733B BIT(8)

#define BIT_SHIFT_LDO_OUT_DAC_8733B 6
#define BIT_MASK_LDO_OUT_DAC_8733B 0x3
#define BIT_LDO_OUT_DAC_8733B(x) (((x) & BIT_MASK_LDO_OUT_DAC_8733B) << BIT_SHIFT_LDO_OUT_DAC_8733B)
#define BITS_LDO_OUT_DAC_8733B (BIT_MASK_LDO_OUT_DAC_8733B << BIT_SHIFT_LDO_OUT_DAC_8733B)
#define BIT_CLEAR_LDO_OUT_DAC_8733B(x) ((x) & (~BITS_LDO_OUT_DAC_8733B))
#define BIT_GET_LDO_OUT_DAC_8733B(x) (((x) >> BIT_SHIFT_LDO_OUT_DAC_8733B) & BIT_MASK_LDO_OUT_DAC_8733B)
#define BIT_SET_LDO_OUT_DAC_8733B(x, v) (BIT_CLEAR_LDO_OUT_DAC_8733B(x) | BIT_LDO_OUT_DAC_8733B(v))

#define BIT_SHIFT_LDO_OUT_ADC_8733B 4
#define BIT_MASK_LDO_OUT_ADC_8733B 0x3
#define BIT_LDO_OUT_ADC_8733B(x) (((x) & BIT_MASK_LDO_OUT_ADC_8733B) << BIT_SHIFT_LDO_OUT_ADC_8733B)
#define BITS_LDO_OUT_ADC_8733B (BIT_MASK_LDO_OUT_ADC_8733B << BIT_SHIFT_LDO_OUT_ADC_8733B)
#define BIT_CLEAR_LDO_OUT_ADC_8733B(x) ((x) & (~BITS_LDO_OUT_ADC_8733B))
#define BIT_GET_LDO_OUT_ADC_8733B(x) (((x) >> BIT_SHIFT_LDO_OUT_ADC_8733B) & BIT_MASK_LDO_OUT_ADC_8733B)
#define BIT_SET_LDO_OUT_ADC_8733B(x, v) (BIT_CLEAR_LDO_OUT_ADC_8733B(x) | BIT_LDO_OUT_ADC_8733B(v))

#define BIT_LDO2PWRCUT_DAC_8733B BIT(3)
#define BIT_LDO2PWRCUT_ADC_8733B BIT(2)
#define BIT_POW_LDO_DAC_8733B BIT(1)
#define BIT_POW_LDO_ADC_8733B BIT(0)

/* 2 REG_ANAPARSW_MAC_5_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_ANAPARSW_MAC_6_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_ANAPARSW_MAC_7_8733B */
#define BIT_NEED_CHECK_CKO_IQK_8733B BIT(31)
#define BIT_NEED_CHECK_AFE_8733B BIT(30)

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_ANAPARSW_MAC_8_8733B */
#define BIT_REG_CK_MON_SEL_8733B BIT(5)
#define BIT_REG_CKMON_EN_8733B BIT(4)
#define BIT_REG_CK320MB_EN_8733B BIT(3)
#define BIT_REG_CK320M_EN_8733B BIT(2)
#define BIT_REG_CK_5M_EN_8733B BIT(1)
#define BIT_REG_TESTEN_8733B BIT(0)

/* 2 REG_WL_ANAPAR_XTAL_ON_0_8733B */
#define BIT_XTAL_SC_LPS_L_8733B BIT(31)

#define BIT_SHIFT_XTAL_SC_INIT_8733B 24
#define BIT_MASK_XTAL_SC_INIT_8733B 0x7f
#define BIT_XTAL_SC_INIT_8733B(x) (((x) & BIT_MASK_XTAL_SC_INIT_8733B) << BIT_SHIFT_XTAL_SC_INIT_8733B)
#define BITS_XTAL_SC_INIT_8733B (BIT_MASK_XTAL_SC_INIT_8733B << BIT_SHIFT_XTAL_SC_INIT_8733B)
#define BIT_CLEAR_XTAL_SC_INIT_8733B(x) ((x) & (~BITS_XTAL_SC_INIT_8733B))
#define BIT_GET_XTAL_SC_INIT_8733B(x) (((x) >> BIT_SHIFT_XTAL_SC_INIT_8733B) & BIT_MASK_XTAL_SC_INIT_8733B)
#define BIT_SET_XTAL_SC_INIT_8733B(x, v) (BIT_CLEAR_XTAL_SC_INIT_8733B(x) | BIT_XTAL_SC_INIT_8733B(v))

#define BIT_SHIFT_XTAL_SC_XO_8733B 17
#define BIT_MASK_XTAL_SC_XO_8733B 0x7f
#define BIT_XTAL_SC_XO_8733B(x) (((x) & BIT_MASK_XTAL_SC_XO_8733B) << BIT_SHIFT_XTAL_SC_XO_8733B)
#define BITS_XTAL_SC_XO_8733B (BIT_MASK_XTAL_SC_XO_8733B << BIT_SHIFT_XTAL_SC_XO_8733B)
#define BIT_CLEAR_XTAL_SC_XO_8733B(x) ((x) & (~BITS_XTAL_SC_XO_8733B))
#define BIT_GET_XTAL_SC_XO_8733B(x) (((x) >> BIT_SHIFT_XTAL_SC_XO_8733B) & BIT_MASK_XTAL_SC_XO_8733B)
#define BIT_SET_XTAL_SC_XO_8733B(x, v) (BIT_CLEAR_XTAL_SC_XO_8733B(x) | BIT_XTAL_SC_XO_8733B(v))

#define BIT_SHIFT_XTAL_SC_XI_8733B 10
#define BIT_MASK_XTAL_SC_XI_8733B 0x7f
#define BIT_XTAL_SC_XI_8733B(x) (((x) & BIT_MASK_XTAL_SC_XI_8733B) << BIT_SHIFT_XTAL_SC_XI_8733B)
#define BITS_XTAL_SC_XI_8733B (BIT_MASK_XTAL_SC_XI_8733B << BIT_SHIFT_XTAL_SC_XI_8733B)
#define BIT_CLEAR_XTAL_SC_XI_8733B(x) ((x) & (~BITS_XTAL_SC_XI_8733B))
#define BIT_GET_XTAL_SC_XI_8733B(x) (((x) >> BIT_SHIFT_XTAL_SC_XI_8733B) & BIT_MASK_XTAL_SC_XI_8733B)
#define BIT_SET_XTAL_SC_XI_8733B(x, v) (BIT_CLEAR_XTAL_SC_XI_8733B(x) | BIT_XTAL_SC_XI_8733B(v))

#define BIT_SHIFT_XTAL_GMN_8733B 5
#define BIT_MASK_XTAL_GMN_8733B 0x1f
#define BIT_XTAL_GMN_8733B(x) (((x) & BIT_MASK_XTAL_GMN_8733B) << BIT_SHIFT_XTAL_GMN_8733B)
#define BITS_XTAL_GMN_8733B (BIT_MASK_XTAL_GMN_8733B << BIT_SHIFT_XTAL_GMN_8733B)
#define BIT_CLEAR_XTAL_GMN_8733B(x) ((x) & (~BITS_XTAL_GMN_8733B))
#define BIT_GET_XTAL_GMN_8733B(x) (((x) >> BIT_SHIFT_XTAL_GMN_8733B) & BIT_MASK_XTAL_GMN_8733B)
#define BIT_SET_XTAL_GMN_8733B(x, v) (BIT_CLEAR_XTAL_GMN_8733B(x) | BIT_XTAL_GMN_8733B(v))

#define BIT_SHIFT_XTAL_GMP_8733B 0
#define BIT_MASK_XTAL_GMP_8733B 0x1f
#define BIT_XTAL_GMP_8733B(x) (((x) & BIT_MASK_XTAL_GMP_8733B) << BIT_SHIFT_XTAL_GMP_8733B)
#define BITS_XTAL_GMP_8733B (BIT_MASK_XTAL_GMP_8733B << BIT_SHIFT_XTAL_GMP_8733B)
#define BIT_CLEAR_XTAL_GMP_8733B(x) ((x) & (~BITS_XTAL_GMP_8733B))
#define BIT_GET_XTAL_GMP_8733B(x) (((x) >> BIT_SHIFT_XTAL_GMP_8733B) & BIT_MASK_XTAL_GMP_8733B)
#define BIT_SET_XTAL_GMP_8733B(x, v) (BIT_CLEAR_XTAL_GMP_8733B(x) | BIT_XTAL_GMP_8733B(v))

/* 2 REG_WL_ANAPAR_XTAL_ON_1_8733B */
#define BIT_AAC_MODE_0_8733B BIT(31)

#define BIT_SHIFT_XTAL_CFIX_8733B 29
#define BIT_MASK_XTAL_CFIX_8733B 0x3
#define BIT_XTAL_CFIX_8733B(x) (((x) & BIT_MASK_XTAL_CFIX_8733B) << BIT_SHIFT_XTAL_CFIX_8733B)
#define BITS_XTAL_CFIX_8733B (BIT_MASK_XTAL_CFIX_8733B << BIT_SHIFT_XTAL_CFIX_8733B)
#define BIT_CLEAR_XTAL_CFIX_8733B(x) ((x) & (~BITS_XTAL_CFIX_8733B))
#define BIT_GET_XTAL_CFIX_8733B(x) (((x) >> BIT_SHIFT_XTAL_CFIX_8733B) & BIT_MASK_XTAL_CFIX_8733B)
#define BIT_SET_XTAL_CFIX_8733B(x, v) (BIT_CLEAR_XTAL_CFIX_8733B(x) | BIT_XTAL_CFIX_8733B(v))

#define BIT_SHIFT_XTAL_AAC_OPCUR_8733B 27
#define BIT_MASK_XTAL_AAC_OPCUR_8733B 0x3
#define BIT_XTAL_AAC_OPCUR_8733B(x) (((x) & BIT_MASK_XTAL_AAC_OPCUR_8733B) << BIT_SHIFT_XTAL_AAC_OPCUR_8733B)
#define BITS_XTAL_AAC_OPCUR_8733B (BIT_MASK_XTAL_AAC_OPCUR_8733B << BIT_SHIFT_XTAL_AAC_OPCUR_8733B)
#define BIT_CLEAR_XTAL_AAC_OPCUR_8733B(x) ((x) & (~BITS_XTAL_AAC_OPCUR_8733B))
#define BIT_GET_XTAL_AAC_OPCUR_8733B(x) (((x) >> BIT_SHIFT_XTAL_AAC_OPCUR_8733B) & BIT_MASK_XTAL_AAC_OPCUR_8733B)
#define BIT_SET_XTAL_AAC_OPCUR_8733B(x, v) (BIT_CLEAR_XTAL_AAC_OPCUR_8733B(x) | BIT_XTAL_AAC_OPCUR_8733B(v))

#define BIT_SHIFT_XTAL_VREF_SEL_8733B 22
#define BIT_MASK_XTAL_VREF_SEL_8733B 0x1f
#define BIT_XTAL_VREF_SEL_8733B(x) (((x) & BIT_MASK_XTAL_VREF_SEL_8733B) << BIT_SHIFT_XTAL_VREF_SEL_8733B)
#define BITS_XTAL_VREF_SEL_8733B (BIT_MASK_XTAL_VREF_SEL_8733B << BIT_SHIFT_XTAL_VREF_SEL_8733B)
#define BIT_CLEAR_XTAL_VREF_SEL_8733B(x) ((x) & (~BITS_XTAL_VREF_SEL_8733B))
#define BIT_GET_XTAL_VREF_SEL_8733B(x) (((x) >> BIT_SHIFT_XTAL_VREF_SEL_8733B) & BIT_MASK_XTAL_VREF_SEL_8733B)
#define BIT_SET_XTAL_VREF_SEL_8733B(x, v) (BIT_CLEAR_XTAL_VREF_SEL_8733B(x) | BIT_XTAL_VREF_SEL_8733B(v))

#define BIT_XTAL_LPS_DIVISOR_8733B BIT(21)
#define BIT_XTAL_CKDIGI_SEL_8733B BIT(20)
#define BIT_EN_XTAL_LPS_CLK_8733B BIT(19)
#define BIT_EN_XTAL_SCHMITT_8733B BIT(18)

#define BIT_SHIFT_XTAL_LDO_VREF_8733B 15
#define BIT_MASK_XTAL_LDO_VREF_8733B 0x7
#define BIT_XTAL_LDO_VREF_8733B(x) (((x) & BIT_MASK_XTAL_LDO_VREF_8733B) << BIT_SHIFT_XTAL_LDO_VREF_8733B)
#define BITS_XTAL_LDO_VREF_8733B (BIT_MASK_XTAL_LDO_VREF_8733B << BIT_SHIFT_XTAL_LDO_VREF_8733B)
#define BIT_CLEAR_XTAL_LDO_VREF_8733B(x) ((x) & (~BITS_XTAL_LDO_VREF_8733B))
#define BIT_GET_XTAL_LDO_VREF_8733B(x) (((x) >> BIT_SHIFT_XTAL_LDO_VREF_8733B) & BIT_MASK_XTAL_LDO_VREF_8733B)
#define BIT_SET_XTAL_LDO_VREF_8733B(x, v) (BIT_CLEAR_XTAL_LDO_VREF_8733B(x) | BIT_XTAL_LDO_VREF_8733B(v))

#define BIT_SHIFT_XTAL_SEL_TOK_8733B 12
#define BIT_MASK_XTAL_SEL_TOK_8733B 0x7
#define BIT_XTAL_SEL_TOK_8733B(x) (((x) & BIT_MASK_XTAL_SEL_TOK_8733B) << BIT_SHIFT_XTAL_SEL_TOK_8733B)
#define BITS_XTAL_SEL_TOK_8733B (BIT_MASK_XTAL_SEL_TOK_8733B << BIT_SHIFT_XTAL_SEL_TOK_8733B)
#define BIT_CLEAR_XTAL_SEL_TOK_8733B(x) ((x) & (~BITS_XTAL_SEL_TOK_8733B))
#define BIT_GET_XTAL_SEL_TOK_8733B(x) (((x) >> BIT_SHIFT_XTAL_SEL_TOK_8733B) & BIT_MASK_XTAL_SEL_TOK_8733B)
#define BIT_SET_XTAL_SEL_TOK_8733B(x, v) (BIT_CLEAR_XTAL_SEL_TOK_8733B(x) | BIT_XTAL_SEL_TOK_8733B(v))

#define BIT_EN_XTAL_DRV_LPS_8733B BIT(11)
#define BIT_EN_XTAL_DRV_DIGI_8733B BIT(10)
#define BIT_EN_XTAL_DRV_USB_8733B BIT(9)
#define BIT_EN_XTAL_DRV_AFE_8733B BIT(8)
#define BIT_EN_XTAL_DRV_RF2_8733B BIT(7)
#define BIT_EN_XTAL_DRV_RF1_8733B BIT(6)

#define BIT_SHIFT_XTAL_SC_LPS_H_8733B 0
#define BIT_MASK_XTAL_SC_LPS_H_8733B 0x3f
#define BIT_XTAL_SC_LPS_H_8733B(x) (((x) & BIT_MASK_XTAL_SC_LPS_H_8733B) << BIT_SHIFT_XTAL_SC_LPS_H_8733B)
#define BITS_XTAL_SC_LPS_H_8733B (BIT_MASK_XTAL_SC_LPS_H_8733B << BIT_SHIFT_XTAL_SC_LPS_H_8733B)
#define BIT_CLEAR_XTAL_SC_LPS_H_8733B(x) ((x) & (~BITS_XTAL_SC_LPS_H_8733B))
#define BIT_GET_XTAL_SC_LPS_H_8733B(x) (((x) >> BIT_SHIFT_XTAL_SC_LPS_H_8733B) & BIT_MASK_XTAL_SC_LPS_H_8733B)
#define BIT_SET_XTAL_SC_LPS_H_8733B(x, v) (BIT_CLEAR_XTAL_SC_LPS_H_8733B(x) | BIT_XTAL_SC_LPS_H_8733B(v))

/* 2 REG_WL_ANAPAR_XTAL_ON_2_8733B */
#define BIT_EN_XTAL_DRV_IQK_BCN_8733B BIT(1)
#define BIT_AAC_MODE_1_8733B BIT(0)

/* 2 REG_ANAPAR_LDO_0_8733B */

#define BIT_SHIFT_REG_RES_BT_PON_L_8733B 30
#define BIT_MASK_REG_RES_BT_PON_L_8733B 0x3
#define BIT_REG_RES_BT_PON_L_8733B(x) (((x) & BIT_MASK_REG_RES_BT_PON_L_8733B) << BIT_SHIFT_REG_RES_BT_PON_L_8733B)
#define BITS_REG_RES_BT_PON_L_8733B (BIT_MASK_REG_RES_BT_PON_L_8733B << BIT_SHIFT_REG_RES_BT_PON_L_8733B)
#define BIT_CLEAR_REG_RES_BT_PON_L_8733B(x) ((x) & (~BITS_REG_RES_BT_PON_L_8733B))
#define BIT_GET_REG_RES_BT_PON_L_8733B(x) (((x) >> BIT_SHIFT_REG_RES_BT_PON_L_8733B) & BIT_MASK_REG_RES_BT_PON_L_8733B)
#define BIT_SET_REG_RES_BT_PON_L_8733B(x, v) (BIT_CLEAR_REG_RES_BT_PON_L_8733B(x) | BIT_REG_RES_BT_PON_L_8733B(v))

#define BIT_SHIFT_REG_BIAS_BT_PON_L_8733B 28
#define BIT_MASK_REG_BIAS_BT_PON_L_8733B 0x3
#define BIT_REG_BIAS_BT_PON_L_8733B(x) (((x) & BIT_MASK_REG_BIAS_BT_PON_L_8733B) << BIT_SHIFT_REG_BIAS_BT_PON_L_8733B)
#define BITS_REG_BIAS_BT_PON_L_8733B (BIT_MASK_REG_BIAS_BT_PON_L_8733B << BIT_SHIFT_REG_BIAS_BT_PON_L_8733B)
#define BIT_CLEAR_REG_BIAS_BT_PON_L_8733B(x) ((x) & (~BITS_REG_BIAS_BT_PON_L_8733B))
#define BIT_GET_REG_BIAS_BT_PON_L_8733B(x) (((x) >> BIT_SHIFT_REG_BIAS_BT_PON_L_8733B) & BIT_MASK_REG_BIAS_BT_PON_L_8733B)
#define BIT_SET_REG_BIAS_BT_PON_L_8733B(x, v) (BIT_CLEAR_REG_BIAS_BT_PON_L_8733B(x) | BIT_REG_BIAS_BT_PON_L_8733B(v))

#define BIT_SHIFT_LDOD_V12ADJ_BT_PON_L_8733B 24
#define BIT_MASK_LDOD_V12ADJ_BT_PON_L_8733B 0xf
#define BIT_LDOD_V12ADJ_BT_PON_L_8733B(x) (((x) & BIT_MASK_LDOD_V12ADJ_BT_PON_L_8733B) << BIT_SHIFT_LDOD_V12ADJ_BT_PON_L_8733B)
#define BITS_LDOD_V12ADJ_BT_PON_L_8733B (BIT_MASK_LDOD_V12ADJ_BT_PON_L_8733B << BIT_SHIFT_LDOD_V12ADJ_BT_PON_L_8733B)
#define BIT_CLEAR_LDOD_V12ADJ_BT_PON_L_8733B(x) ((x) & (~BITS_LDOD_V12ADJ_BT_PON_L_8733B))
#define BIT_GET_LDOD_V12ADJ_BT_PON_L_8733B(x) (((x) >> BIT_SHIFT_LDOD_V12ADJ_BT_PON_L_8733B) & BIT_MASK_LDOD_V12ADJ_BT_PON_L_8733B)
#define BIT_SET_LDOD_V12ADJ_BT_PON_L_8733B(x, v) (BIT_CLEAR_LDOD_V12ADJ_BT_PON_L_8733B(x) | BIT_LDOD_V12ADJ_BT_PON_L_8733B(v))

#define BIT_SHIFT_REG_CC_BT_PON_L_8733B 22
#define BIT_MASK_REG_CC_BT_PON_L_8733B 0x3
#define BIT_REG_CC_BT_PON_L_8733B(x) (((x) & BIT_MASK_REG_CC_BT_PON_L_8733B) << BIT_SHIFT_REG_CC_BT_PON_L_8733B)
#define BITS_REG_CC_BT_PON_L_8733B (BIT_MASK_REG_CC_BT_PON_L_8733B << BIT_SHIFT_REG_CC_BT_PON_L_8733B)
#define BIT_CLEAR_REG_CC_BT_PON_L_8733B(x) ((x) & (~BITS_REG_CC_BT_PON_L_8733B))
#define BIT_GET_REG_CC_BT_PON_L_8733B(x) (((x) >> BIT_SHIFT_REG_CC_BT_PON_L_8733B) & BIT_MASK_REG_CC_BT_PON_L_8733B)
#define BIT_SET_REG_CC_BT_PON_L_8733B(x, v) (BIT_CLEAR_REG_CC_BT_PON_L_8733B(x) | BIT_REG_CC_BT_PON_L_8733B(v))

#define BIT_REG_STANDBY_BT_PON_L_8733B BIT(21)
#define BIT_POW_LDO_BT_PON_8733B BIT(20)

#define BIT_SHIFT_REG_RES_BT_L_8733B 18
#define BIT_MASK_REG_RES_BT_L_8733B 0x3
#define BIT_REG_RES_BT_L_8733B(x) (((x) & BIT_MASK_REG_RES_BT_L_8733B) << BIT_SHIFT_REG_RES_BT_L_8733B)
#define BITS_REG_RES_BT_L_8733B (BIT_MASK_REG_RES_BT_L_8733B << BIT_SHIFT_REG_RES_BT_L_8733B)
#define BIT_CLEAR_REG_RES_BT_L_8733B(x) ((x) & (~BITS_REG_RES_BT_L_8733B))
#define BIT_GET_REG_RES_BT_L_8733B(x) (((x) >> BIT_SHIFT_REG_RES_BT_L_8733B) & BIT_MASK_REG_RES_BT_L_8733B)
#define BIT_SET_REG_RES_BT_L_8733B(x, v) (BIT_CLEAR_REG_RES_BT_L_8733B(x) | BIT_REG_RES_BT_L_8733B(v))

#define BIT_SHIFT_REG_BIAS_BT_L_8733B 16
#define BIT_MASK_REG_BIAS_BT_L_8733B 0x3
#define BIT_REG_BIAS_BT_L_8733B(x) (((x) & BIT_MASK_REG_BIAS_BT_L_8733B) << BIT_SHIFT_REG_BIAS_BT_L_8733B)
#define BITS_REG_BIAS_BT_L_8733B (BIT_MASK_REG_BIAS_BT_L_8733B << BIT_SHIFT_REG_BIAS_BT_L_8733B)
#define BIT_CLEAR_REG_BIAS_BT_L_8733B(x) ((x) & (~BITS_REG_BIAS_BT_L_8733B))
#define BIT_GET_REG_BIAS_BT_L_8733B(x) (((x) >> BIT_SHIFT_REG_BIAS_BT_L_8733B) & BIT_MASK_REG_BIAS_BT_L_8733B)
#define BIT_SET_REG_BIAS_BT_L_8733B(x, v) (BIT_CLEAR_REG_BIAS_BT_L_8733B(x) | BIT_REG_BIAS_BT_L_8733B(v))

#define BIT_SHIFT_LDOD_V12ADJ_BT_L_8733B 12
#define BIT_MASK_LDOD_V12ADJ_BT_L_8733B 0xf
#define BIT_LDOD_V12ADJ_BT_L_8733B(x) (((x) & BIT_MASK_LDOD_V12ADJ_BT_L_8733B) << BIT_SHIFT_LDOD_V12ADJ_BT_L_8733B)
#define BITS_LDOD_V12ADJ_BT_L_8733B (BIT_MASK_LDOD_V12ADJ_BT_L_8733B << BIT_SHIFT_LDOD_V12ADJ_BT_L_8733B)
#define BIT_CLEAR_LDOD_V12ADJ_BT_L_8733B(x) ((x) & (~BITS_LDOD_V12ADJ_BT_L_8733B))
#define BIT_GET_LDOD_V12ADJ_BT_L_8733B(x) (((x) >> BIT_SHIFT_LDOD_V12ADJ_BT_L_8733B) & BIT_MASK_LDOD_V12ADJ_BT_L_8733B)
#define BIT_SET_LDOD_V12ADJ_BT_L_8733B(x, v) (BIT_CLEAR_LDOD_V12ADJ_BT_L_8733B(x) | BIT_LDOD_V12ADJ_BT_L_8733B(v))

#define BIT_SHIFT_REG_CC_BT_L_8733B 10
#define BIT_MASK_REG_CC_BT_L_8733B 0x3
#define BIT_REG_CC_BT_L_8733B(x) (((x) & BIT_MASK_REG_CC_BT_L_8733B) << BIT_SHIFT_REG_CC_BT_L_8733B)
#define BITS_REG_CC_BT_L_8733B (BIT_MASK_REG_CC_BT_L_8733B << BIT_SHIFT_REG_CC_BT_L_8733B)
#define BIT_CLEAR_REG_CC_BT_L_8733B(x) ((x) & (~BITS_REG_CC_BT_L_8733B))
#define BIT_GET_REG_CC_BT_L_8733B(x) (((x) >> BIT_SHIFT_REG_CC_BT_L_8733B) & BIT_MASK_REG_CC_BT_L_8733B)
#define BIT_SET_REG_CC_BT_L_8733B(x, v) (BIT_CLEAR_REG_CC_BT_L_8733B(x) | BIT_REG_CC_BT_L_8733B(v))

#define BIT_REG_STANDBY_BT_L_8733B BIT(9)
#define BIT_POW_LDO_BT_8733B BIT(8)

#define BIT_SHIFT_REG_RES_WL_PON_L_8733B 6
#define BIT_MASK_REG_RES_WL_PON_L_8733B 0x3
#define BIT_REG_RES_WL_PON_L_8733B(x) (((x) & BIT_MASK_REG_RES_WL_PON_L_8733B) << BIT_SHIFT_REG_RES_WL_PON_L_8733B)
#define BITS_REG_RES_WL_PON_L_8733B (BIT_MASK_REG_RES_WL_PON_L_8733B << BIT_SHIFT_REG_RES_WL_PON_L_8733B)
#define BIT_CLEAR_REG_RES_WL_PON_L_8733B(x) ((x) & (~BITS_REG_RES_WL_PON_L_8733B))
#define BIT_GET_REG_RES_WL_PON_L_8733B(x) (((x) >> BIT_SHIFT_REG_RES_WL_PON_L_8733B) & BIT_MASK_REG_RES_WL_PON_L_8733B)
#define BIT_SET_REG_RES_WL_PON_L_8733B(x, v) (BIT_CLEAR_REG_RES_WL_PON_L_8733B(x) | BIT_REG_RES_WL_PON_L_8733B(v))

#define BIT_SHIFT_REG_BIAS_WL_PON_L_8733B 4
#define BIT_MASK_REG_BIAS_WL_PON_L_8733B 0x3
#define BIT_REG_BIAS_WL_PON_L_8733B(x) (((x) & BIT_MASK_REG_BIAS_WL_PON_L_8733B) << BIT_SHIFT_REG_BIAS_WL_PON_L_8733B)
#define BITS_REG_BIAS_WL_PON_L_8733B (BIT_MASK_REG_BIAS_WL_PON_L_8733B << BIT_SHIFT_REG_BIAS_WL_PON_L_8733B)
#define BIT_CLEAR_REG_BIAS_WL_PON_L_8733B(x) ((x) & (~BITS_REG_BIAS_WL_PON_L_8733B))
#define BIT_GET_REG_BIAS_WL_PON_L_8733B(x) (((x) >> BIT_SHIFT_REG_BIAS_WL_PON_L_8733B) & BIT_MASK_REG_BIAS_WL_PON_L_8733B)
#define BIT_SET_REG_BIAS_WL_PON_L_8733B(x, v) (BIT_CLEAR_REG_BIAS_WL_PON_L_8733B(x) | BIT_REG_BIAS_WL_PON_L_8733B(v))

#define BIT_SHIFT_LDOD_V12ADJ_WL_PON_L_8733B 0
#define BIT_MASK_LDOD_V12ADJ_WL_PON_L_8733B 0xf
#define BIT_LDOD_V12ADJ_WL_PON_L_8733B(x) (((x) & BIT_MASK_LDOD_V12ADJ_WL_PON_L_8733B) << BIT_SHIFT_LDOD_V12ADJ_WL_PON_L_8733B)
#define BITS_LDOD_V12ADJ_WL_PON_L_8733B (BIT_MASK_LDOD_V12ADJ_WL_PON_L_8733B << BIT_SHIFT_LDOD_V12ADJ_WL_PON_L_8733B)
#define BIT_CLEAR_LDOD_V12ADJ_WL_PON_L_8733B(x) ((x) & (~BITS_LDOD_V12ADJ_WL_PON_L_8733B))
#define BIT_GET_LDOD_V12ADJ_WL_PON_L_8733B(x) (((x) >> BIT_SHIFT_LDOD_V12ADJ_WL_PON_L_8733B) & BIT_MASK_LDOD_V12ADJ_WL_PON_L_8733B)
#define BIT_SET_LDOD_V12ADJ_WL_PON_L_8733B(x, v) (BIT_CLEAR_LDOD_V12ADJ_WL_PON_L_8733B(x) | BIT_LDOD_V12ADJ_WL_PON_L_8733B(v))

/* 2 REG_ANAPAR_LDO_1_8733B */
#define BIT_EN_PC_8733B BIT(12)

#define BIT_SHIFT_REG_RES_PHY_DIG_L_8733B 10
#define BIT_MASK_REG_RES_PHY_DIG_L_8733B 0x3
#define BIT_REG_RES_PHY_DIG_L_8733B(x) (((x) & BIT_MASK_REG_RES_PHY_DIG_L_8733B) << BIT_SHIFT_REG_RES_PHY_DIG_L_8733B)
#define BITS_REG_RES_PHY_DIG_L_8733B (BIT_MASK_REG_RES_PHY_DIG_L_8733B << BIT_SHIFT_REG_RES_PHY_DIG_L_8733B)
#define BIT_CLEAR_REG_RES_PHY_DIG_L_8733B(x) ((x) & (~BITS_REG_RES_PHY_DIG_L_8733B))
#define BIT_GET_REG_RES_PHY_DIG_L_8733B(x) (((x) >> BIT_SHIFT_REG_RES_PHY_DIG_L_8733B) & BIT_MASK_REG_RES_PHY_DIG_L_8733B)
#define BIT_SET_REG_RES_PHY_DIG_L_8733B(x, v) (BIT_CLEAR_REG_RES_PHY_DIG_L_8733B(x) | BIT_REG_RES_PHY_DIG_L_8733B(v))

#define BIT_SHIFT_REG_BIAS_PHY_DIG_L_8733B 8
#define BIT_MASK_REG_BIAS_PHY_DIG_L_8733B 0x3
#define BIT_REG_BIAS_PHY_DIG_L_8733B(x) (((x) & BIT_MASK_REG_BIAS_PHY_DIG_L_8733B) << BIT_SHIFT_REG_BIAS_PHY_DIG_L_8733B)
#define BITS_REG_BIAS_PHY_DIG_L_8733B (BIT_MASK_REG_BIAS_PHY_DIG_L_8733B << BIT_SHIFT_REG_BIAS_PHY_DIG_L_8733B)
#define BIT_CLEAR_REG_BIAS_PHY_DIG_L_8733B(x) ((x) & (~BITS_REG_BIAS_PHY_DIG_L_8733B))
#define BIT_GET_REG_BIAS_PHY_DIG_L_8733B(x) (((x) >> BIT_SHIFT_REG_BIAS_PHY_DIG_L_8733B) & BIT_MASK_REG_BIAS_PHY_DIG_L_8733B)
#define BIT_SET_REG_BIAS_PHY_DIG_L_8733B(x, v) (BIT_CLEAR_REG_BIAS_PHY_DIG_L_8733B(x) | BIT_REG_BIAS_PHY_DIG_L_8733B(v))

#define BIT_SHIFT_LDOD_V12ADJ_PHY_DIG_L_8733B 4
#define BIT_MASK_LDOD_V12ADJ_PHY_DIG_L_8733B 0xf
#define BIT_LDOD_V12ADJ_PHY_DIG_L_8733B(x) (((x) & BIT_MASK_LDOD_V12ADJ_PHY_DIG_L_8733B) << BIT_SHIFT_LDOD_V12ADJ_PHY_DIG_L_8733B)
#define BITS_LDOD_V12ADJ_PHY_DIG_L_8733B (BIT_MASK_LDOD_V12ADJ_PHY_DIG_L_8733B << BIT_SHIFT_LDOD_V12ADJ_PHY_DIG_L_8733B)
#define BIT_CLEAR_LDOD_V12ADJ_PHY_DIG_L_8733B(x) ((x) & (~BITS_LDOD_V12ADJ_PHY_DIG_L_8733B))
#define BIT_GET_LDOD_V12ADJ_PHY_DIG_L_8733B(x) (((x) >> BIT_SHIFT_LDOD_V12ADJ_PHY_DIG_L_8733B) & BIT_MASK_LDOD_V12ADJ_PHY_DIG_L_8733B)
#define BIT_SET_LDOD_V12ADJ_PHY_DIG_L_8733B(x, v) (BIT_CLEAR_LDOD_V12ADJ_PHY_DIG_L_8733B(x) | BIT_LDOD_V12ADJ_PHY_DIG_L_8733B(v))

#define BIT_SHIFT_REG_CC_PHY_DIG_L_8733B 2
#define BIT_MASK_REG_CC_PHY_DIG_L_8733B 0x3
#define BIT_REG_CC_PHY_DIG_L_8733B(x) (((x) & BIT_MASK_REG_CC_PHY_DIG_L_8733B) << BIT_SHIFT_REG_CC_PHY_DIG_L_8733B)
#define BITS_REG_CC_PHY_DIG_L_8733B (BIT_MASK_REG_CC_PHY_DIG_L_8733B << BIT_SHIFT_REG_CC_PHY_DIG_L_8733B)
#define BIT_CLEAR_REG_CC_PHY_DIG_L_8733B(x) ((x) & (~BITS_REG_CC_PHY_DIG_L_8733B))
#define BIT_GET_REG_CC_PHY_DIG_L_8733B(x) (((x) >> BIT_SHIFT_REG_CC_PHY_DIG_L_8733B) & BIT_MASK_REG_CC_PHY_DIG_L_8733B)
#define BIT_SET_REG_CC_PHY_DIG_L_8733B(x, v) (BIT_CLEAR_REG_CC_PHY_DIG_L_8733B(x) | BIT_REG_CC_PHY_DIG_L_8733B(v))

#define BIT_REG_STANDBY_PHY_DIG_L_8733B BIT(1)
#define BIT_POW_LDO_PHY_DIG_8733B BIT(0)

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */
#define BIT_SW_GPIO_RIGHT_SHD_8733B BIT(18)
#define BIT_SW_GPIO_LEFT_SHD_8733B BIT(17)
#define BIT_SW_GPIO_PAD_IE_V18_8733B BIT(16)

#define BIT_SHIFT_SW_GPIO_A_E2_8733B 0
#define BIT_MASK_SW_GPIO_A_E2_8733B 0xffff
#define BIT_SW_GPIO_A_E2_8733B(x) (((x) & BIT_MASK_SW_GPIO_A_E2_8733B) << BIT_SHIFT_SW_GPIO_A_E2_8733B)
#define BITS_SW_GPIO_A_E2_8733B (BIT_MASK_SW_GPIO_A_E2_8733B << BIT_SHIFT_SW_GPIO_A_E2_8733B)
#define BIT_CLEAR_SW_GPIO_A_E2_8733B(x) ((x) & (~BITS_SW_GPIO_A_E2_8733B))
#define BIT_GET_SW_GPIO_A_E2_8733B(x) (((x) >> BIT_SHIFT_SW_GPIO_A_E2_8733B) & BIT_MASK_SW_GPIO_A_E2_8733B)
#define BIT_SET_SW_GPIO_A_E2_8733B(x, v) (BIT_CLEAR_SW_GPIO_A_E2_8733B(x) | BIT_SW_GPIO_A_E2_8733B(v))

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

#define BIT_SHIFT_SW_SMT_8733B 0
#define BIT_MASK_SW_SMT_8733B 0xffff
#define BIT_SW_SMT_8733B(x) (((x) & BIT_MASK_SW_SMT_8733B) << BIT_SHIFT_SW_SMT_8733B)
#define BITS_SW_SMT_8733B (BIT_MASK_SW_SMT_8733B << BIT_SHIFT_SW_SMT_8733B)
#define BIT_CLEAR_SW_SMT_8733B(x) ((x) & (~BITS_SW_SMT_8733B))
#define BIT_GET_SW_SMT_8733B(x) (((x) >> BIT_SHIFT_SW_SMT_8733B) & BIT_MASK_SW_SMT_8733B)
#define BIT_SET_SW_SMT_8733B(x, v) (BIT_CLEAR_SW_SMT_8733B(x) | BIT_SW_SMT_8733B(v))

/* 2 REG_ANAPAR_MODE_DEC_ON_8733B */

#define BIT_SHIFT_XTAL_LDO_LPS_8733B 21
#define BIT_MASK_XTAL_LDO_LPS_8733B 0x7
#define BIT_XTAL_LDO_LPS_8733B(x) (((x) & BIT_MASK_XTAL_LDO_LPS_8733B) << BIT_SHIFT_XTAL_LDO_LPS_8733B)
#define BITS_XTAL_LDO_LPS_8733B (BIT_MASK_XTAL_LDO_LPS_8733B << BIT_SHIFT_XTAL_LDO_LPS_8733B)
#define BIT_CLEAR_XTAL_LDO_LPS_8733B(x) ((x) & (~BITS_XTAL_LDO_LPS_8733B))
#define BIT_GET_XTAL_LDO_LPS_8733B(x) (((x) >> BIT_SHIFT_XTAL_LDO_LPS_8733B) & BIT_MASK_XTAL_LDO_LPS_8733B)
#define BIT_SET_XTAL_LDO_LPS_8733B(x, v) (BIT_CLEAR_XTAL_LDO_LPS_8733B(x) | BIT_XTAL_LDO_LPS_8733B(v))

#define BIT_SHIFT_XTAL_WAIT_CYC_8733B 15
#define BIT_MASK_XTAL_WAIT_CYC_8733B 0x3f
#define BIT_XTAL_WAIT_CYC_8733B(x) (((x) & BIT_MASK_XTAL_WAIT_CYC_8733B) << BIT_SHIFT_XTAL_WAIT_CYC_8733B)
#define BITS_XTAL_WAIT_CYC_8733B (BIT_MASK_XTAL_WAIT_CYC_8733B << BIT_SHIFT_XTAL_WAIT_CYC_8733B)
#define BIT_CLEAR_XTAL_WAIT_CYC_8733B(x) ((x) & (~BITS_XTAL_WAIT_CYC_8733B))
#define BIT_GET_XTAL_WAIT_CYC_8733B(x) (((x) >> BIT_SHIFT_XTAL_WAIT_CYC_8733B) & BIT_MASK_XTAL_WAIT_CYC_8733B)
#define BIT_SET_XTAL_WAIT_CYC_8733B(x, v) (BIT_CLEAR_XTAL_WAIT_CYC_8733B(x) | BIT_XTAL_WAIT_CYC_8733B(v))

#define BIT_SHIFT_XTAL_LDO_OK_8733B 12
#define BIT_MASK_XTAL_LDO_OK_8733B 0x7
#define BIT_XTAL_LDO_OK_8733B(x) (((x) & BIT_MASK_XTAL_LDO_OK_8733B) << BIT_SHIFT_XTAL_LDO_OK_8733B)
#define BITS_XTAL_LDO_OK_8733B (BIT_MASK_XTAL_LDO_OK_8733B << BIT_SHIFT_XTAL_LDO_OK_8733B)
#define BIT_CLEAR_XTAL_LDO_OK_8733B(x) ((x) & (~BITS_XTAL_LDO_OK_8733B))
#define BIT_GET_XTAL_LDO_OK_8733B(x) (((x) >> BIT_SHIFT_XTAL_LDO_OK_8733B) & BIT_MASK_XTAL_LDO_OK_8733B)
#define BIT_SET_XTAL_LDO_OK_8733B(x, v) (BIT_CLEAR_XTAL_LDO_OK_8733B(x) | BIT_XTAL_LDO_OK_8733B(v))

#define BIT_XTAL_MD_LPOW_8733B BIT(11)

#define BIT_SHIFT_XTAL_OV_RATIO_8733B 9
#define BIT_MASK_XTAL_OV_RATIO_8733B 0x3
#define BIT_XTAL_OV_RATIO_8733B(x) (((x) & BIT_MASK_XTAL_OV_RATIO_8733B) << BIT_SHIFT_XTAL_OV_RATIO_8733B)
#define BITS_XTAL_OV_RATIO_8733B (BIT_MASK_XTAL_OV_RATIO_8733B << BIT_SHIFT_XTAL_OV_RATIO_8733B)
#define BIT_CLEAR_XTAL_OV_RATIO_8733B(x) ((x) & (~BITS_XTAL_OV_RATIO_8733B))
#define BIT_GET_XTAL_OV_RATIO_8733B(x) (((x) >> BIT_SHIFT_XTAL_OV_RATIO_8733B) & BIT_MASK_XTAL_OV_RATIO_8733B)
#define BIT_SET_XTAL_OV_RATIO_8733B(x, v) (BIT_CLEAR_XTAL_OV_RATIO_8733B(x) | BIT_XTAL_OV_RATIO_8733B(v))

#define BIT_SHIFT_XTAL_OV_UNIT_8733B 6
#define BIT_MASK_XTAL_OV_UNIT_8733B 0x7
#define BIT_XTAL_OV_UNIT_8733B(x) (((x) & BIT_MASK_XTAL_OV_UNIT_8733B) << BIT_SHIFT_XTAL_OV_UNIT_8733B)
#define BITS_XTAL_OV_UNIT_8733B (BIT_MASK_XTAL_OV_UNIT_8733B << BIT_SHIFT_XTAL_OV_UNIT_8733B)
#define BIT_CLEAR_XTAL_OV_UNIT_8733B(x) ((x) & (~BITS_XTAL_OV_UNIT_8733B))
#define BIT_GET_XTAL_OV_UNIT_8733B(x) (((x) >> BIT_SHIFT_XTAL_OV_UNIT_8733B) & BIT_MASK_XTAL_OV_UNIT_8733B)
#define BIT_SET_XTAL_OV_UNIT_8733B(x, v) (BIT_CLEAR_XTAL_OV_UNIT_8733B(x) | BIT_XTAL_OV_UNIT_8733B(v))

#define BIT_SHIFT_XTAL_MODE_MANUAL_8733B 4
#define BIT_MASK_XTAL_MODE_MANUAL_8733B 0x3
#define BIT_XTAL_MODE_MANUAL_8733B(x) (((x) & BIT_MASK_XTAL_MODE_MANUAL_8733B) << BIT_SHIFT_XTAL_MODE_MANUAL_8733B)
#define BITS_XTAL_MODE_MANUAL_8733B (BIT_MASK_XTAL_MODE_MANUAL_8733B << BIT_SHIFT_XTAL_MODE_MANUAL_8733B)
#define BIT_CLEAR_XTAL_MODE_MANUAL_8733B(x) ((x) & (~BITS_XTAL_MODE_MANUAL_8733B))
#define BIT_GET_XTAL_MODE_MANUAL_8733B(x) (((x) >> BIT_SHIFT_XTAL_MODE_MANUAL_8733B) & BIT_MASK_XTAL_MODE_MANUAL_8733B)
#define BIT_SET_XTAL_MODE_MANUAL_8733B(x, v) (BIT_CLEAR_XTAL_MODE_MANUAL_8733B(x) | BIT_XTAL_MODE_MANUAL_8733B(v))

#define BIT_XTAL_MANU_SEL_8733B BIT(3)
#define BIT_POW_XTAL_LPS_8733B BIT(2)
#define BIT_XTAL_MODE_8733B BIT(1)
#define BIT_RESET_N_8733B BIT(0)

/* 2 REG_RO_XTAL_MODE_DEC_8733B */

#define BIT_SHIFT_RO_XTAL_MODE_DEC_8733B 0
#define BIT_MASK_RO_XTAL_MODE_DEC_8733B 0xffffffffL
#define BIT_RO_XTAL_MODE_DEC_8733B(x) (((x) & BIT_MASK_RO_XTAL_MODE_DEC_8733B) << BIT_SHIFT_RO_XTAL_MODE_DEC_8733B)
#define BITS_RO_XTAL_MODE_DEC_8733B (BIT_MASK_RO_XTAL_MODE_DEC_8733B << BIT_SHIFT_RO_XTAL_MODE_DEC_8733B)
#define BIT_CLEAR_RO_XTAL_MODE_DEC_8733B(x) ((x) & (~BITS_RO_XTAL_MODE_DEC_8733B))
#define BIT_GET_RO_XTAL_MODE_DEC_8733B(x) (((x) >> BIT_SHIFT_RO_XTAL_MODE_DEC_8733B) & BIT_MASK_RO_XTAL_MODE_DEC_8733B)
#define BIT_SET_RO_XTAL_MODE_DEC_8733B(x, v) (BIT_CLEAR_RO_XTAL_MODE_DEC_8733B(x) | BIT_RO_XTAL_MODE_DEC_8733B(v))

/* 2 REG_WL_ANAPAR_XTAL_OFF0_8733B */
#define BIT_XTAL_PDCK_MANU_8733B BIT(31)
#define BIT_XTAL_PDCK_OK_MANU_8733B BIT(30)
#define BIT_EN_XTAL_PDCK_VREF_8733B BIT(29)
#define BIT_XTAL_SEL_PWR_8733B BIT(28)
#define BIT_XTAL_PK_SEL_OFFSET_8733B BIT(27)

#define BIT_SHIFT_XTAL_MANU_PK_SEL_8733B 25
#define BIT_MASK_XTAL_MANU_PK_SEL_8733B 0x3
#define BIT_XTAL_MANU_PK_SEL_8733B(x) (((x) & BIT_MASK_XTAL_MANU_PK_SEL_8733B) << BIT_SHIFT_XTAL_MANU_PK_SEL_8733B)
#define BITS_XTAL_MANU_PK_SEL_8733B (BIT_MASK_XTAL_MANU_PK_SEL_8733B << BIT_SHIFT_XTAL_MANU_PK_SEL_8733B)
#define BIT_CLEAR_XTAL_MANU_PK_SEL_8733B(x) ((x) & (~BITS_XTAL_MANU_PK_SEL_8733B))
#define BIT_GET_XTAL_MANU_PK_SEL_8733B(x) (((x) >> BIT_SHIFT_XTAL_MANU_PK_SEL_8733B) & BIT_MASK_XTAL_MANU_PK_SEL_8733B)
#define BIT_SET_XTAL_MANU_PK_SEL_8733B(x, v) (BIT_CLEAR_XTAL_MANU_PK_SEL_8733B(x) | BIT_XTAL_MANU_PK_SEL_8733B(v))

#define BIT_XTAL_AACK_PK_MANU_8733B BIT(24)
#define BIT_EN_XTAL_AAC_PKDET_8733B BIT(23)
#define BIT_EN_XTAL_AAC_GM_8733B BIT(22)
#define BIT_XTAL_LDO_OPVB_SEL_8733B BIT(21)
#define BIT_XTAL_LDO_NC_8733B BIT(20)
#define BIT_XTAL_LPMODE_8733B BIT(19)
#define BIT_XTAL_DELAY_DIGI_8733B BIT(18)
#define BIT_XTAL_DELAY_USB_8733B BIT(17)
#define BIT_XTAL_DELAY_AFE_8733B BIT(16)

#define BIT_SHIFT_XTAL_DRV_DIGI_8733B 14
#define BIT_MASK_XTAL_DRV_DIGI_8733B 0x3
#define BIT_XTAL_DRV_DIGI_8733B(x) (((x) & BIT_MASK_XTAL_DRV_DIGI_8733B) << BIT_SHIFT_XTAL_DRV_DIGI_8733B)
#define BITS_XTAL_DRV_DIGI_8733B (BIT_MASK_XTAL_DRV_DIGI_8733B << BIT_SHIFT_XTAL_DRV_DIGI_8733B)
#define BIT_CLEAR_XTAL_DRV_DIGI_8733B(x) ((x) & (~BITS_XTAL_DRV_DIGI_8733B))
#define BIT_GET_XTAL_DRV_DIGI_8733B(x) (((x) >> BIT_SHIFT_XTAL_DRV_DIGI_8733B) & BIT_MASK_XTAL_DRV_DIGI_8733B)
#define BIT_SET_XTAL_DRV_DIGI_8733B(x, v) (BIT_CLEAR_XTAL_DRV_DIGI_8733B(x) | BIT_XTAL_DRV_DIGI_8733B(v))

#define BIT_SHIFT_XTAL_DRV_USB_8733B 12
#define BIT_MASK_XTAL_DRV_USB_8733B 0x3
#define BIT_XTAL_DRV_USB_8733B(x) (((x) & BIT_MASK_XTAL_DRV_USB_8733B) << BIT_SHIFT_XTAL_DRV_USB_8733B)
#define BITS_XTAL_DRV_USB_8733B (BIT_MASK_XTAL_DRV_USB_8733B << BIT_SHIFT_XTAL_DRV_USB_8733B)
#define BIT_CLEAR_XTAL_DRV_USB_8733B(x) ((x) & (~BITS_XTAL_DRV_USB_8733B))
#define BIT_GET_XTAL_DRV_USB_8733B(x) (((x) >> BIT_SHIFT_XTAL_DRV_USB_8733B) & BIT_MASK_XTAL_DRV_USB_8733B)
#define BIT_SET_XTAL_DRV_USB_8733B(x, v) (BIT_CLEAR_XTAL_DRV_USB_8733B(x) | BIT_XTAL_DRV_USB_8733B(v))

#define BIT_SHIFT_XTAL_DRV_AFE_8733B 10
#define BIT_MASK_XTAL_DRV_AFE_8733B 0x3
#define BIT_XTAL_DRV_AFE_8733B(x) (((x) & BIT_MASK_XTAL_DRV_AFE_8733B) << BIT_SHIFT_XTAL_DRV_AFE_8733B)
#define BITS_XTAL_DRV_AFE_8733B (BIT_MASK_XTAL_DRV_AFE_8733B << BIT_SHIFT_XTAL_DRV_AFE_8733B)
#define BIT_CLEAR_XTAL_DRV_AFE_8733B(x) ((x) & (~BITS_XTAL_DRV_AFE_8733B))
#define BIT_GET_XTAL_DRV_AFE_8733B(x) (((x) >> BIT_SHIFT_XTAL_DRV_AFE_8733B) & BIT_MASK_XTAL_DRV_AFE_8733B)
#define BIT_SET_XTAL_DRV_AFE_8733B(x, v) (BIT_CLEAR_XTAL_DRV_AFE_8733B(x) | BIT_XTAL_DRV_AFE_8733B(v))

#define BIT_SHIFT_XTAL_DRV_RF2_8733B 8
#define BIT_MASK_XTAL_DRV_RF2_8733B 0x3
#define BIT_XTAL_DRV_RF2_8733B(x) (((x) & BIT_MASK_XTAL_DRV_RF2_8733B) << BIT_SHIFT_XTAL_DRV_RF2_8733B)
#define BITS_XTAL_DRV_RF2_8733B (BIT_MASK_XTAL_DRV_RF2_8733B << BIT_SHIFT_XTAL_DRV_RF2_8733B)
#define BIT_CLEAR_XTAL_DRV_RF2_8733B(x) ((x) & (~BITS_XTAL_DRV_RF2_8733B))
#define BIT_GET_XTAL_DRV_RF2_8733B(x) (((x) >> BIT_SHIFT_XTAL_DRV_RF2_8733B) & BIT_MASK_XTAL_DRV_RF2_8733B)
#define BIT_SET_XTAL_DRV_RF2_8733B(x, v) (BIT_CLEAR_XTAL_DRV_RF2_8733B(x) | BIT_XTAL_DRV_RF2_8733B(v))

#define BIT_SHIFT_XTAL_DRV_RF1_8733B 6
#define BIT_MASK_XTAL_DRV_RF1_8733B 0x3
#define BIT_XTAL_DRV_RF1_8733B(x) (((x) & BIT_MASK_XTAL_DRV_RF1_8733B) << BIT_SHIFT_XTAL_DRV_RF1_8733B)
#define BITS_XTAL_DRV_RF1_8733B (BIT_MASK_XTAL_DRV_RF1_8733B << BIT_SHIFT_XTAL_DRV_RF1_8733B)
#define BIT_CLEAR_XTAL_DRV_RF1_8733B(x) ((x) & (~BITS_XTAL_DRV_RF1_8733B))
#define BIT_GET_XTAL_DRV_RF1_8733B(x) (((x) >> BIT_SHIFT_XTAL_DRV_RF1_8733B) & BIT_MASK_XTAL_DRV_RF1_8733B)
#define BIT_SET_XTAL_DRV_RF1_8733B(x, v) (BIT_CLEAR_XTAL_DRV_RF1_8733B(x) | BIT_XTAL_DRV_RF1_8733B(v))

#define BIT_XTAL_DRV_RF_LATCH_8733B BIT(5)
#define BIT_XTAL_GM_SEP_8733B BIT(4)
#define BIT_XQSEL_RF_AWAKE_8733B BIT(3)
#define BIT_XQSEL_RF_INITIAL_8733B BIT(2)
#define BIT_XQSEL_8733B BIT(1)
#define BIT_GATED_XTAL_OK0_8733B BIT(0)

/* 2 REG_WL_ANAPAR_XTAL_OFF1_8733B */

#define BIT_SHIFT_XTAL_SRC_IQK_BCN_8733B 20
#define BIT_MASK_XTAL_SRC_IQK_BCN_8733B 0x7
#define BIT_XTAL_SRC_IQK_BCN_8733B(x) (((x) & BIT_MASK_XTAL_SRC_IQK_BCN_8733B) << BIT_SHIFT_XTAL_SRC_IQK_BCN_8733B)
#define BITS_XTAL_SRC_IQK_BCN_8733B (BIT_MASK_XTAL_SRC_IQK_BCN_8733B << BIT_SHIFT_XTAL_SRC_IQK_BCN_8733B)
#define BIT_CLEAR_XTAL_SRC_IQK_BCN_8733B(x) ((x) & (~BITS_XTAL_SRC_IQK_BCN_8733B))
#define BIT_GET_XTAL_SRC_IQK_BCN_8733B(x) (((x) >> BIT_SHIFT_XTAL_SRC_IQK_BCN_8733B) & BIT_MASK_XTAL_SRC_IQK_BCN_8733B)
#define BIT_SET_XTAL_SRC_IQK_BCN_8733B(x, v) (BIT_CLEAR_XTAL_SRC_IQK_BCN_8733B(x) | BIT_XTAL_SRC_IQK_BCN_8733B(v))

#define BIT_SHIFT_XTAL_SRC_BT_8733B 17
#define BIT_MASK_XTAL_SRC_BT_8733B 0x7
#define BIT_XTAL_SRC_BT_8733B(x) (((x) & BIT_MASK_XTAL_SRC_BT_8733B) << BIT_SHIFT_XTAL_SRC_BT_8733B)
#define BITS_XTAL_SRC_BT_8733B (BIT_MASK_XTAL_SRC_BT_8733B << BIT_SHIFT_XTAL_SRC_BT_8733B)
#define BIT_CLEAR_XTAL_SRC_BT_8733B(x) ((x) & (~BITS_XTAL_SRC_BT_8733B))
#define BIT_GET_XTAL_SRC_BT_8733B(x) (((x) >> BIT_SHIFT_XTAL_SRC_BT_8733B) & BIT_MASK_XTAL_SRC_BT_8733B)
#define BIT_SET_XTAL_SRC_BT_8733B(x, v) (BIT_CLEAR_XTAL_SRC_BT_8733B(x) | BIT_XTAL_SRC_BT_8733B(v))

#define BIT_SHIFT_XTAL_SRC_RF_8733B 14
#define BIT_MASK_XTAL_SRC_RF_8733B 0x7
#define BIT_XTAL_SRC_RF_8733B(x) (((x) & BIT_MASK_XTAL_SRC_RF_8733B) << BIT_SHIFT_XTAL_SRC_RF_8733B)
#define BITS_XTAL_SRC_RF_8733B (BIT_MASK_XTAL_SRC_RF_8733B << BIT_SHIFT_XTAL_SRC_RF_8733B)
#define BIT_CLEAR_XTAL_SRC_RF_8733B(x) ((x) & (~BITS_XTAL_SRC_RF_8733B))
#define BIT_GET_XTAL_SRC_RF_8733B(x) (((x) >> BIT_SHIFT_XTAL_SRC_RF_8733B) & BIT_MASK_XTAL_SRC_RF_8733B)
#define BIT_SET_XTAL_SRC_RF_8733B(x, v) (BIT_CLEAR_XTAL_SRC_RF_8733B(x) | BIT_XTAL_SRC_RF_8733B(v))

#define BIT_SHIFT_XTAL_DUMMY_8733B 10
#define BIT_MASK_XTAL_DUMMY_8733B 0xf
#define BIT_XTAL_DUMMY_8733B(x) (((x) & BIT_MASK_XTAL_DUMMY_8733B) << BIT_SHIFT_XTAL_DUMMY_8733B)
#define BITS_XTAL_DUMMY_8733B (BIT_MASK_XTAL_DUMMY_8733B << BIT_SHIFT_XTAL_DUMMY_8733B)
#define BIT_CLEAR_XTAL_DUMMY_8733B(x) ((x) & (~BITS_XTAL_DUMMY_8733B))
#define BIT_GET_XTAL_DUMMY_8733B(x) (((x) >> BIT_SHIFT_XTAL_DUMMY_8733B) & BIT_MASK_XTAL_DUMMY_8733B)
#define BIT_SET_XTAL_DUMMY_8733B(x, v) (BIT_CLEAR_XTAL_DUMMY_8733B(x) | BIT_XTAL_DUMMY_8733B(v))

#define BIT_XTAL_EN_LNBUF_8733B BIT(9)
#define BIT_XTAL__AAC_TIE_MID_8733B BIT(8)

#define BIT_SHIFT_XTAL_AAC_IOFFSET_8733B 6
#define BIT_MASK_XTAL_AAC_IOFFSET_8733B 0x3
#define BIT_XTAL_AAC_IOFFSET_8733B(x) (((x) & BIT_MASK_XTAL_AAC_IOFFSET_8733B) << BIT_SHIFT_XTAL_AAC_IOFFSET_8733B)
#define BITS_XTAL_AAC_IOFFSET_8733B (BIT_MASK_XTAL_AAC_IOFFSET_8733B << BIT_SHIFT_XTAL_AAC_IOFFSET_8733B)
#define BIT_CLEAR_XTAL_AAC_IOFFSET_8733B(x) ((x) & (~BITS_XTAL_AAC_IOFFSET_8733B))
#define BIT_GET_XTAL_AAC_IOFFSET_8733B(x) (((x) >> BIT_SHIFT_XTAL_AAC_IOFFSET_8733B) & BIT_MASK_XTAL_AAC_IOFFSET_8733B)
#define BIT_SET_XTAL_AAC_IOFFSET_8733B(x, v) (BIT_CLEAR_XTAL_AAC_IOFFSET_8733B(x) | BIT_XTAL_AAC_IOFFSET_8733B(v))

#define BIT_SHIFT_XTAL_AAC_CAP_8733B 4
#define BIT_MASK_XTAL_AAC_CAP_8733B 0x3
#define BIT_XTAL_AAC_CAP_8733B(x) (((x) & BIT_MASK_XTAL_AAC_CAP_8733B) << BIT_SHIFT_XTAL_AAC_CAP_8733B)
#define BITS_XTAL_AAC_CAP_8733B (BIT_MASK_XTAL_AAC_CAP_8733B << BIT_SHIFT_XTAL_AAC_CAP_8733B)
#define BIT_CLEAR_XTAL_AAC_CAP_8733B(x) ((x) & (~BITS_XTAL_AAC_CAP_8733B))
#define BIT_GET_XTAL_AAC_CAP_8733B(x) (((x) >> BIT_SHIFT_XTAL_AAC_CAP_8733B) & BIT_MASK_XTAL_AAC_CAP_8733B)
#define BIT_SET_XTAL_AAC_CAP_8733B(x, v) (BIT_CLEAR_XTAL_AAC_CAP_8733B(x) | BIT_XTAL_AAC_CAP_8733B(v))

#define BIT_SHIFT_XTAL_PDSW_8733B 2
#define BIT_MASK_XTAL_PDSW_8733B 0x3
#define BIT_XTAL_PDSW_8733B(x) (((x) & BIT_MASK_XTAL_PDSW_8733B) << BIT_SHIFT_XTAL_PDSW_8733B)
#define BITS_XTAL_PDSW_8733B (BIT_MASK_XTAL_PDSW_8733B << BIT_SHIFT_XTAL_PDSW_8733B)
#define BIT_CLEAR_XTAL_PDSW_8733B(x) ((x) & (~BITS_XTAL_PDSW_8733B))
#define BIT_GET_XTAL_PDSW_8733B(x) (((x) >> BIT_SHIFT_XTAL_PDSW_8733B) & BIT_MASK_XTAL_PDSW_8733B)
#define BIT_SET_XTAL_PDSW_8733B(x, v) (BIT_CLEAR_XTAL_PDSW_8733B(x) | BIT_XTAL_PDSW_8733B(v))

#define BIT_SHIFT_XTAL_LPS_BUF_VB_8733B 0
#define BIT_MASK_XTAL_LPS_BUF_VB_8733B 0x3
#define BIT_XTAL_LPS_BUF_VB_8733B(x) (((x) & BIT_MASK_XTAL_LPS_BUF_VB_8733B) << BIT_SHIFT_XTAL_LPS_BUF_VB_8733B)
#define BITS_XTAL_LPS_BUF_VB_8733B (BIT_MASK_XTAL_LPS_BUF_VB_8733B << BIT_SHIFT_XTAL_LPS_BUF_VB_8733B)
#define BIT_CLEAR_XTAL_LPS_BUF_VB_8733B(x) ((x) & (~BITS_XTAL_LPS_BUF_VB_8733B))
#define BIT_GET_XTAL_LPS_BUF_VB_8733B(x) (((x) >> BIT_SHIFT_XTAL_LPS_BUF_VB_8733B) & BIT_MASK_XTAL_LPS_BUF_VB_8733B)
#define BIT_SET_XTAL_LPS_BUF_VB_8733B(x, v) (BIT_CLEAR_XTAL_LPS_BUF_VB_8733B(x) | BIT_XTAL_LPS_BUF_VB_8733B(v))

/* 2 REG_ANAPAR_XTAL_AAC_OFF0_8733B */
#define BIT_XAAC_LPOW_8733B BIT(31)

#define BIT_SHIFT_AAC_MODE_8733B 29
#define BIT_MASK_AAC_MODE_8733B 0x3
#define BIT_AAC_MODE_8733B(x) (((x) & BIT_MASK_AAC_MODE_8733B) << BIT_SHIFT_AAC_MODE_8733B)
#define BITS_AAC_MODE_8733B (BIT_MASK_AAC_MODE_8733B << BIT_SHIFT_AAC_MODE_8733B)
#define BIT_CLEAR_AAC_MODE_8733B(x) ((x) & (~BITS_AAC_MODE_8733B))
#define BIT_GET_AAC_MODE_8733B(x) (((x) >> BIT_SHIFT_AAC_MODE_8733B) & BIT_MASK_AAC_MODE_8733B)
#define BIT_SET_AAC_MODE_8733B(x, v) (BIT_CLEAR_AAC_MODE_8733B(x) | BIT_AAC_MODE_8733B(v))

#define BIT_EN_XTAL_AAC_TRIG_8733B BIT(28)
#define BIT_EN_XTAL_AAC_V1_8733B BIT(27)
#define BIT_EN_XTAL_AAC_DIGI_8733B BIT(26)

#define BIT_SHIFT_GM_MANUAL_8733B 21
#define BIT_MASK_GM_MANUAL_8733B 0x1f
#define BIT_GM_MANUAL_8733B(x) (((x) & BIT_MASK_GM_MANUAL_8733B) << BIT_SHIFT_GM_MANUAL_8733B)
#define BITS_GM_MANUAL_8733B (BIT_MASK_GM_MANUAL_8733B << BIT_SHIFT_GM_MANUAL_8733B)
#define BIT_CLEAR_GM_MANUAL_8733B(x) ((x) & (~BITS_GM_MANUAL_8733B))
#define BIT_GET_GM_MANUAL_8733B(x) (((x) >> BIT_SHIFT_GM_MANUAL_8733B) & BIT_MASK_GM_MANUAL_8733B)
#define BIT_SET_GM_MANUAL_8733B(x, v) (BIT_CLEAR_GM_MANUAL_8733B(x) | BIT_GM_MANUAL_8733B(v))

#define BIT_SHIFT_GM_STUP_8733B 16
#define BIT_MASK_GM_STUP_8733B 0x1f
#define BIT_GM_STUP_8733B(x) (((x) & BIT_MASK_GM_STUP_8733B) << BIT_SHIFT_GM_STUP_8733B)
#define BITS_GM_STUP_8733B (BIT_MASK_GM_STUP_8733B << BIT_SHIFT_GM_STUP_8733B)
#define BIT_CLEAR_GM_STUP_8733B(x) ((x) & (~BITS_GM_STUP_8733B))
#define BIT_GET_GM_STUP_8733B(x) (((x) >> BIT_SHIFT_GM_STUP_8733B) & BIT_MASK_GM_STUP_8733B)
#define BIT_SET_GM_STUP_8733B(x, v) (BIT_CLEAR_GM_STUP_8733B(x) | BIT_GM_STUP_8733B(v))

#define BIT_SHIFT_XTAL_CK_SET_8733B 13
#define BIT_MASK_XTAL_CK_SET_8733B 0x7
#define BIT_XTAL_CK_SET_8733B(x) (((x) & BIT_MASK_XTAL_CK_SET_8733B) << BIT_SHIFT_XTAL_CK_SET_8733B)
#define BITS_XTAL_CK_SET_8733B (BIT_MASK_XTAL_CK_SET_8733B << BIT_SHIFT_XTAL_CK_SET_8733B)
#define BIT_CLEAR_XTAL_CK_SET_8733B(x) ((x) & (~BITS_XTAL_CK_SET_8733B))
#define BIT_GET_XTAL_CK_SET_8733B(x) (((x) >> BIT_SHIFT_XTAL_CK_SET_8733B) & BIT_MASK_XTAL_CK_SET_8733B)
#define BIT_SET_XTAL_CK_SET_8733B(x, v) (BIT_CLEAR_XTAL_CK_SET_8733B(x) | BIT_XTAL_CK_SET_8733B(v))

#define BIT_SHIFT_GM_INIT_8733B 8
#define BIT_MASK_GM_INIT_8733B 0x1f
#define BIT_GM_INIT_8733B(x) (((x) & BIT_MASK_GM_INIT_8733B) << BIT_SHIFT_GM_INIT_8733B)
#define BITS_GM_INIT_8733B (BIT_MASK_GM_INIT_8733B << BIT_SHIFT_GM_INIT_8733B)
#define BIT_CLEAR_GM_INIT_8733B(x) ((x) & (~BITS_GM_INIT_8733B))
#define BIT_GET_GM_INIT_8733B(x) (((x) >> BIT_SHIFT_GM_INIT_8733B) & BIT_MASK_GM_INIT_8733B)
#define BIT_SET_GM_INIT_8733B(x, v) (BIT_CLEAR_GM_INIT_8733B(x) | BIT_GM_INIT_8733B(v))

#define BIT_GM_STEP_8733B BIT(7)

#define BIT_SHIFT_XAAC_GM_OFFSET_8733B 2
#define BIT_MASK_XAAC_GM_OFFSET_8733B 0x1f
#define BIT_XAAC_GM_OFFSET_8733B(x) (((x) & BIT_MASK_XAAC_GM_OFFSET_8733B) << BIT_SHIFT_XAAC_GM_OFFSET_8733B)
#define BITS_XAAC_GM_OFFSET_8733B (BIT_MASK_XAAC_GM_OFFSET_8733B << BIT_SHIFT_XAAC_GM_OFFSET_8733B)
#define BIT_CLEAR_XAAC_GM_OFFSET_8733B(x) ((x) & (~BITS_XAAC_GM_OFFSET_8733B))
#define BIT_GET_XAAC_GM_OFFSET_8733B(x) (((x) >> BIT_SHIFT_XAAC_GM_OFFSET_8733B) & BIT_MASK_XAAC_GM_OFFSET_8733B)
#define BIT_SET_XAAC_GM_OFFSET_8733B(x, v) (BIT_CLEAR_XAAC_GM_OFFSET_8733B(x) | BIT_XAAC_GM_OFFSET_8733B(v))

#define BIT_OFFSET_PLUS_8733B BIT(1)
#define BIT_RESET_N_8733B BIT(0)

/* 2 REG_ANAPAR_XTAL_AAC_OFF1_8733B */

#define BIT_SHIFT_PK_END_AR_8733B 3
#define BIT_MASK_PK_END_AR_8733B 0x3
#define BIT_PK_END_AR_8733B(x) (((x) & BIT_MASK_PK_END_AR_8733B) << BIT_SHIFT_PK_END_AR_8733B)
#define BITS_PK_END_AR_8733B (BIT_MASK_PK_END_AR_8733B << BIT_SHIFT_PK_END_AR_8733B)
#define BIT_CLEAR_PK_END_AR_8733B(x) ((x) & (~BITS_PK_END_AR_8733B))
#define BIT_GET_PK_END_AR_8733B(x) (((x) >> BIT_SHIFT_PK_END_AR_8733B) & BIT_MASK_PK_END_AR_8733B)
#define BIT_SET_PK_END_AR_8733B(x, v) (BIT_CLEAR_PK_END_AR_8733B(x) | BIT_PK_END_AR_8733B(v))

#define BIT_SHIFT_PK_START_AR_8733B 1
#define BIT_MASK_PK_START_AR_8733B 0x3
#define BIT_PK_START_AR_8733B(x) (((x) & BIT_MASK_PK_START_AR_8733B) << BIT_SHIFT_PK_START_AR_8733B)
#define BITS_PK_START_AR_8733B (BIT_MASK_PK_START_AR_8733B << BIT_SHIFT_PK_START_AR_8733B)
#define BIT_CLEAR_PK_START_AR_8733B(x) ((x) & (~BITS_PK_START_AR_8733B))
#define BIT_GET_PK_START_AR_8733B(x) (((x) >> BIT_SHIFT_PK_START_AR_8733B) & BIT_MASK_PK_START_AR_8733B)
#define BIT_SET_PK_START_AR_8733B(x, v) (BIT_CLEAR_PK_START_AR_8733B(x) | BIT_PK_START_AR_8733B(v))

#define BIT_XAAC_LUT_MANUAL_EN_8733B BIT(0)

/* 2 REG_XAAC_READ_ONLY_DATA_8733B */

#define BIT_SHIFT_AAC_MODE_R1_8733B 17
#define BIT_MASK_AAC_MODE_R1_8733B 0x3
#define BIT_AAC_MODE_R1_8733B(x) (((x) & BIT_MASK_AAC_MODE_R1_8733B) << BIT_SHIFT_AAC_MODE_R1_8733B)
#define BITS_AAC_MODE_R1_8733B (BIT_MASK_AAC_MODE_R1_8733B << BIT_SHIFT_AAC_MODE_R1_8733B)
#define BIT_CLEAR_AAC_MODE_R1_8733B(x) ((x) & (~BITS_AAC_MODE_R1_8733B))
#define BIT_GET_AAC_MODE_R1_8733B(x) (((x) >> BIT_SHIFT_AAC_MODE_R1_8733B) & BIT_MASK_AAC_MODE_R1_8733B)
#define BIT_SET_AAC_MODE_R1_8733B(x, v) (BIT_CLEAR_AAC_MODE_R1_8733B(x) | BIT_AAC_MODE_R1_8733B(v))

#define BIT_SHIFT_XAACK_DBG_8733B 14
#define BIT_MASK_XAACK_DBG_8733B 0x7
#define BIT_XAACK_DBG_8733B(x) (((x) & BIT_MASK_XAACK_DBG_8733B) << BIT_SHIFT_XAACK_DBG_8733B)
#define BITS_XAACK_DBG_8733B (BIT_MASK_XAACK_DBG_8733B << BIT_SHIFT_XAACK_DBG_8733B)
#define BIT_CLEAR_XAACK_DBG_8733B(x) ((x) & (~BITS_XAACK_DBG_8733B))
#define BIT_GET_XAACK_DBG_8733B(x) (((x) >> BIT_SHIFT_XAACK_DBG_8733B) & BIT_MASK_XAACK_DBG_8733B)
#define BIT_SET_XAACK_DBG_8733B(x, v) (BIT_CLEAR_XAACK_DBG_8733B(x) | BIT_XAACK_DBG_8733B(v))

#define BIT_SHIFT_XAACK_STATE_8733B 10
#define BIT_MASK_XAACK_STATE_8733B 0xf
#define BIT_XAACK_STATE_8733B(x) (((x) & BIT_MASK_XAACK_STATE_8733B) << BIT_SHIFT_XAACK_STATE_8733B)
#define BITS_XAACK_STATE_8733B (BIT_MASK_XAACK_STATE_8733B << BIT_SHIFT_XAACK_STATE_8733B)
#define BIT_CLEAR_XAACK_STATE_8733B(x) ((x) & (~BITS_XAACK_STATE_8733B))
#define BIT_GET_XAACK_STATE_8733B(x) (((x) >> BIT_SHIFT_XAACK_STATE_8733B) & BIT_MASK_XAACK_STATE_8733B)
#define BIT_SET_XAACK_STATE_8733B(x, v) (BIT_CLEAR_XAACK_STATE_8733B(x) | BIT_XAACK_STATE_8733B(v))

#define BIT_XTAL_PEAKDET_OUT_8733B BIT(9)
#define BIT_XAAC_BUSY_8733B BIT(8)
#define BIT_XAAC_READY_8733B BIT(7)

#define BIT_SHIFT_XAAC_PK_SEL_8733B 5
#define BIT_MASK_XAAC_PK_SEL_8733B 0x3
#define BIT_XAAC_PK_SEL_8733B(x) (((x) & BIT_MASK_XAAC_PK_SEL_8733B) << BIT_SHIFT_XAAC_PK_SEL_8733B)
#define BITS_XAAC_PK_SEL_8733B (BIT_MASK_XAAC_PK_SEL_8733B << BIT_SHIFT_XAAC_PK_SEL_8733B)
#define BIT_CLEAR_XAAC_PK_SEL_8733B(x) ((x) & (~BITS_XAAC_PK_SEL_8733B))
#define BIT_GET_XAAC_PK_SEL_8733B(x) (((x) >> BIT_SHIFT_XAAC_PK_SEL_8733B) & BIT_MASK_XAAC_PK_SEL_8733B)
#define BIT_SET_XAAC_PK_SEL_8733B(x, v) (BIT_CLEAR_XAAC_PK_SEL_8733B(x) | BIT_XAAC_PK_SEL_8733B(v))

#define BIT_SHIFT_XTAL_GM_OUT_8733B 0
#define BIT_MASK_XTAL_GM_OUT_8733B 0x1f
#define BIT_XTAL_GM_OUT_8733B(x) (((x) & BIT_MASK_XTAL_GM_OUT_8733B) << BIT_SHIFT_XTAL_GM_OUT_8733B)
#define BITS_XTAL_GM_OUT_8733B (BIT_MASK_XTAL_GM_OUT_8733B << BIT_SHIFT_XTAL_GM_OUT_8733B)
#define BIT_CLEAR_XTAL_GM_OUT_8733B(x) ((x) & (~BITS_XTAL_GM_OUT_8733B))
#define BIT_GET_XTAL_GM_OUT_8733B(x) (((x) >> BIT_SHIFT_XTAL_GM_OUT_8733B) & BIT_MASK_XTAL_GM_OUT_8733B)
#define BIT_SET_XTAL_GM_OUT_8733B(x, v) (BIT_CLEAR_XTAL_GM_OUT_8733B(x) | BIT_XTAL_GM_OUT_8733B(v))

/* 2 REG_ANAPAR_PDCK_OFF_8733B */
#define BIT_PDCK_LPOW_8733B BIT(22)

#define BIT_SHIFT_XPDCK_VREF_SEL_8733B 17
#define BIT_MASK_XPDCK_VREF_SEL_8733B 0x1f
#define BIT_XPDCK_VREF_SEL_8733B(x) (((x) & BIT_MASK_XPDCK_VREF_SEL_8733B) << BIT_SHIFT_XPDCK_VREF_SEL_8733B)
#define BITS_XPDCK_VREF_SEL_8733B (BIT_MASK_XPDCK_VREF_SEL_8733B << BIT_SHIFT_XPDCK_VREF_SEL_8733B)
#define BIT_CLEAR_XPDCK_VREF_SEL_8733B(x) ((x) & (~BITS_XPDCK_VREF_SEL_8733B))
#define BIT_GET_XPDCK_VREF_SEL_8733B(x) (((x) >> BIT_SHIFT_XPDCK_VREF_SEL_8733B) & BIT_MASK_XPDCK_VREF_SEL_8733B)
#define BIT_SET_XPDCK_VREF_SEL_8733B(x, v) (BIT_CLEAR_XPDCK_VREF_SEL_8733B(x) | BIT_XPDCK_VREF_SEL_8733B(v))

#define BIT_SHIFT_XTAL_PDCK_UNIT_8733B 15
#define BIT_MASK_XTAL_PDCK_UNIT_8733B 0x3
#define BIT_XTAL_PDCK_UNIT_8733B(x) (((x) & BIT_MASK_XTAL_PDCK_UNIT_8733B) << BIT_SHIFT_XTAL_PDCK_UNIT_8733B)
#define BITS_XTAL_PDCK_UNIT_8733B (BIT_MASK_XTAL_PDCK_UNIT_8733B << BIT_SHIFT_XTAL_PDCK_UNIT_8733B)
#define BIT_CLEAR_XTAL_PDCK_UNIT_8733B(x) ((x) & (~BITS_XTAL_PDCK_UNIT_8733B))
#define BIT_GET_XTAL_PDCK_UNIT_8733B(x) (((x) >> BIT_SHIFT_XTAL_PDCK_UNIT_8733B) & BIT_MASK_XTAL_PDCK_UNIT_8733B)
#define BIT_SET_XTAL_PDCK_UNIT_8733B(x, v) (BIT_CLEAR_XTAL_PDCK_UNIT_8733B(x) | BIT_XTAL_PDCK_UNIT_8733B(v))

#define BIT_SHIFT_VREF_INIT_8733B 10
#define BIT_MASK_VREF_INIT_8733B 0x1f
#define BIT_VREF_INIT_8733B(x) (((x) & BIT_MASK_VREF_INIT_8733B) << BIT_SHIFT_VREF_INIT_8733B)
#define BITS_VREF_INIT_8733B (BIT_MASK_VREF_INIT_8733B << BIT_SHIFT_VREF_INIT_8733B)
#define BIT_CLEAR_VREF_INIT_8733B(x) ((x) & (~BITS_VREF_INIT_8733B))
#define BIT_GET_VREF_INIT_8733B(x) (((x) >> BIT_SHIFT_VREF_INIT_8733B) & BIT_MASK_VREF_INIT_8733B)
#define BIT_SET_VREF_INIT_8733B(x, v) (BIT_CLEAR_VREF_INIT_8733B(x) | BIT_VREF_INIT_8733B(v))

#define BIT_SHIFT_VREF_MANUAL_8733B 5
#define BIT_MASK_VREF_MANUAL_8733B 0x1f
#define BIT_VREF_MANUAL_8733B(x) (((x) & BIT_MASK_VREF_MANUAL_8733B) << BIT_SHIFT_VREF_MANUAL_8733B)
#define BITS_VREF_MANUAL_8733B (BIT_MASK_VREF_MANUAL_8733B << BIT_SHIFT_VREF_MANUAL_8733B)
#define BIT_CLEAR_VREF_MANUAL_8733B(x) ((x) & (~BITS_VREF_MANUAL_8733B))
#define BIT_GET_VREF_MANUAL_8733B(x) (((x) >> BIT_SHIFT_VREF_MANUAL_8733B) & BIT_MASK_VREF_MANUAL_8733B)
#define BIT_SET_VREF_MANUAL_8733B(x, v) (BIT_CLEAR_VREF_MANUAL_8733B(x) | BIT_VREF_MANUAL_8733B(v))

#define BIT_SHIFT_PDCK_WAIT_CYC_8733B 3
#define BIT_MASK_PDCK_WAIT_CYC_8733B 0x3
#define BIT_PDCK_WAIT_CYC_8733B(x) (((x) & BIT_MASK_PDCK_WAIT_CYC_8733B) << BIT_SHIFT_PDCK_WAIT_CYC_8733B)
#define BITS_PDCK_WAIT_CYC_8733B (BIT_MASK_PDCK_WAIT_CYC_8733B << BIT_SHIFT_PDCK_WAIT_CYC_8733B)
#define BIT_CLEAR_PDCK_WAIT_CYC_8733B(x) ((x) & (~BITS_PDCK_WAIT_CYC_8733B))
#define BIT_GET_PDCK_WAIT_CYC_8733B(x) (((x) >> BIT_SHIFT_PDCK_WAIT_CYC_8733B) & BIT_MASK_PDCK_WAIT_CYC_8733B)
#define BIT_SET_PDCK_WAIT_CYC_8733B(x, v) (BIT_CLEAR_PDCK_WAIT_CYC_8733B(x) | BIT_PDCK_WAIT_CYC_8733B(v))

#define BIT_PDCK_SEARCH_MODE_8733B BIT(2)
#define BIT_EN_XTAL_PDCK_DIGI_8733B BIT(1)
#define BIT_RESET_N_8733B BIT(0)

/* 2 REG__PDCK_READ_ONLY_DATA_8733B */

#define BIT_SHIFT_PDCK_STATE_8733B 19
#define BIT_MASK_PDCK_STATE_8733B 0xf
#define BIT_PDCK_STATE_8733B(x) (((x) & BIT_MASK_PDCK_STATE_8733B) << BIT_SHIFT_PDCK_STATE_8733B)
#define BITS_PDCK_STATE_8733B (BIT_MASK_PDCK_STATE_8733B << BIT_SHIFT_PDCK_STATE_8733B)
#define BIT_CLEAR_PDCK_STATE_8733B(x) ((x) & (~BITS_PDCK_STATE_8733B))
#define BIT_GET_PDCK_STATE_8733B(x) (((x) >> BIT_SHIFT_PDCK_STATE_8733B) & BIT_MASK_PDCK_STATE_8733B)
#define BIT_SET_PDCK_STATE_8733B(x, v) (BIT_CLEAR_PDCK_STATE_8733B(x) | BIT_PDCK_STATE_8733B(v))

#define BIT_XPDCK_BUSY_8733B BIT(18)
#define BIT_XPDCK_READY_8733B BIT(17)

#define BIT_SHIFT_XPDCK_VREF_OUT_8733B 12
#define BIT_MASK_XPDCK_VREF_OUT_8733B 0x1f
#define BIT_XPDCK_VREF_OUT_8733B(x) (((x) & BIT_MASK_XPDCK_VREF_OUT_8733B) << BIT_SHIFT_XPDCK_VREF_OUT_8733B)
#define BITS_XPDCK_VREF_OUT_8733B (BIT_MASK_XPDCK_VREF_OUT_8733B << BIT_SHIFT_XPDCK_VREF_OUT_8733B)
#define BIT_CLEAR_XPDCK_VREF_OUT_8733B(x) ((x) & (~BITS_XPDCK_VREF_OUT_8733B))
#define BIT_GET_XPDCK_VREF_OUT_8733B(x) (((x) >> BIT_SHIFT_XPDCK_VREF_OUT_8733B) & BIT_MASK_XPDCK_VREF_OUT_8733B)
#define BIT_SET_XPDCK_VREF_OUT_8733B(x, v) (BIT_CLEAR_XPDCK_VREF_OUT_8733B(x) | BIT_XPDCK_VREF_OUT_8733B(v))

#define BIT_BT_XPDCK_GNT_8733B BIT(11)
#define BIT_WL_XPDCK_GNT_8733B BIT(10)
#define BIT_BT_XPDCK_REQ_8733B BIT(9)
#define BIT_WL_XPDCK_REQ_8733B BIT(8)
#define BIT_XPDCK_BUSY_WL_8733B BIT(6)
#define BIT_XPDCK_READY_WL_8733B BIT(5)

#define BIT_SHIFT_XPDCK_VREF_OUT_WL_8733B 0
#define BIT_MASK_XPDCK_VREF_OUT_WL_8733B 0x1f
#define BIT_XPDCK_VREF_OUT_WL_8733B(x) (((x) & BIT_MASK_XPDCK_VREF_OUT_WL_8733B) << BIT_SHIFT_XPDCK_VREF_OUT_WL_8733B)
#define BITS_XPDCK_VREF_OUT_WL_8733B (BIT_MASK_XPDCK_VREF_OUT_WL_8733B << BIT_SHIFT_XPDCK_VREF_OUT_WL_8733B)
#define BIT_CLEAR_XPDCK_VREF_OUT_WL_8733B(x) ((x) & (~BITS_XPDCK_VREF_OUT_WL_8733B))
#define BIT_GET_XPDCK_VREF_OUT_WL_8733B(x) (((x) >> BIT_SHIFT_XPDCK_VREF_OUT_WL_8733B) & BIT_MASK_XPDCK_VREF_OUT_WL_8733B)
#define BIT_SET_XPDCK_VREF_OUT_WL_8733B(x, v) (BIT_CLEAR_XPDCK_VREF_OUT_WL_8733B(x) | BIT_XPDCK_VREF_OUT_WL_8733B(v))

/* 2 REG_ANAPARSW_MAC_OFF0_8733B */

#define BIT_SHIFT_SDZN_L_8733B 30
#define BIT_MASK_SDZN_L_8733B 0x3
#define BIT_SDZN_L_8733B(x) (((x) & BIT_MASK_SDZN_L_8733B) << BIT_SHIFT_SDZN_L_8733B)
#define BITS_SDZN_L_8733B (BIT_MASK_SDZN_L_8733B << BIT_SHIFT_SDZN_L_8733B)
#define BIT_CLEAR_SDZN_L_8733B(x) ((x) & (~BITS_SDZN_L_8733B))
#define BIT_GET_SDZN_L_8733B(x) (((x) >> BIT_SHIFT_SDZN_L_8733B) & BIT_MASK_SDZN_L_8733B)
#define BIT_SET_SDZN_L_8733B(x, v) (BIT_CLEAR_SDZN_L_8733B(x) | BIT_SDZN_L_8733B(v))

#define BIT_REG_AUTOZCD_L_8733B BIT(29)
#define BIT_REG_VOFB_SEL_8733B BIT(28)

#define BIT_SHIFT_TBOX_L1_8733B 26
#define BIT_MASK_TBOX_L1_8733B 0x3
#define BIT_TBOX_L1_8733B(x) (((x) & BIT_MASK_TBOX_L1_8733B) << BIT_SHIFT_TBOX_L1_8733B)
#define BITS_TBOX_L1_8733B (BIT_MASK_TBOX_L1_8733B << BIT_SHIFT_TBOX_L1_8733B)
#define BIT_CLEAR_TBOX_L1_8733B(x) ((x) & (~BITS_TBOX_L1_8733B))
#define BIT_GET_TBOX_L1_8733B(x) (((x) >> BIT_SHIFT_TBOX_L1_8733B) & BIT_MASK_TBOX_L1_8733B)
#define BIT_SET_TBOX_L1_8733B(x, v) (BIT_CLEAR_TBOX_L1_8733B(x) | BIT_TBOX_L1_8733B(v))

#define BIT_ENOCPMUX_L_8733B BIT(25)
#define BIT_FORCE_LDOS_8733B BIT(24)
#define BIT_VO_DISCHG_8733B BIT(23)
#define BIT_LDO_OC_CLAMP_8733B BIT(22)
#define BIT_MINOFF_LIQ_8733B BIT(21)
#define BIT_MINON_LIQ_8733B BIT(20)
#define BIT_POW_AUTO_L_8733B BIT(19)
#define BIT_ARENB_H_8733B BIT(18)
#define BIT_NO_OFFTIME_L_8733B BIT(17)
#define BIT_EN_ON_END_L_8733B BIT(16)
#define BIT_ENCOT_L_8733B BIT(15)

#define BIT_SHIFT_REG_CLK_SEL_8733B 13
#define BIT_MASK_REG_CLK_SEL_8733B 0x3
#define BIT_REG_CLK_SEL_8733B(x) (((x) & BIT_MASK_REG_CLK_SEL_8733B) << BIT_SHIFT_REG_CLK_SEL_8733B)
#define BITS_REG_CLK_SEL_8733B (BIT_MASK_REG_CLK_SEL_8733B << BIT_SHIFT_REG_CLK_SEL_8733B)
#define BIT_CLEAR_REG_CLK_SEL_8733B(x) ((x) & (~BITS_REG_CLK_SEL_8733B))
#define BIT_GET_REG_CLK_SEL_8733B(x) (((x) >> BIT_SHIFT_REG_CLK_SEL_8733B) & BIT_MASK_REG_CLK_SEL_8733B)
#define BIT_SET_REG_CLK_SEL_8733B(x, v) (BIT_CLEAR_REG_CLK_SEL_8733B(x) | BIT_REG_CLK_SEL_8733B(v))

#define BIT_REG_TYPE_L_8733B BIT(12)

#define BIT_SHIFT_R3_L1_8733B 10
#define BIT_MASK_R3_L1_8733B 0x3
#define BIT_R3_L1_8733B(x) (((x) & BIT_MASK_R3_L1_8733B) << BIT_SHIFT_R3_L1_8733B)
#define BITS_R3_L1_8733B (BIT_MASK_R3_L1_8733B << BIT_SHIFT_R3_L1_8733B)
#define BIT_CLEAR_R3_L1_8733B(x) ((x) & (~BITS_R3_L1_8733B))
#define BIT_GET_R3_L1_8733B(x) (((x) >> BIT_SHIFT_R3_L1_8733B) & BIT_MASK_R3_L1_8733B)
#define BIT_SET_R3_L1_8733B(x, v) (BIT_CLEAR_R3_L1_8733B(x) | BIT_R3_L1_8733B(v))

#define BIT_SHIFT_R2_L1_8733B 8
#define BIT_MASK_R2_L1_8733B 0x3
#define BIT_R2_L1_8733B(x) (((x) & BIT_MASK_R2_L1_8733B) << BIT_SHIFT_R2_L1_8733B)
#define BITS_R2_L1_8733B (BIT_MASK_R2_L1_8733B << BIT_SHIFT_R2_L1_8733B)
#define BIT_CLEAR_R2_L1_8733B(x) ((x) & (~BITS_R2_L1_8733B))
#define BIT_GET_R2_L1_8733B(x) (((x) >> BIT_SHIFT_R2_L1_8733B) & BIT_MASK_R2_L1_8733B)
#define BIT_SET_R2_L1_8733B(x, v) (BIT_CLEAR_R2_L1_8733B(x) | BIT_R2_L1_8733B(v))

#define BIT_SHIFT_R1_L1_8733B 6
#define BIT_MASK_R1_L1_8733B 0x3
#define BIT_R1_L1_8733B(x) (((x) & BIT_MASK_R1_L1_8733B) << BIT_SHIFT_R1_L1_8733B)
#define BITS_R1_L1_8733B (BIT_MASK_R1_L1_8733B << BIT_SHIFT_R1_L1_8733B)
#define BIT_CLEAR_R1_L1_8733B(x) ((x) & (~BITS_R1_L1_8733B))
#define BIT_GET_R1_L1_8733B(x) (((x) >> BIT_SHIFT_R1_L1_8733B) & BIT_MASK_R1_L1_8733B)
#define BIT_SET_R1_L1_8733B(x, v) (BIT_CLEAR_R1_L1_8733B(x) | BIT_R1_L1_8733B(v))

#define BIT_SHIFT_C3_L1_8733B 4
#define BIT_MASK_C3_L1_8733B 0x3
#define BIT_C3_L1_8733B(x) (((x) & BIT_MASK_C3_L1_8733B) << BIT_SHIFT_C3_L1_8733B)
#define BITS_C3_L1_8733B (BIT_MASK_C3_L1_8733B << BIT_SHIFT_C3_L1_8733B)
#define BIT_CLEAR_C3_L1_8733B(x) ((x) & (~BITS_C3_L1_8733B))
#define BIT_GET_C3_L1_8733B(x) (((x) >> BIT_SHIFT_C3_L1_8733B) & BIT_MASK_C3_L1_8733B)
#define BIT_SET_C3_L1_8733B(x, v) (BIT_CLEAR_C3_L1_8733B(x) | BIT_C3_L1_8733B(v))

#define BIT_SHIFT_C2_L1_8733B 2
#define BIT_MASK_C2_L1_8733B 0x3
#define BIT_C2_L1_8733B(x) (((x) & BIT_MASK_C2_L1_8733B) << BIT_SHIFT_C2_L1_8733B)
#define BITS_C2_L1_8733B (BIT_MASK_C2_L1_8733B << BIT_SHIFT_C2_L1_8733B)
#define BIT_CLEAR_C2_L1_8733B(x) ((x) & (~BITS_C2_L1_8733B))
#define BIT_GET_C2_L1_8733B(x) (((x) >> BIT_SHIFT_C2_L1_8733B) & BIT_MASK_C2_L1_8733B)
#define BIT_SET_C2_L1_8733B(x, v) (BIT_CLEAR_C2_L1_8733B(x) | BIT_C2_L1_8733B(v))

#define BIT_SHIFT_C1_L1_8733B 0
#define BIT_MASK_C1_L1_8733B 0x3
#define BIT_C1_L1_8733B(x) (((x) & BIT_MASK_C1_L1_8733B) << BIT_SHIFT_C1_L1_8733B)
#define BITS_C1_L1_8733B (BIT_MASK_C1_L1_8733B << BIT_SHIFT_C1_L1_8733B)
#define BIT_CLEAR_C1_L1_8733B(x) ((x) & (~BITS_C1_L1_8733B))
#define BIT_GET_C1_L1_8733B(x) (((x) >> BIT_SHIFT_C1_L1_8733B) & BIT_MASK_C1_L1_8733B)
#define BIT_SET_C1_L1_8733B(x, v) (BIT_CLEAR_C1_L1_8733B(x) | BIT_C1_L1_8733B(v))

/* 2 REG_ANAPARSW_MAC_OFF1_8733B */
#define BIT_REG_NMOS_OFF_L_8733B BIT(5)
#define BIT_REG_MUX_PI_L_8733B BIT(4)
#define BIT_REG_PWM_CTRL_L_8733B BIT(3)
#define BIT_ENSR_L_8733B BIT(2)

#define BIT_SHIFT_SDZP_L_8733B 0
#define BIT_MASK_SDZP_L_8733B 0x3
#define BIT_SDZP_L_8733B(x) (((x) & BIT_MASK_SDZP_L_8733B) << BIT_SHIFT_SDZP_L_8733B)
#define BITS_SDZP_L_8733B (BIT_MASK_SDZP_L_8733B << BIT_SHIFT_SDZP_L_8733B)
#define BIT_CLEAR_SDZP_L_8733B(x) ((x) & (~BITS_SDZP_L_8733B))
#define BIT_GET_SDZP_L_8733B(x) (((x) >> BIT_SHIFT_SDZP_L_8733B) & BIT_MASK_SDZP_L_8733B)
#define BIT_SET_SDZP_L_8733B(x, v) (BIT_CLEAR_SDZP_L_8733B(x) | BIT_SDZP_L_8733B(v))

/* 2 REG_FW_DBG0_8733B */

#define BIT_SHIFT_FW_DBG0_8733B 0
#define BIT_MASK_FW_DBG0_8733B 0xffffffffL
#define BIT_FW_DBG0_8733B(x) (((x) & BIT_MASK_FW_DBG0_8733B) << BIT_SHIFT_FW_DBG0_8733B)
#define BITS_FW_DBG0_8733B (BIT_MASK_FW_DBG0_8733B << BIT_SHIFT_FW_DBG0_8733B)
#define BIT_CLEAR_FW_DBG0_8733B(x) ((x) & (~BITS_FW_DBG0_8733B))
#define BIT_GET_FW_DBG0_8733B(x) (((x) >> BIT_SHIFT_FW_DBG0_8733B) & BIT_MASK_FW_DBG0_8733B)
#define BIT_SET_FW_DBG0_8733B(x, v) (BIT_CLEAR_FW_DBG0_8733B(x) | BIT_FW_DBG0_8733B(v))

/* 2 REG_FW_DBG1_8733B */

#define BIT_SHIFT_FW_DBG1_8733B 0
#define BIT_MASK_FW_DBG1_8733B 0xffffffffL
#define BIT_FW_DBG1_8733B(x) (((x) & BIT_MASK_FW_DBG1_8733B) << BIT_SHIFT_FW_DBG1_8733B)
#define BITS_FW_DBG1_8733B (BIT_MASK_FW_DBG1_8733B << BIT_SHIFT_FW_DBG1_8733B)
#define BIT_CLEAR_FW_DBG1_8733B(x) ((x) & (~BITS_FW_DBG1_8733B))
#define BIT_GET_FW_DBG1_8733B(x) (((x) >> BIT_SHIFT_FW_DBG1_8733B) & BIT_MASK_FW_DBG1_8733B)
#define BIT_SET_FW_DBG1_8733B(x, v) (BIT_CLEAR_FW_DBG1_8733B(x) | BIT_FW_DBG1_8733B(v))

/* 2 REG_FW_DBG2_8733B */

#define BIT_SHIFT_FW_DBG2_8733B 0
#define BIT_MASK_FW_DBG2_8733B 0xffffffffL
#define BIT_FW_DBG2_8733B(x) (((x) & BIT_MASK_FW_DBG2_8733B) << BIT_SHIFT_FW_DBG2_8733B)
#define BITS_FW_DBG2_8733B (BIT_MASK_FW_DBG2_8733B << BIT_SHIFT_FW_DBG2_8733B)
#define BIT_CLEAR_FW_DBG2_8733B(x) ((x) & (~BITS_FW_DBG2_8733B))
#define BIT_GET_FW_DBG2_8733B(x) (((x) >> BIT_SHIFT_FW_DBG2_8733B) & BIT_MASK_FW_DBG2_8733B)
#define BIT_SET_FW_DBG2_8733B(x, v) (BIT_CLEAR_FW_DBG2_8733B(x) | BIT_FW_DBG2_8733B(v))

/* 2 REG_FW_DBG3_8733B */

#define BIT_SHIFT_FW_DBG3_8733B 0
#define BIT_MASK_FW_DBG3_8733B 0xffffffffL
#define BIT_FW_DBG3_8733B(x) (((x) & BIT_MASK_FW_DBG3_8733B) << BIT_SHIFT_FW_DBG3_8733B)
#define BITS_FW_DBG3_8733B (BIT_MASK_FW_DBG3_8733B << BIT_SHIFT_FW_DBG3_8733B)
#define BIT_CLEAR_FW_DBG3_8733B(x) ((x) & (~BITS_FW_DBG3_8733B))
#define BIT_GET_FW_DBG3_8733B(x) (((x) >> BIT_SHIFT_FW_DBG3_8733B) & BIT_MASK_FW_DBG3_8733B)
#define BIT_SET_FW_DBG3_8733B(x, v) (BIT_CLEAR_FW_DBG3_8733B(x) | BIT_FW_DBG3_8733B(v))

/* 2 REG_FW_DBG4_8733B */

#define BIT_SHIFT_FW_DBG4_8733B 0
#define BIT_MASK_FW_DBG4_8733B 0xffffffffL
#define BIT_FW_DBG4_8733B(x) (((x) & BIT_MASK_FW_DBG4_8733B) << BIT_SHIFT_FW_DBG4_8733B)
#define BITS_FW_DBG4_8733B (BIT_MASK_FW_DBG4_8733B << BIT_SHIFT_FW_DBG4_8733B)
#define BIT_CLEAR_FW_DBG4_8733B(x) ((x) & (~BITS_FW_DBG4_8733B))
#define BIT_GET_FW_DBG4_8733B(x) (((x) >> BIT_SHIFT_FW_DBG4_8733B) & BIT_MASK_FW_DBG4_8733B)
#define BIT_SET_FW_DBG4_8733B(x, v) (BIT_CLEAR_FW_DBG4_8733B(x) | BIT_FW_DBG4_8733B(v))

/* 2 REG_FW_DBG5_8733B */

#define BIT_SHIFT_FW_DBG5_8733B 0
#define BIT_MASK_FW_DBG5_8733B 0xffffffffL
#define BIT_FW_DBG5_8733B(x) (((x) & BIT_MASK_FW_DBG5_8733B) << BIT_SHIFT_FW_DBG5_8733B)
#define BITS_FW_DBG5_8733B (BIT_MASK_FW_DBG5_8733B << BIT_SHIFT_FW_DBG5_8733B)
#define BIT_CLEAR_FW_DBG5_8733B(x) ((x) & (~BITS_FW_DBG5_8733B))
#define BIT_GET_FW_DBG5_8733B(x) (((x) >> BIT_SHIFT_FW_DBG5_8733B) & BIT_MASK_FW_DBG5_8733B)
#define BIT_SET_FW_DBG5_8733B(x, v) (BIT_CLEAR_FW_DBG5_8733B(x) | BIT_FW_DBG5_8733B(v))

/* 2 REG_FW_DBG6_8733B */

#define BIT_SHIFT_FW_DBG6_8733B 0
#define BIT_MASK_FW_DBG6_8733B 0xffffffffL
#define BIT_FW_DBG6_8733B(x) (((x) & BIT_MASK_FW_DBG6_8733B) << BIT_SHIFT_FW_DBG6_8733B)
#define BITS_FW_DBG6_8733B (BIT_MASK_FW_DBG6_8733B << BIT_SHIFT_FW_DBG6_8733B)
#define BIT_CLEAR_FW_DBG6_8733B(x) ((x) & (~BITS_FW_DBG6_8733B))
#define BIT_GET_FW_DBG6_8733B(x) (((x) >> BIT_SHIFT_FW_DBG6_8733B) & BIT_MASK_FW_DBG6_8733B)
#define BIT_SET_FW_DBG6_8733B(x, v) (BIT_CLEAR_FW_DBG6_8733B(x) | BIT_FW_DBG6_8733B(v))

/* 2 REG_FW_DBG7_8733B */

#define BIT_SHIFT_FW_DBG7_8733B 0
#define BIT_MASK_FW_DBG7_8733B 0xffffffffL
#define BIT_FW_DBG7_8733B(x) (((x) & BIT_MASK_FW_DBG7_8733B) << BIT_SHIFT_FW_DBG7_8733B)
#define BITS_FW_DBG7_8733B (BIT_MASK_FW_DBG7_8733B << BIT_SHIFT_FW_DBG7_8733B)
#define BIT_CLEAR_FW_DBG7_8733B(x) ((x) & (~BITS_FW_DBG7_8733B))
#define BIT_GET_FW_DBG7_8733B(x) (((x) >> BIT_SHIFT_FW_DBG7_8733B) & BIT_MASK_FW_DBG7_8733B)
#define BIT_SET_FW_DBG7_8733B(x, v) (BIT_CLEAR_FW_DBG7_8733B(x) | BIT_FW_DBG7_8733B(v))

/* 2 REG_NOT_VALID_8733B */
#define BIT_VPROB_AON0_OE_8733B BIT(0)
#define BIT_VPROB_AON1_OE_8733B BIT(1)
#define BIT_VPROB_WL_PON0_OE_8733B BIT(2)
#define BIT_VPROB_WL_PON1_OE_8733B BIT(3)
#define BIT_VPROB_WL_OFF0_OE_8733B BIT(4)
#define BIT_VPROB_WL_OFF1_OE_8733B BIT(5)
#define BIT_VPROB_BT_PON0_OE_8733B BIT(6)
#define BIT_VPROB_BT_PON1_OE_8733B BIT(7)
#define BIT_VPROB_BT_OFF0_OE_8733B BIT(8)
#define BIT_VPROB_BT_OFF1_OE_8733B BIT(9)
#define BIT_VPROB_USB0_OE_8733B BIT(10)
#define BIT_VPROB_USB1_OE_8733B BIT(11)
#define BIT_VPROB_EN0_8733B BIT(28)

/* 2 REG_NOT_VALID_8733B */

#define BIT_SHIFT_GPIO_DMUX_SEL0_8733B 0
#define BIT_MASK_GPIO_DMUX_SEL0_8733B 0x1f
#define BIT_GPIO_DMUX_SEL0_8733B(x) (((x) & BIT_MASK_GPIO_DMUX_SEL0_8733B) << BIT_SHIFT_GPIO_DMUX_SEL0_8733B)
#define BITS_GPIO_DMUX_SEL0_8733B (BIT_MASK_GPIO_DMUX_SEL0_8733B << BIT_SHIFT_GPIO_DMUX_SEL0_8733B)
#define BIT_CLEAR_GPIO_DMUX_SEL0_8733B(x) ((x) & (~BITS_GPIO_DMUX_SEL0_8733B))
#define BIT_GET_GPIO_DMUX_SEL0_8733B(x) (((x) >> BIT_SHIFT_GPIO_DMUX_SEL0_8733B) & BIT_MASK_GPIO_DMUX_SEL0_8733B)
#define BIT_SET_GPIO_DMUX_SEL0_8733B(x, v) (BIT_CLEAR_GPIO_DMUX_SEL0_8733B(x) | BIT_GPIO_DMUX_SEL0_8733B(v))

#define BIT_SHIFT_GPIO_DMUX_SEL1_8733B 8
#define BIT_MASK_GPIO_DMUX_SEL1_8733B 0x1f
#define BIT_GPIO_DMUX_SEL1_8733B(x) (((x) & BIT_MASK_GPIO_DMUX_SEL1_8733B) << BIT_SHIFT_GPIO_DMUX_SEL1_8733B)
#define BITS_GPIO_DMUX_SEL1_8733B (BIT_MASK_GPIO_DMUX_SEL1_8733B << BIT_SHIFT_GPIO_DMUX_SEL1_8733B)
#define BIT_CLEAR_GPIO_DMUX_SEL1_8733B(x) ((x) & (~BITS_GPIO_DMUX_SEL1_8733B))
#define BIT_GET_GPIO_DMUX_SEL1_8733B(x) (((x) >> BIT_SHIFT_GPIO_DMUX_SEL1_8733B) & BIT_MASK_GPIO_DMUX_SEL1_8733B)
#define BIT_SET_GPIO_DMUX_SEL1_8733B(x, v) (BIT_CLEAR_GPIO_DMUX_SEL1_8733B(x) | BIT_GPIO_DMUX_SEL1_8733B(v))

#define BIT_SHIFT_GPIO_DMUX_SEL2_8733B 16
#define BIT_MASK_GPIO_DMUX_SEL2_8733B 0x1f
#define BIT_GPIO_DMUX_SEL2_8733B(x) (((x) & BIT_MASK_GPIO_DMUX_SEL2_8733B) << BIT_SHIFT_GPIO_DMUX_SEL2_8733B)
#define BITS_GPIO_DMUX_SEL2_8733B (BIT_MASK_GPIO_DMUX_SEL2_8733B << BIT_SHIFT_GPIO_DMUX_SEL2_8733B)
#define BIT_CLEAR_GPIO_DMUX_SEL2_8733B(x) ((x) & (~BITS_GPIO_DMUX_SEL2_8733B))
#define BIT_GET_GPIO_DMUX_SEL2_8733B(x) (((x) >> BIT_SHIFT_GPIO_DMUX_SEL2_8733B) & BIT_MASK_GPIO_DMUX_SEL2_8733B)
#define BIT_SET_GPIO_DMUX_SEL2_8733B(x, v) (BIT_CLEAR_GPIO_DMUX_SEL2_8733B(x) | BIT_GPIO_DMUX_SEL2_8733B(v))

#define BIT_SHIFT_GPIO_DMUX_SEL3_8733B 24
#define BIT_MASK_GPIO_DMUX_SEL3_8733B 0x1f
#define BIT_GPIO_DMUX_SEL3_8733B(x) (((x) & BIT_MASK_GPIO_DMUX_SEL3_8733B) << BIT_SHIFT_GPIO_DMUX_SEL3_8733B)
#define BITS_GPIO_DMUX_SEL3_8733B (BIT_MASK_GPIO_DMUX_SEL3_8733B << BIT_SHIFT_GPIO_DMUX_SEL3_8733B)
#define BIT_CLEAR_GPIO_DMUX_SEL3_8733B(x) ((x) & (~BITS_GPIO_DMUX_SEL3_8733B))
#define BIT_GET_GPIO_DMUX_SEL3_8733B(x) (((x) >> BIT_SHIFT_GPIO_DMUX_SEL3_8733B) & BIT_MASK_GPIO_DMUX_SEL3_8733B)
#define BIT_SET_GPIO_DMUX_SEL3_8733B(x, v) (BIT_CLEAR_GPIO_DMUX_SEL3_8733B(x) | BIT_GPIO_DMUX_SEL3_8733B(v))

/* 2 REG_NOT_VALID_8733B */

#define BIT_SHIFT_GPIO_DMUX_SEL4_8733B 0
#define BIT_MASK_GPIO_DMUX_SEL4_8733B 0x1f
#define BIT_GPIO_DMUX_SEL4_8733B(x) (((x) & BIT_MASK_GPIO_DMUX_SEL4_8733B) << BIT_SHIFT_GPIO_DMUX_SEL4_8733B)
#define BITS_GPIO_DMUX_SEL4_8733B (BIT_MASK_GPIO_DMUX_SEL4_8733B << BIT_SHIFT_GPIO_DMUX_SEL4_8733B)
#define BIT_CLEAR_GPIO_DMUX_SEL4_8733B(x) ((x) & (~BITS_GPIO_DMUX_SEL4_8733B))
#define BIT_GET_GPIO_DMUX_SEL4_8733B(x) (((x) >> BIT_SHIFT_GPIO_DMUX_SEL4_8733B) & BIT_MASK_GPIO_DMUX_SEL4_8733B)
#define BIT_SET_GPIO_DMUX_SEL4_8733B(x, v) (BIT_CLEAR_GPIO_DMUX_SEL4_8733B(x) | BIT_GPIO_DMUX_SEL4_8733B(v))

#define BIT_SHIFT_GPIO_DMUX_SEL5_8733B 8
#define BIT_MASK_GPIO_DMUX_SEL5_8733B 0x1f
#define BIT_GPIO_DMUX_SEL5_8733B(x) (((x) & BIT_MASK_GPIO_DMUX_SEL5_8733B) << BIT_SHIFT_GPIO_DMUX_SEL5_8733B)
#define BITS_GPIO_DMUX_SEL5_8733B (BIT_MASK_GPIO_DMUX_SEL5_8733B << BIT_SHIFT_GPIO_DMUX_SEL5_8733B)
#define BIT_CLEAR_GPIO_DMUX_SEL5_8733B(x) ((x) & (~BITS_GPIO_DMUX_SEL5_8733B))
#define BIT_GET_GPIO_DMUX_SEL5_8733B(x) (((x) >> BIT_SHIFT_GPIO_DMUX_SEL5_8733B) & BIT_MASK_GPIO_DMUX_SEL5_8733B)
#define BIT_SET_GPIO_DMUX_SEL5_8733B(x, v) (BIT_CLEAR_GPIO_DMUX_SEL5_8733B(x) | BIT_GPIO_DMUX_SEL5_8733B(v))

#define BIT_SHIFT_GPIO_DMUX_SEL6_8733B 16
#define BIT_MASK_GPIO_DMUX_SEL6_8733B 0x1f
#define BIT_GPIO_DMUX_SEL6_8733B(x) (((x) & BIT_MASK_GPIO_DMUX_SEL6_8733B) << BIT_SHIFT_GPIO_DMUX_SEL6_8733B)
#define BITS_GPIO_DMUX_SEL6_8733B (BIT_MASK_GPIO_DMUX_SEL6_8733B << BIT_SHIFT_GPIO_DMUX_SEL6_8733B)
#define BIT_CLEAR_GPIO_DMUX_SEL6_8733B(x) ((x) & (~BITS_GPIO_DMUX_SEL6_8733B))
#define BIT_GET_GPIO_DMUX_SEL6_8733B(x) (((x) >> BIT_SHIFT_GPIO_DMUX_SEL6_8733B) & BIT_MASK_GPIO_DMUX_SEL6_8733B)
#define BIT_SET_GPIO_DMUX_SEL6_8733B(x, v) (BIT_CLEAR_GPIO_DMUX_SEL6_8733B(x) | BIT_GPIO_DMUX_SEL6_8733B(v))

#define BIT_SHIFT_GPIO_DMUX_SEL7_8733B 24
#define BIT_MASK_GPIO_DMUX_SEL7_8733B 0x1f
#define BIT_GPIO_DMUX_SEL7_8733B(x) (((x) & BIT_MASK_GPIO_DMUX_SEL7_8733B) << BIT_SHIFT_GPIO_DMUX_SEL7_8733B)
#define BITS_GPIO_DMUX_SEL7_8733B (BIT_MASK_GPIO_DMUX_SEL7_8733B << BIT_SHIFT_GPIO_DMUX_SEL7_8733B)
#define BIT_CLEAR_GPIO_DMUX_SEL7_8733B(x) ((x) & (~BITS_GPIO_DMUX_SEL7_8733B))
#define BIT_GET_GPIO_DMUX_SEL7_8733B(x) (((x) >> BIT_SHIFT_GPIO_DMUX_SEL7_8733B) & BIT_MASK_GPIO_DMUX_SEL7_8733B)
#define BIT_SET_GPIO_DMUX_SEL7_8733B(x, v) (BIT_CLEAR_GPIO_DMUX_SEL7_8733B(x) | BIT_GPIO_DMUX_SEL7_8733B(v))

#define BIT_SHIFT_RFSI_SEL_8733B 30
#define BIT_MASK_RFSI_SEL_8733B 0x3
#define BIT_RFSI_SEL_8733B(x) (((x) & BIT_MASK_RFSI_SEL_8733B) << BIT_SHIFT_RFSI_SEL_8733B)
#define BITS_RFSI_SEL_8733B (BIT_MASK_RFSI_SEL_8733B << BIT_SHIFT_RFSI_SEL_8733B)
#define BIT_CLEAR_RFSI_SEL_8733B(x) ((x) & (~BITS_RFSI_SEL_8733B))
#define BIT_GET_RFSI_SEL_8733B(x) (((x) >> BIT_SHIFT_RFSI_SEL_8733B) & BIT_MASK_RFSI_SEL_8733B)
#define BIT_SET_RFSI_SEL_8733B(x, v) (BIT_CLEAR_RFSI_SEL_8733B(x) | BIT_RFSI_SEL_8733B(v))

/* 2 REG_NOT_VALID_8733B */
#define BIT_UPHY_FS_SLB_OK_8733B BIT(0)
#define BIT_UPHY_HS_SLB_OK_8733B BIT(1)
#define BIT_UPHY_SLB_HW_PRD_8733B BIT(2)
#define BIT_UPHY_SLB_CMD_8733B BIT(3)
#define BIT_UPHY_SLB_DONE_8733B BIT(4)
#define BIT_UPHY_SLB_FAIL_8733B BIT(5)
#define BIT_UPHY_FORCE_SLB_8733B BIT(6)
#define BIT_UPHY_SLB_HS_8733B BIT(7)

/* 2 REG_PAD_CTRL_8733B */
#define BIT_GPIO_GRP_SEL_8733B BIT(14)
#define BIT_GPIO_GRP_SET_8733B BIT(13)

#define BIT_SHIFT_GPIO_GRP_FID_8733B 8
#define BIT_MASK_GPIO_GRP_FID_8733B 0x1f
#define BIT_GPIO_GRP_FID_8733B(x) (((x) & BIT_MASK_GPIO_GRP_FID_8733B) << BIT_SHIFT_GPIO_GRP_FID_8733B)
#define BITS_GPIO_GRP_FID_8733B (BIT_MASK_GPIO_GRP_FID_8733B << BIT_SHIFT_GPIO_GRP_FID_8733B)
#define BIT_CLEAR_GPIO_GRP_FID_8733B(x) ((x) & (~BITS_GPIO_GRP_FID_8733B))
#define BIT_GET_GPIO_GRP_FID_8733B(x) (((x) >> BIT_SHIFT_GPIO_GRP_FID_8733B) & BIT_MASK_GPIO_GRP_FID_8733B)
#define BIT_SET_GPIO_GRP_FID_8733B(x, v) (BIT_CLEAR_GPIO_GRP_FID_8733B(x) | BIT_GPIO_GRP_FID_8733B(v))

#define BIT_SHIFT_GPIO_GRP_IDX_8733B 0
#define BIT_MASK_GPIO_GRP_IDX_8733B 0xff
#define BIT_GPIO_GRP_IDX_8733B(x) (((x) & BIT_MASK_GPIO_GRP_IDX_8733B) << BIT_SHIFT_GPIO_GRP_IDX_8733B)
#define BITS_GPIO_GRP_IDX_8733B (BIT_MASK_GPIO_GRP_IDX_8733B << BIT_SHIFT_GPIO_GRP_IDX_8733B)
#define BIT_CLEAR_GPIO_GRP_IDX_8733B(x) ((x) & (~BITS_GPIO_GRP_IDX_8733B))
#define BIT_GET_GPIO_GRP_IDX_8733B(x) (((x) >> BIT_SHIFT_GPIO_GRP_IDX_8733B) & BIT_MASK_GPIO_GRP_IDX_8733B)
#define BIT_SET_GPIO_GRP_IDX_8733B(x, v) (BIT_CLEAR_GPIO_GRP_IDX_8733B(x) | BIT_GPIO_GRP_IDX_8733B(v))

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_GPIO_0_8733B */
#define BIT_GPIOA3_PD_8733B BIT(30)
#define BIT_GPIOA3_PU_8733B BIT(29)

#define BIT_SHIFT_GPIOA3_FID_8733B 24
#define BIT_MASK_GPIOA3_FID_8733B 0x1f
#define BIT_GPIOA3_FID_8733B(x) (((x) & BIT_MASK_GPIOA3_FID_8733B) << BIT_SHIFT_GPIOA3_FID_8733B)
#define BITS_GPIOA3_FID_8733B (BIT_MASK_GPIOA3_FID_8733B << BIT_SHIFT_GPIOA3_FID_8733B)
#define BIT_CLEAR_GPIOA3_FID_8733B(x) ((x) & (~BITS_GPIOA3_FID_8733B))
#define BIT_GET_GPIOA3_FID_8733B(x) (((x) >> BIT_SHIFT_GPIOA3_FID_8733B) & BIT_MASK_GPIOA3_FID_8733B)
#define BIT_SET_GPIOA3_FID_8733B(x, v) (BIT_CLEAR_GPIOA3_FID_8733B(x) | BIT_GPIOA3_FID_8733B(v))

#define BIT_GPIOA2_PD_8733B BIT(22)
#define BIT_GPIOA2_PU_8733B BIT(21)

#define BIT_SHIFT_GPIOA2_FID_8733B 16
#define BIT_MASK_GPIOA2_FID_8733B 0x1f
#define BIT_GPIOA2_FID_8733B(x) (((x) & BIT_MASK_GPIOA2_FID_8733B) << BIT_SHIFT_GPIOA2_FID_8733B)
#define BITS_GPIOA2_FID_8733B (BIT_MASK_GPIOA2_FID_8733B << BIT_SHIFT_GPIOA2_FID_8733B)
#define BIT_CLEAR_GPIOA2_FID_8733B(x) ((x) & (~BITS_GPIOA2_FID_8733B))
#define BIT_GET_GPIOA2_FID_8733B(x) (((x) >> BIT_SHIFT_GPIOA2_FID_8733B) & BIT_MASK_GPIOA2_FID_8733B)
#define BIT_SET_GPIOA2_FID_8733B(x, v) (BIT_CLEAR_GPIOA2_FID_8733B(x) | BIT_GPIOA2_FID_8733B(v))

#define BIT_GPIOA1_PD_8733B BIT(14)
#define BIT_GPIOA1_PU_8733B BIT(13)

#define BIT_SHIFT_GPIOA1_FID_8733B 8
#define BIT_MASK_GPIOA1_FID_8733B 0x1f
#define BIT_GPIOA1_FID_8733B(x) (((x) & BIT_MASK_GPIOA1_FID_8733B) << BIT_SHIFT_GPIOA1_FID_8733B)
#define BITS_GPIOA1_FID_8733B (BIT_MASK_GPIOA1_FID_8733B << BIT_SHIFT_GPIOA1_FID_8733B)
#define BIT_CLEAR_GPIOA1_FID_8733B(x) ((x) & (~BITS_GPIOA1_FID_8733B))
#define BIT_GET_GPIOA1_FID_8733B(x) (((x) >> BIT_SHIFT_GPIOA1_FID_8733B) & BIT_MASK_GPIOA1_FID_8733B)
#define BIT_SET_GPIOA1_FID_8733B(x, v) (BIT_CLEAR_GPIOA1_FID_8733B(x) | BIT_GPIOA1_FID_8733B(v))

#define BIT_GPIOA0_PD_8733B BIT(6)
#define BIT_GPIOA0_PU_8733B BIT(5)

#define BIT_SHIFT_GPIOA0_FID_8733B 0
#define BIT_MASK_GPIOA0_FID_8733B 0x1f
#define BIT_GPIOA0_FID_8733B(x) (((x) & BIT_MASK_GPIOA0_FID_8733B) << BIT_SHIFT_GPIOA0_FID_8733B)
#define BITS_GPIOA0_FID_8733B (BIT_MASK_GPIOA0_FID_8733B << BIT_SHIFT_GPIOA0_FID_8733B)
#define BIT_CLEAR_GPIOA0_FID_8733B(x) ((x) & (~BITS_GPIOA0_FID_8733B))
#define BIT_GET_GPIOA0_FID_8733B(x) (((x) >> BIT_SHIFT_GPIOA0_FID_8733B) & BIT_MASK_GPIOA0_FID_8733B)
#define BIT_SET_GPIOA0_FID_8733B(x, v) (BIT_CLEAR_GPIOA0_FID_8733B(x) | BIT_GPIOA0_FID_8733B(v))

/* 2 REG_GPIO_1_8733B */
#define BIT_GPIOA7_PD_8733B BIT(30)
#define BIT_GPIOA7_PU_8733B BIT(29)

#define BIT_SHIFT_GPIOA7_FID_8733B 24
#define BIT_MASK_GPIOA7_FID_8733B 0x1f
#define BIT_GPIOA7_FID_8733B(x) (((x) & BIT_MASK_GPIOA7_FID_8733B) << BIT_SHIFT_GPIOA7_FID_8733B)
#define BITS_GPIOA7_FID_8733B (BIT_MASK_GPIOA7_FID_8733B << BIT_SHIFT_GPIOA7_FID_8733B)
#define BIT_CLEAR_GPIOA7_FID_8733B(x) ((x) & (~BITS_GPIOA7_FID_8733B))
#define BIT_GET_GPIOA7_FID_8733B(x) (((x) >> BIT_SHIFT_GPIOA7_FID_8733B) & BIT_MASK_GPIOA7_FID_8733B)
#define BIT_SET_GPIOA7_FID_8733B(x, v) (BIT_CLEAR_GPIOA7_FID_8733B(x) | BIT_GPIOA7_FID_8733B(v))

#define BIT_GPIOA6_PD_8733B BIT(22)
#define BIT_GPIOA6_PU_8733B BIT(21)

#define BIT_SHIFT_GPIOA6_FID_8733B 16
#define BIT_MASK_GPIOA6_FID_8733B 0x1f
#define BIT_GPIOA6_FID_8733B(x) (((x) & BIT_MASK_GPIOA6_FID_8733B) << BIT_SHIFT_GPIOA6_FID_8733B)
#define BITS_GPIOA6_FID_8733B (BIT_MASK_GPIOA6_FID_8733B << BIT_SHIFT_GPIOA6_FID_8733B)
#define BIT_CLEAR_GPIOA6_FID_8733B(x) ((x) & (~BITS_GPIOA6_FID_8733B))
#define BIT_GET_GPIOA6_FID_8733B(x) (((x) >> BIT_SHIFT_GPIOA6_FID_8733B) & BIT_MASK_GPIOA6_FID_8733B)
#define BIT_SET_GPIOA6_FID_8733B(x, v) (BIT_CLEAR_GPIOA6_FID_8733B(x) | BIT_GPIOA6_FID_8733B(v))

#define BIT_BIT_GPIOA5_PD_8733B BIT(14)
#define BIT_GPIOA5_PU_8733B BIT(13)

#define BIT_SHIFT_GPIOA5_FID_8733B 8
#define BIT_MASK_GPIOA5_FID_8733B 0x1f
#define BIT_GPIOA5_FID_8733B(x) (((x) & BIT_MASK_GPIOA5_FID_8733B) << BIT_SHIFT_GPIOA5_FID_8733B)
#define BITS_GPIOA5_FID_8733B (BIT_MASK_GPIOA5_FID_8733B << BIT_SHIFT_GPIOA5_FID_8733B)
#define BIT_CLEAR_GPIOA5_FID_8733B(x) ((x) & (~BITS_GPIOA5_FID_8733B))
#define BIT_GET_GPIOA5_FID_8733B(x) (((x) >> BIT_SHIFT_GPIOA5_FID_8733B) & BIT_MASK_GPIOA5_FID_8733B)
#define BIT_SET_GPIOA5_FID_8733B(x, v) (BIT_CLEAR_GPIOA5_FID_8733B(x) | BIT_GPIOA5_FID_8733B(v))

#define BIT_GPIOA4_PD_8733B BIT(6)
#define BIT_GPIOA4_PU_8733B BIT(5)

#define BIT_SHIFT_GPIOA4_FID_8733B 0
#define BIT_MASK_GPIOA4_FID_8733B 0x1f
#define BIT_GPIOA4_FID_8733B(x) (((x) & BIT_MASK_GPIOA4_FID_8733B) << BIT_SHIFT_GPIOA4_FID_8733B)
#define BITS_GPIOA4_FID_8733B (BIT_MASK_GPIOA4_FID_8733B << BIT_SHIFT_GPIOA4_FID_8733B)
#define BIT_CLEAR_GPIOA4_FID_8733B(x) ((x) & (~BITS_GPIOA4_FID_8733B))
#define BIT_GET_GPIOA4_FID_8733B(x) (((x) >> BIT_SHIFT_GPIOA4_FID_8733B) & BIT_MASK_GPIOA4_FID_8733B)
#define BIT_SET_GPIOA4_FID_8733B(x, v) (BIT_CLEAR_GPIOA4_FID_8733B(x) | BIT_GPIOA4_FID_8733B(v))

/* 2 REG_GPIO_2_8733B */
#define BIT_GPIOA11_PD_8733B BIT(30)
#define BIT_GPIOA11_PU_8733B BIT(29)

#define BIT_SHIFT_GPIOA11_FID_8733B 24
#define BIT_MASK_GPIOA11_FID_8733B 0x1f
#define BIT_GPIOA11_FID_8733B(x) (((x) & BIT_MASK_GPIOA11_FID_8733B) << BIT_SHIFT_GPIOA11_FID_8733B)
#define BITS_GPIOA11_FID_8733B (BIT_MASK_GPIOA11_FID_8733B << BIT_SHIFT_GPIOA11_FID_8733B)
#define BIT_CLEAR_GPIOA11_FID_8733B(x) ((x) & (~BITS_GPIOA11_FID_8733B))
#define BIT_GET_GPIOA11_FID_8733B(x) (((x) >> BIT_SHIFT_GPIOA11_FID_8733B) & BIT_MASK_GPIOA11_FID_8733B)
#define BIT_SET_GPIOA11_FID_8733B(x, v) (BIT_CLEAR_GPIOA11_FID_8733B(x) | BIT_GPIOA11_FID_8733B(v))

#define BIT_GPIOA10_PD_8733B BIT(22)
#define BIT_GPIOA10_PU_8733B BIT(21)

#define BIT_SHIFT_GPIOA10_FID_8733B 16
#define BIT_MASK_GPIOA10_FID_8733B 0x1f
#define BIT_GPIOA10_FID_8733B(x) (((x) & BIT_MASK_GPIOA10_FID_8733B) << BIT_SHIFT_GPIOA10_FID_8733B)
#define BITS_GPIOA10_FID_8733B (BIT_MASK_GPIOA10_FID_8733B << BIT_SHIFT_GPIOA10_FID_8733B)
#define BIT_CLEAR_GPIOA10_FID_8733B(x) ((x) & (~BITS_GPIOA10_FID_8733B))
#define BIT_GET_GPIOA10_FID_8733B(x) (((x) >> BIT_SHIFT_GPIOA10_FID_8733B) & BIT_MASK_GPIOA10_FID_8733B)
#define BIT_SET_GPIOA10_FID_8733B(x, v) (BIT_CLEAR_GPIOA10_FID_8733B(x) | BIT_GPIOA10_FID_8733B(v))

#define BIT_GPIOA9_PD_8733B BIT(14)
#define BIT_GPIOA9_PU_8733B BIT(13)

#define BIT_SHIFT_GPIOA9_FID_8733B 8
#define BIT_MASK_GPIOA9_FID_8733B 0x1f
#define BIT_GPIOA9_FID_8733B(x) (((x) & BIT_MASK_GPIOA9_FID_8733B) << BIT_SHIFT_GPIOA9_FID_8733B)
#define BITS_GPIOA9_FID_8733B (BIT_MASK_GPIOA9_FID_8733B << BIT_SHIFT_GPIOA9_FID_8733B)
#define BIT_CLEAR_GPIOA9_FID_8733B(x) ((x) & (~BITS_GPIOA9_FID_8733B))
#define BIT_GET_GPIOA9_FID_8733B(x) (((x) >> BIT_SHIFT_GPIOA9_FID_8733B) & BIT_MASK_GPIOA9_FID_8733B)
#define BIT_SET_GPIOA9_FID_8733B(x, v) (BIT_CLEAR_GPIOA9_FID_8733B(x) | BIT_GPIOA9_FID_8733B(v))

#define BIT_GPIOA8_PD_8733B BIT(6)
#define BIT_GPIOA8_PU_8733B BIT(5)

#define BIT_SHIFT_GPIOA8_FID_8733B 0
#define BIT_MASK_GPIOA8_FID_8733B 0x1f
#define BIT_GPIOA8_FID_8733B(x) (((x) & BIT_MASK_GPIOA8_FID_8733B) << BIT_SHIFT_GPIOA8_FID_8733B)
#define BITS_GPIOA8_FID_8733B (BIT_MASK_GPIOA8_FID_8733B << BIT_SHIFT_GPIOA8_FID_8733B)
#define BIT_CLEAR_GPIOA8_FID_8733B(x) ((x) & (~BITS_GPIOA8_FID_8733B))
#define BIT_GET_GPIOA8_FID_8733B(x) (((x) >> BIT_SHIFT_GPIOA8_FID_8733B) & BIT_MASK_GPIOA8_FID_8733B)
#define BIT_SET_GPIOA8_FID_8733B(x, v) (BIT_CLEAR_GPIOA8_FID_8733B(x) | BIT_GPIOA8_FID_8733B(v))

/* 2 REG_GPIO_3_8733B */
#define BIT_GPIOA15_PD_8733B BIT(30)
#define BIT_GPIOA15_PU_8733B BIT(29)

#define BIT_SHIFT_GPIOA15_FID_8733B 24
#define BIT_MASK_GPIOA15_FID_8733B 0x1f
#define BIT_GPIOA15_FID_8733B(x) (((x) & BIT_MASK_GPIOA15_FID_8733B) << BIT_SHIFT_GPIOA15_FID_8733B)
#define BITS_GPIOA15_FID_8733B (BIT_MASK_GPIOA15_FID_8733B << BIT_SHIFT_GPIOA15_FID_8733B)
#define BIT_CLEAR_GPIOA15_FID_8733B(x) ((x) & (~BITS_GPIOA15_FID_8733B))
#define BIT_GET_GPIOA15_FID_8733B(x) (((x) >> BIT_SHIFT_GPIOA15_FID_8733B) & BIT_MASK_GPIOA15_FID_8733B)
#define BIT_SET_GPIOA15_FID_8733B(x, v) (BIT_CLEAR_GPIOA15_FID_8733B(x) | BIT_GPIOA15_FID_8733B(v))

#define BIT_GPIOA14_PD_8733B BIT(22)
#define BIT_GPIOA14_PU_8733B BIT(21)

#define BIT_SHIFT_GPIOA14_FID_8733B 16
#define BIT_MASK_GPIOA14_FID_8733B 0x1f
#define BIT_GPIOA14_FID_8733B(x) (((x) & BIT_MASK_GPIOA14_FID_8733B) << BIT_SHIFT_GPIOA14_FID_8733B)
#define BITS_GPIOA14_FID_8733B (BIT_MASK_GPIOA14_FID_8733B << BIT_SHIFT_GPIOA14_FID_8733B)
#define BIT_CLEAR_GPIOA14_FID_8733B(x) ((x) & (~BITS_GPIOA14_FID_8733B))
#define BIT_GET_GPIOA14_FID_8733B(x) (((x) >> BIT_SHIFT_GPIOA14_FID_8733B) & BIT_MASK_GPIOA14_FID_8733B)
#define BIT_SET_GPIOA14_FID_8733B(x, v) (BIT_CLEAR_GPIOA14_FID_8733B(x) | BIT_GPIOA14_FID_8733B(v))

#define BIT_GPIOA13_PD_8733B BIT(14)
#define BIT_GPIOA13_PU_8733B BIT(13)

#define BIT_SHIFT_GPIOA13_FID_8733B 8
#define BIT_MASK_GPIOA13_FID_8733B 0x1f
#define BIT_GPIOA13_FID_8733B(x) (((x) & BIT_MASK_GPIOA13_FID_8733B) << BIT_SHIFT_GPIOA13_FID_8733B)
#define BITS_GPIOA13_FID_8733B (BIT_MASK_GPIOA13_FID_8733B << BIT_SHIFT_GPIOA13_FID_8733B)
#define BIT_CLEAR_GPIOA13_FID_8733B(x) ((x) & (~BITS_GPIOA13_FID_8733B))
#define BIT_GET_GPIOA13_FID_8733B(x) (((x) >> BIT_SHIFT_GPIOA13_FID_8733B) & BIT_MASK_GPIOA13_FID_8733B)
#define BIT_SET_GPIOA13_FID_8733B(x, v) (BIT_CLEAR_GPIOA13_FID_8733B(x) | BIT_GPIOA13_FID_8733B(v))

#define BIT_GPIOA12_PD_8733B BIT(6)
#define BIT_GPIOA12_PU_8733B BIT(5)

#define BIT_SHIFT_GPIOA12_FID_8733B 0
#define BIT_MASK_GPIOA12_FID_8733B 0x1f
#define BIT_GPIOA12_FID_8733B(x) (((x) & BIT_MASK_GPIOA12_FID_8733B) << BIT_SHIFT_GPIOA12_FID_8733B)
#define BITS_GPIOA12_FID_8733B (BIT_MASK_GPIOA12_FID_8733B << BIT_SHIFT_GPIOA12_FID_8733B)
#define BIT_CLEAR_GPIOA12_FID_8733B(x) ((x) & (~BITS_GPIOA12_FID_8733B))
#define BIT_GET_GPIOA12_FID_8733B(x) (((x) >> BIT_SHIFT_GPIOA12_FID_8733B) & BIT_MASK_GPIOA12_FID_8733B)
#define BIT_SET_GPIOA12_FID_8733B(x, v) (BIT_CLEAR_GPIOA12_FID_8733B(x) | BIT_GPIOA12_FID_8733B(v))

/* 2 REG_GPIO_4_8733B */
#define BIT_GPIOB3_SHDN_8733B BIT(31)
#define BIT_GPIOB3_PD_8733B BIT(30)
#define BIT_GPIOB3_PU_8733B BIT(29)

#define BIT_SHIFT_GPIOB3_FID_8733B 24
#define BIT_MASK_GPIOB3_FID_8733B 0x1f
#define BIT_GPIOB3_FID_8733B(x) (((x) & BIT_MASK_GPIOB3_FID_8733B) << BIT_SHIFT_GPIOB3_FID_8733B)
#define BITS_GPIOB3_FID_8733B (BIT_MASK_GPIOB3_FID_8733B << BIT_SHIFT_GPIOB3_FID_8733B)
#define BIT_CLEAR_GPIOB3_FID_8733B(x) ((x) & (~BITS_GPIOB3_FID_8733B))
#define BIT_GET_GPIOB3_FID_8733B(x) (((x) >> BIT_SHIFT_GPIOB3_FID_8733B) & BIT_MASK_GPIOB3_FID_8733B)
#define BIT_SET_GPIOB3_FID_8733B(x, v) (BIT_CLEAR_GPIOB3_FID_8733B(x) | BIT_GPIOB3_FID_8733B(v))

#define BIT_GPIOB2_SHDN_8733B BIT(23)
#define BIT_GPIOB2_PD_8733B BIT(22)
#define BIT_GPIOB2_PU_8733B BIT(21)

#define BIT_SHIFT_GPIOB2_FID_8733B 16
#define BIT_MASK_GPIOB2_FID_8733B 0x1f
#define BIT_GPIOB2_FID_8733B(x) (((x) & BIT_MASK_GPIOB2_FID_8733B) << BIT_SHIFT_GPIOB2_FID_8733B)
#define BITS_GPIOB2_FID_8733B (BIT_MASK_GPIOB2_FID_8733B << BIT_SHIFT_GPIOB2_FID_8733B)
#define BIT_CLEAR_GPIOB2_FID_8733B(x) ((x) & (~BITS_GPIOB2_FID_8733B))
#define BIT_GET_GPIOB2_FID_8733B(x) (((x) >> BIT_SHIFT_GPIOB2_FID_8733B) & BIT_MASK_GPIOB2_FID_8733B)
#define BIT_SET_GPIOB2_FID_8733B(x, v) (BIT_CLEAR_GPIOB2_FID_8733B(x) | BIT_GPIOB2_FID_8733B(v))

#define BIT_GPIOB1_SHDN_8733B BIT(15)
#define BIT_GPIOB1_PD_8733B BIT(14)
#define BIT_GPIOB1_PU_8733B BIT(13)

#define BIT_SHIFT_GPIOB1_FID_8733B 8
#define BIT_MASK_GPIOB1_FID_8733B 0x1f
#define BIT_GPIOB1_FID_8733B(x) (((x) & BIT_MASK_GPIOB1_FID_8733B) << BIT_SHIFT_GPIOB1_FID_8733B)
#define BITS_GPIOB1_FID_8733B (BIT_MASK_GPIOB1_FID_8733B << BIT_SHIFT_GPIOB1_FID_8733B)
#define BIT_CLEAR_GPIOB1_FID_8733B(x) ((x) & (~BITS_GPIOB1_FID_8733B))
#define BIT_GET_GPIOB1_FID_8733B(x) (((x) >> BIT_SHIFT_GPIOB1_FID_8733B) & BIT_MASK_GPIOB1_FID_8733B)
#define BIT_SET_GPIOB1_FID_8733B(x, v) (BIT_CLEAR_GPIOB1_FID_8733B(x) | BIT_GPIOB1_FID_8733B(v))

#define BIT_GPIOB0_SHDN_8733B BIT(7)
#define BIT_GPIOB0_PD_8733B BIT(6)
#define BIT_GPIOB0_PU_8733B BIT(5)

#define BIT_SHIFT_GPIOB0_FID_8733B 0
#define BIT_MASK_GPIOB0_FID_8733B 0x1f
#define BIT_GPIOB0_FID_8733B(x) (((x) & BIT_MASK_GPIOB0_FID_8733B) << BIT_SHIFT_GPIOB0_FID_8733B)
#define BITS_GPIOB0_FID_8733B (BIT_MASK_GPIOB0_FID_8733B << BIT_SHIFT_GPIOB0_FID_8733B)
#define BIT_CLEAR_GPIOB0_FID_8733B(x) ((x) & (~BITS_GPIOB0_FID_8733B))
#define BIT_GET_GPIOB0_FID_8733B(x) (((x) >> BIT_SHIFT_GPIOB0_FID_8733B) & BIT_MASK_GPIOB0_FID_8733B)
#define BIT_SET_GPIOB0_FID_8733B(x, v) (BIT_CLEAR_GPIOB0_FID_8733B(x) | BIT_GPIOB0_FID_8733B(v))

/* 2 REG_GPIO_5_8733B */
#define BIT_GPIOB5_SHDN_8733B BIT(15)
#define BIT_GPIOB5_PD_8733B BIT(14)
#define BIT_GPIOB5_PU_8733B BIT(13)

#define BIT_SHIFT_GPIOB5_FID_8733B 8
#define BIT_MASK_GPIOB5_FID_8733B 0x1f
#define BIT_GPIOB5_FID_8733B(x) (((x) & BIT_MASK_GPIOB5_FID_8733B) << BIT_SHIFT_GPIOB5_FID_8733B)
#define BITS_GPIOB5_FID_8733B (BIT_MASK_GPIOB5_FID_8733B << BIT_SHIFT_GPIOB5_FID_8733B)
#define BIT_CLEAR_GPIOB5_FID_8733B(x) ((x) & (~BITS_GPIOB5_FID_8733B))
#define BIT_GET_GPIOB5_FID_8733B(x) (((x) >> BIT_SHIFT_GPIOB5_FID_8733B) & BIT_MASK_GPIOB5_FID_8733B)
#define BIT_SET_GPIOB5_FID_8733B(x, v) (BIT_CLEAR_GPIOB5_FID_8733B(x) | BIT_GPIOB5_FID_8733B(v))

#define BIT_GPIOB4_SHDN_8733B BIT(7)
#define BIT_GPIOB4_PD_8733B BIT(6)
#define BIT_GPIOB4_PU_8733B BIT(5)

#define BIT_SHIFT_GPIOB4_FID_8733B 0
#define BIT_MASK_GPIOB4_FID_8733B 0x1f
#define BIT_GPIOB4_FID_8733B(x) (((x) & BIT_MASK_GPIOB4_FID_8733B) << BIT_SHIFT_GPIOB4_FID_8733B)
#define BITS_GPIOB4_FID_8733B (BIT_MASK_GPIOB4_FID_8733B << BIT_SHIFT_GPIOB4_FID_8733B)
#define BIT_CLEAR_GPIOB4_FID_8733B(x) ((x) & (~BITS_GPIOB4_FID_8733B))
#define BIT_GET_GPIOB4_FID_8733B(x) (((x) >> BIT_SHIFT_GPIOB4_FID_8733B) & BIT_MASK_GPIOB4_FID_8733B)
#define BIT_SET_GPIOB4_FID_8733B(x, v) (BIT_CLEAR_GPIOB4_FID_8733B(x) | BIT_GPIOB4_FID_8733B(v))

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

#define BIT_SHIFT_MEM_HV_1PRF0_RM_8733B 0
#define BIT_MASK_MEM_HV_1PRF0_RM_8733B 0xf
#define BIT_MEM_HV_1PRF0_RM_8733B(x) (((x) & BIT_MASK_MEM_HV_1PRF0_RM_8733B) << BIT_SHIFT_MEM_HV_1PRF0_RM_8733B)
#define BITS_MEM_HV_1PRF0_RM_8733B (BIT_MASK_MEM_HV_1PRF0_RM_8733B << BIT_SHIFT_MEM_HV_1PRF0_RM_8733B)
#define BIT_CLEAR_MEM_HV_1PRF0_RM_8733B(x) ((x) & (~BITS_MEM_HV_1PRF0_RM_8733B))
#define BIT_GET_MEM_HV_1PRF0_RM_8733B(x) (((x) >> BIT_SHIFT_MEM_HV_1PRF0_RM_8733B) & BIT_MASK_MEM_HV_1PRF0_RM_8733B)
#define BIT_SET_MEM_HV_1PRF0_RM_8733B(x, v) (BIT_CLEAR_MEM_HV_1PRF0_RM_8733B(x) | BIT_MEM_HV_1PRF0_RM_8733B(v))

#define BIT_MEM_HV_1PRF0_RME_8733B BIT(4)
#define BIT_MEM_HV_1PRF0_TEST1_8733B BIT(5)

#define BIT_SHIFT_MEM_HV_1PRF1_RM_8733B 8
#define BIT_MASK_MEM_HV_1PRF1_RM_8733B 0xf
#define BIT_MEM_HV_1PRF1_RM_8733B(x) (((x) & BIT_MASK_MEM_HV_1PRF1_RM_8733B) << BIT_SHIFT_MEM_HV_1PRF1_RM_8733B)
#define BITS_MEM_HV_1PRF1_RM_8733B (BIT_MASK_MEM_HV_1PRF1_RM_8733B << BIT_SHIFT_MEM_HV_1PRF1_RM_8733B)
#define BIT_CLEAR_MEM_HV_1PRF1_RM_8733B(x) ((x) & (~BITS_MEM_HV_1PRF1_RM_8733B))
#define BIT_GET_MEM_HV_1PRF1_RM_8733B(x) (((x) >> BIT_SHIFT_MEM_HV_1PRF1_RM_8733B) & BIT_MASK_MEM_HV_1PRF1_RM_8733B)
#define BIT_SET_MEM_HV_1PRF1_RM_8733B(x, v) (BIT_CLEAR_MEM_HV_1PRF1_RM_8733B(x) | BIT_MEM_HV_1PRF1_RM_8733B(v))

#define BIT_MEM_HV_1PRF1_RME_8733B BIT(12)
#define BIT_MEM_HV_1PRF1_TEST1_8733B BIT(13)

#define BIT_SHIFT_MEM_HV_1PSR_RM_8733B 16
#define BIT_MASK_MEM_HV_1PSR_RM_8733B 0xf
#define BIT_MEM_HV_1PSR_RM_8733B(x) (((x) & BIT_MASK_MEM_HV_1PSR_RM_8733B) << BIT_SHIFT_MEM_HV_1PSR_RM_8733B)
#define BITS_MEM_HV_1PSR_RM_8733B (BIT_MASK_MEM_HV_1PSR_RM_8733B << BIT_SHIFT_MEM_HV_1PSR_RM_8733B)
#define BIT_CLEAR_MEM_HV_1PSR_RM_8733B(x) ((x) & (~BITS_MEM_HV_1PSR_RM_8733B))
#define BIT_GET_MEM_HV_1PSR_RM_8733B(x) (((x) >> BIT_SHIFT_MEM_HV_1PSR_RM_8733B) & BIT_MASK_MEM_HV_1PSR_RM_8733B)
#define BIT_SET_MEM_HV_1PSR_RM_8733B(x, v) (BIT_CLEAR_MEM_HV_1PSR_RM_8733B(x) | BIT_MEM_HV_1PSR_RM_8733B(v))

#define BIT_MEM_HV_1PSR_RME_8733B BIT(20)
#define BIT_MEM_HV_1PSR_TEST1_8733B BIT(21)

#define BIT_SHIFT_MEM_HV_ROM_RM_8733B 24
#define BIT_MASK_MEM_HV_ROM_RM_8733B 0xf
#define BIT_MEM_HV_ROM_RM_8733B(x) (((x) & BIT_MASK_MEM_HV_ROM_RM_8733B) << BIT_SHIFT_MEM_HV_ROM_RM_8733B)
#define BITS_MEM_HV_ROM_RM_8733B (BIT_MASK_MEM_HV_ROM_RM_8733B << BIT_SHIFT_MEM_HV_ROM_RM_8733B)
#define BIT_CLEAR_MEM_HV_ROM_RM_8733B(x) ((x) & (~BITS_MEM_HV_ROM_RM_8733B))
#define BIT_GET_MEM_HV_ROM_RM_8733B(x) (((x) >> BIT_SHIFT_MEM_HV_ROM_RM_8733B) & BIT_MASK_MEM_HV_ROM_RM_8733B)
#define BIT_SET_MEM_HV_ROM_RM_8733B(x, v) (BIT_CLEAR_MEM_HV_ROM_RM_8733B(x) | BIT_MEM_HV_ROM_RM_8733B(v))

#define BIT_MEM_HV_ROM_RME_8733B BIT(28)
#define BIT_MEM_HV_ROM_TEST1_8733B BIT(29)

/* 2 REG_NOT_VALID_8733B */

#define BIT_SHIFT_MEM_HV_2PRF0_RMA_8733B 0
#define BIT_MASK_MEM_HV_2PRF0_RMA_8733B 0xf
#define BIT_MEM_HV_2PRF0_RMA_8733B(x) (((x) & BIT_MASK_MEM_HV_2PRF0_RMA_8733B) << BIT_SHIFT_MEM_HV_2PRF0_RMA_8733B)
#define BITS_MEM_HV_2PRF0_RMA_8733B (BIT_MASK_MEM_HV_2PRF0_RMA_8733B << BIT_SHIFT_MEM_HV_2PRF0_RMA_8733B)
#define BIT_CLEAR_MEM_HV_2PRF0_RMA_8733B(x) ((x) & (~BITS_MEM_HV_2PRF0_RMA_8733B))
#define BIT_GET_MEM_HV_2PRF0_RMA_8733B(x) (((x) >> BIT_SHIFT_MEM_HV_2PRF0_RMA_8733B) & BIT_MASK_MEM_HV_2PRF0_RMA_8733B)
#define BIT_SET_MEM_HV_2PRF0_RMA_8733B(x, v) (BIT_CLEAR_MEM_HV_2PRF0_RMA_8733B(x) | BIT_MEM_HV_2PRF0_RMA_8733B(v))

#define BIT_SHIFT_MEM_HV_2PRF0_RMB_8733B 4
#define BIT_MASK_MEM_HV_2PRF0_RMB_8733B 0xf
#define BIT_MEM_HV_2PRF0_RMB_8733B(x) (((x) & BIT_MASK_MEM_HV_2PRF0_RMB_8733B) << BIT_SHIFT_MEM_HV_2PRF0_RMB_8733B)
#define BITS_MEM_HV_2PRF0_RMB_8733B (BIT_MASK_MEM_HV_2PRF0_RMB_8733B << BIT_SHIFT_MEM_HV_2PRF0_RMB_8733B)
#define BIT_CLEAR_MEM_HV_2PRF0_RMB_8733B(x) ((x) & (~BITS_MEM_HV_2PRF0_RMB_8733B))
#define BIT_GET_MEM_HV_2PRF0_RMB_8733B(x) (((x) >> BIT_SHIFT_MEM_HV_2PRF0_RMB_8733B) & BIT_MASK_MEM_HV_2PRF0_RMB_8733B)
#define BIT_SET_MEM_HV_2PRF0_RMB_8733B(x, v) (BIT_CLEAR_MEM_HV_2PRF0_RMB_8733B(x) | BIT_MEM_HV_2PRF0_RMB_8733B(v))

#define BIT_SHIFT_MEM_HV_2PRF1_RMA_8733B 8
#define BIT_MASK_MEM_HV_2PRF1_RMA_8733B 0xf
#define BIT_MEM_HV_2PRF1_RMA_8733B(x) (((x) & BIT_MASK_MEM_HV_2PRF1_RMA_8733B) << BIT_SHIFT_MEM_HV_2PRF1_RMA_8733B)
#define BITS_MEM_HV_2PRF1_RMA_8733B (BIT_MASK_MEM_HV_2PRF1_RMA_8733B << BIT_SHIFT_MEM_HV_2PRF1_RMA_8733B)
#define BIT_CLEAR_MEM_HV_2PRF1_RMA_8733B(x) ((x) & (~BITS_MEM_HV_2PRF1_RMA_8733B))
#define BIT_GET_MEM_HV_2PRF1_RMA_8733B(x) (((x) >> BIT_SHIFT_MEM_HV_2PRF1_RMA_8733B) & BIT_MASK_MEM_HV_2PRF1_RMA_8733B)
#define BIT_SET_MEM_HV_2PRF1_RMA_8733B(x, v) (BIT_CLEAR_MEM_HV_2PRF1_RMA_8733B(x) | BIT_MEM_HV_2PRF1_RMA_8733B(v))

#define BIT_SHIFT_MEM_HV_2PRF1_RMB_8733B 12
#define BIT_MASK_MEM_HV_2PRF1_RMB_8733B 0xf
#define BIT_MEM_HV_2PRF1_RMB_8733B(x) (((x) & BIT_MASK_MEM_HV_2PRF1_RMB_8733B) << BIT_SHIFT_MEM_HV_2PRF1_RMB_8733B)
#define BITS_MEM_HV_2PRF1_RMB_8733B (BIT_MASK_MEM_HV_2PRF1_RMB_8733B << BIT_SHIFT_MEM_HV_2PRF1_RMB_8733B)
#define BIT_CLEAR_MEM_HV_2PRF1_RMB_8733B(x) ((x) & (~BITS_MEM_HV_2PRF1_RMB_8733B))
#define BIT_GET_MEM_HV_2PRF1_RMB_8733B(x) (((x) >> BIT_SHIFT_MEM_HV_2PRF1_RMB_8733B) & BIT_MASK_MEM_HV_2PRF1_RMB_8733B)
#define BIT_SET_MEM_HV_2PRF1_RMB_8733B(x, v) (BIT_CLEAR_MEM_HV_2PRF1_RMB_8733B(x) | BIT_MEM_HV_2PRF1_RMB_8733B(v))

#define BIT_MEM_HV_2PRF0_RMEA_8733B BIT(16)
#define BIT_MEM_HV_2PRF0_RMEB_8733B BIT(17)
#define BIT_MEM_HV_2PRF1_RMEA_8733B BIT(18)
#define BIT_MEM_HV_2PRF1_RMEB_8733B BIT(19)
#define BIT_MEM_HV_2PRF0_TEST1A_8733B BIT(20)
#define BIT_MEM_HV_2PRF0_TEST1B_8733B BIT(21)
#define BIT_MEM_HV_2PRF1_TEST1A_8733B BIT(22)
#define BIT_MEM_HV_2PRF1_TEST1B_8733B BIT(23)
#define BIT_MEM_BTOFF_LS_8733B BIT(24)
#define BIT_MEM_BTOFF_DS_8733B BIT(25)
#define BIT_MEM_BTOFF_SD_8733B BIT(26)
#define BIT_MEM_USB_LS_8733B BIT(27)
#define BIT_MEM_USB_DS_8733B BIT(28)
#define BIT_MEM_USB_SD_8733B BIT(29)

/* 2 REG_NOT_VALID_8733B */

#define BIT_SHIFT_MEM_USB_E0_GRP_EN_8733B 0
#define BIT_MASK_MEM_USB_E0_GRP_EN_8733B 0xff
#define BIT_MEM_USB_E0_GRP_EN_8733B(x) (((x) & BIT_MASK_MEM_USB_E0_GRP_EN_8733B) << BIT_SHIFT_MEM_USB_E0_GRP_EN_8733B)
#define BITS_MEM_USB_E0_GRP_EN_8733B (BIT_MASK_MEM_USB_E0_GRP_EN_8733B << BIT_SHIFT_MEM_USB_E0_GRP_EN_8733B)
#define BIT_CLEAR_MEM_USB_E0_GRP_EN_8733B(x) ((x) & (~BITS_MEM_USB_E0_GRP_EN_8733B))
#define BIT_GET_MEM_USB_E0_GRP_EN_8733B(x) (((x) >> BIT_SHIFT_MEM_USB_E0_GRP_EN_8733B) & BIT_MASK_MEM_USB_E0_GRP_EN_8733B)
#define BIT_SET_MEM_USB_E0_GRP_EN_8733B(x, v) (BIT_CLEAR_MEM_USB_E0_GRP_EN_8733B(x) | BIT_MEM_USB_E0_GRP_EN_8733B(v))

#define BIT_SHIFT_MEM_WPOFF_E0_GRP_EN_8733B 8
#define BIT_MASK_MEM_WPOFF_E0_GRP_EN_8733B 0x3ff
#define BIT_MEM_WPOFF_E0_GRP_EN_8733B(x) (((x) & BIT_MASK_MEM_WPOFF_E0_GRP_EN_8733B) << BIT_SHIFT_MEM_WPOFF_E0_GRP_EN_8733B)
#define BITS_MEM_WPOFF_E0_GRP_EN_8733B (BIT_MASK_MEM_WPOFF_E0_GRP_EN_8733B << BIT_SHIFT_MEM_WPOFF_E0_GRP_EN_8733B)
#define BIT_CLEAR_MEM_WPOFF_E0_GRP_EN_8733B(x) ((x) & (~BITS_MEM_WPOFF_E0_GRP_EN_8733B))
#define BIT_GET_MEM_WPOFF_E0_GRP_EN_8733B(x) (((x) >> BIT_SHIFT_MEM_WPOFF_E0_GRP_EN_8733B) & BIT_MASK_MEM_WPOFF_E0_GRP_EN_8733B)
#define BIT_SET_MEM_WPOFF_E0_GRP_EN_8733B(x, v) (BIT_CLEAR_MEM_WPOFF_E0_GRP_EN_8733B(x) | BIT_MEM_WPOFF_E0_GRP_EN_8733B(v))

#define BIT_SHIFT_MEM_WPOFF_E3_GRP_EN_8733B 18
#define BIT_MASK_MEM_WPOFF_E3_GRP_EN_8733B 0xf
#define BIT_MEM_WPOFF_E3_GRP_EN_8733B(x) (((x) & BIT_MASK_MEM_WPOFF_E3_GRP_EN_8733B) << BIT_SHIFT_MEM_WPOFF_E3_GRP_EN_8733B)
#define BITS_MEM_WPOFF_E3_GRP_EN_8733B (BIT_MASK_MEM_WPOFF_E3_GRP_EN_8733B << BIT_SHIFT_MEM_WPOFF_E3_GRP_EN_8733B)
#define BIT_CLEAR_MEM_WPOFF_E3_GRP_EN_8733B(x) ((x) & (~BITS_MEM_WPOFF_E3_GRP_EN_8733B))
#define BIT_GET_MEM_WPOFF_E3_GRP_EN_8733B(x) (((x) >> BIT_SHIFT_MEM_WPOFF_E3_GRP_EN_8733B) & BIT_MASK_MEM_WPOFF_E3_GRP_EN_8733B)
#define BIT_SET_MEM_WPOFF_E3_GRP_EN_8733B(x, v) (BIT_CLEAR_MEM_WPOFF_E3_GRP_EN_8733B(x) | BIT_MEM_WPOFF_E3_GRP_EN_8733B(v))

#define BIT_SHIFT_MEM_WPON_E0_GRP_EN_8733B 22
#define BIT_MASK_MEM_WPON_E0_GRP_EN_8733B 0x3f
#define BIT_MEM_WPON_E0_GRP_EN_8733B(x) (((x) & BIT_MASK_MEM_WPON_E0_GRP_EN_8733B) << BIT_SHIFT_MEM_WPON_E0_GRP_EN_8733B)
#define BITS_MEM_WPON_E0_GRP_EN_8733B (BIT_MASK_MEM_WPON_E0_GRP_EN_8733B << BIT_SHIFT_MEM_WPON_E0_GRP_EN_8733B)
#define BIT_CLEAR_MEM_WPON_E0_GRP_EN_8733B(x) ((x) & (~BITS_MEM_WPON_E0_GRP_EN_8733B))
#define BIT_GET_MEM_WPON_E0_GRP_EN_8733B(x) (((x) >> BIT_SHIFT_MEM_WPON_E0_GRP_EN_8733B) & BIT_MASK_MEM_WPON_E0_GRP_EN_8733B)
#define BIT_SET_MEM_WPON_E0_GRP_EN_8733B(x, v) (BIT_CLEAR_MEM_WPON_E0_GRP_EN_8733B(x) | BIT_MEM_WPON_E0_GRP_EN_8733B(v))

/* 2 REG_NOT_VALID_8733B */

#define BIT_SHIFT_MEM_MBIST_CTRL_BT_8733B 0
#define BIT_MASK_MEM_MBIST_CTRL_BT_8733B 0xffffffffL
#define BIT_MEM_MBIST_CTRL_BT_8733B(x) (((x) & BIT_MASK_MEM_MBIST_CTRL_BT_8733B) << BIT_SHIFT_MEM_MBIST_CTRL_BT_8733B)
#define BITS_MEM_MBIST_CTRL_BT_8733B (BIT_MASK_MEM_MBIST_CTRL_BT_8733B << BIT_SHIFT_MEM_MBIST_CTRL_BT_8733B)
#define BIT_CLEAR_MEM_MBIST_CTRL_BT_8733B(x) ((x) & (~BITS_MEM_MBIST_CTRL_BT_8733B))
#define BIT_GET_MEM_MBIST_CTRL_BT_8733B(x) (((x) >> BIT_SHIFT_MEM_MBIST_CTRL_BT_8733B) & BIT_MASK_MEM_MBIST_CTRL_BT_8733B)
#define BIT_SET_MEM_MBIST_CTRL_BT_8733B(x, v) (BIT_CLEAR_MEM_MBIST_CTRL_BT_8733B(x) | BIT_MEM_MBIST_CTRL_BT_8733B(v))

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_CR_8733B	-MAC TOP FUNCTION ENABLE */
#define BIT_DMACLBK_8733B BIT(28)
#define BIT_NO_TBUF_8733B BIT(27)
#define BIT_DMALBK_8733B BIT(26)
#define BIT_NO_TXPHY_8733B BIT(25)
#define BIT_DIGLBK_8733B BIT(24)

#define BIT_SHIFT_NETYPE1_8733B 18
#define BIT_MASK_NETYPE1_8733B 0x3
#define BIT_NETYPE1_8733B(x) (((x) & BIT_MASK_NETYPE1_8733B) << BIT_SHIFT_NETYPE1_8733B)
#define BITS_NETYPE1_8733B (BIT_MASK_NETYPE1_8733B << BIT_SHIFT_NETYPE1_8733B)
#define BIT_CLEAR_NETYPE1_8733B(x) ((x) & (~BITS_NETYPE1_8733B))
#define BIT_GET_NETYPE1_8733B(x) (((x) >> BIT_SHIFT_NETYPE1_8733B) & BIT_MASK_NETYPE1_8733B)
#define BIT_SET_NETYPE1_8733B(x, v) (BIT_CLEAR_NETYPE1_8733B(x) | BIT_NETYPE1_8733B(v))

#define BIT_SHIFT_NETYPE0_8733B 16
#define BIT_MASK_NETYPE0_8733B 0x3
#define BIT_NETYPE0_8733B(x) (((x) & BIT_MASK_NETYPE0_8733B) << BIT_SHIFT_NETYPE0_8733B)
#define BITS_NETYPE0_8733B (BIT_MASK_NETYPE0_8733B << BIT_SHIFT_NETYPE0_8733B)
#define BIT_CLEAR_NETYPE0_8733B(x) ((x) & (~BITS_NETYPE0_8733B))
#define BIT_GET_NETYPE0_8733B(x) (((x) >> BIT_SHIFT_NETYPE0_8733B) & BIT_MASK_NETYPE0_8733B)
#define BIT_SET_NETYPE0_8733B(x, v) (BIT_CLEAR_NETYPE0_8733B(x) | BIT_NETYPE0_8733B(v))

#define BIT_I2C_MAILBOX_EN_8733B BIT(12)
#define BIT_CAL32TM_EN_8733B BIT(10)
#define BIT_MAC_SEC_EN_8733B BIT(9)
#define BIT_ENSWBCN_8733B BIT(8)
#define BIT_MACRXEN_8733B BIT(7)
#define BIT_MACTXEN_8733B BIT(6)
#define BIT_SCHEDULE_EN_8733B BIT(5)
#define BIT_PROTOCOL_EN_8733B BIT(4)
#define BIT_RXDMA_EN_8733B BIT(3)
#define BIT_TXDMA_EN_8733B BIT(2)
#define BIT_HCI_RXDMA_EN_8733B BIT(1)
#define BIT_HCI_TXDMA_EN_8733B BIT(0)

/* 2 REG_PG_SIZE_8733B */

#define BIT_SHIFT_PKT_BUFF_ACCESS_CTRL_8733B 16
#define BIT_MASK_PKT_BUFF_ACCESS_CTRL_8733B 0xff
#define BIT_PKT_BUFF_ACCESS_CTRL_8733B(x) (((x) & BIT_MASK_PKT_BUFF_ACCESS_CTRL_8733B) << BIT_SHIFT_PKT_BUFF_ACCESS_CTRL_8733B)
#define BITS_PKT_BUFF_ACCESS_CTRL_8733B (BIT_MASK_PKT_BUFF_ACCESS_CTRL_8733B << BIT_SHIFT_PKT_BUFF_ACCESS_CTRL_8733B)
#define BIT_CLEAR_PKT_BUFF_ACCESS_CTRL_8733B(x) ((x) & (~BITS_PKT_BUFF_ACCESS_CTRL_8733B))
#define BIT_GET_PKT_BUFF_ACCESS_CTRL_8733B(x) (((x) >> BIT_SHIFT_PKT_BUFF_ACCESS_CTRL_8733B) & BIT_MASK_PKT_BUFF_ACCESS_CTRL_8733B)
#define BIT_SET_PKT_BUFF_ACCESS_CTRL_8733B(x, v) (BIT_CLEAR_PKT_BUFF_ACCESS_CTRL_8733B(x) | BIT_PKT_BUFF_ACCESS_CTRL_8733B(v))

#define BIT_IRAM_DIS_8733B BIT(8)

#define BIT_SHIFT_TXPKT_PGSZ_8733B 4
#define BIT_MASK_TXPKT_PGSZ_8733B 0xf
#define BIT_TXPKT_PGSZ_8733B(x) (((x) & BIT_MASK_TXPKT_PGSZ_8733B) << BIT_SHIFT_TXPKT_PGSZ_8733B)
#define BITS_TXPKT_PGSZ_8733B (BIT_MASK_TXPKT_PGSZ_8733B << BIT_SHIFT_TXPKT_PGSZ_8733B)
#define BIT_CLEAR_TXPKT_PGSZ_8733B(x) ((x) & (~BITS_TXPKT_PGSZ_8733B))
#define BIT_GET_TXPKT_PGSZ_8733B(x) (((x) >> BIT_SHIFT_TXPKT_PGSZ_8733B) & BIT_MASK_TXPKT_PGSZ_8733B)
#define BIT_SET_TXPKT_PGSZ_8733B(x, v) (BIT_CLEAR_TXPKT_PGSZ_8733B(x) | BIT_TXPKT_PGSZ_8733B(v))

#define BIT_SHIFT_RXPKT_PGSZ_8733B 0
#define BIT_MASK_RXPKT_PGSZ_8733B 0xf
#define BIT_RXPKT_PGSZ_8733B(x) (((x) & BIT_MASK_RXPKT_PGSZ_8733B) << BIT_SHIFT_RXPKT_PGSZ_8733B)
#define BITS_RXPKT_PGSZ_8733B (BIT_MASK_RXPKT_PGSZ_8733B << BIT_SHIFT_RXPKT_PGSZ_8733B)
#define BIT_CLEAR_RXPKT_PGSZ_8733B(x) ((x) & (~BITS_RXPKT_PGSZ_8733B))
#define BIT_GET_RXPKT_PGSZ_8733B(x) (((x) >> BIT_SHIFT_RXPKT_PGSZ_8733B) & BIT_MASK_RXPKT_PGSZ_8733B)
#define BIT_SET_RXPKT_PGSZ_8733B(x, v) (BIT_CLEAR_RXPKT_PGSZ_8733B(x) | BIT_RXPKT_PGSZ_8733B(v))

/* 2 REG_TSF_CLK_STATE_8733B	-BEACON TIME RESET VALUE */
#define BIT_CLK_TSF_IS32K_8733B BIT(15)

/* 2 REG_TXDMA_PQ_MAP_8733B	-RX DMA FUCTION ENABLE */

#define BIT_SHIFT_TXDMA_CMQ_MAP_8733B 16
#define BIT_MASK_TXDMA_CMQ_MAP_8733B 0x3
#define BIT_TXDMA_CMQ_MAP_8733B(x) (((x) & BIT_MASK_TXDMA_CMQ_MAP_8733B) << BIT_SHIFT_TXDMA_CMQ_MAP_8733B)
#define BITS_TXDMA_CMQ_MAP_8733B (BIT_MASK_TXDMA_CMQ_MAP_8733B << BIT_SHIFT_TXDMA_CMQ_MAP_8733B)
#define BIT_CLEAR_TXDMA_CMQ_MAP_8733B(x) ((x) & (~BITS_TXDMA_CMQ_MAP_8733B))
#define BIT_GET_TXDMA_CMQ_MAP_8733B(x) (((x) >> BIT_SHIFT_TXDMA_CMQ_MAP_8733B) & BIT_MASK_TXDMA_CMQ_MAP_8733B)
#define BIT_SET_TXDMA_CMQ_MAP_8733B(x, v) (BIT_CLEAR_TXDMA_CMQ_MAP_8733B(x) | BIT_TXDMA_CMQ_MAP_8733B(v))

#define BIT_SHIFT_TXDMA_HIQ_MAP_8733B 14
#define BIT_MASK_TXDMA_HIQ_MAP_8733B 0x3
#define BIT_TXDMA_HIQ_MAP_8733B(x) (((x) & BIT_MASK_TXDMA_HIQ_MAP_8733B) << BIT_SHIFT_TXDMA_HIQ_MAP_8733B)
#define BITS_TXDMA_HIQ_MAP_8733B (BIT_MASK_TXDMA_HIQ_MAP_8733B << BIT_SHIFT_TXDMA_HIQ_MAP_8733B)
#define BIT_CLEAR_TXDMA_HIQ_MAP_8733B(x) ((x) & (~BITS_TXDMA_HIQ_MAP_8733B))
#define BIT_GET_TXDMA_HIQ_MAP_8733B(x) (((x) >> BIT_SHIFT_TXDMA_HIQ_MAP_8733B) & BIT_MASK_TXDMA_HIQ_MAP_8733B)
#define BIT_SET_TXDMA_HIQ_MAP_8733B(x, v) (BIT_CLEAR_TXDMA_HIQ_MAP_8733B(x) | BIT_TXDMA_HIQ_MAP_8733B(v))

#define BIT_SHIFT_TXDMA_MGQ_MAP_8733B 12
#define BIT_MASK_TXDMA_MGQ_MAP_8733B 0x3
#define BIT_TXDMA_MGQ_MAP_8733B(x) (((x) & BIT_MASK_TXDMA_MGQ_MAP_8733B) << BIT_SHIFT_TXDMA_MGQ_MAP_8733B)
#define BITS_TXDMA_MGQ_MAP_8733B (BIT_MASK_TXDMA_MGQ_MAP_8733B << BIT_SHIFT_TXDMA_MGQ_MAP_8733B)
#define BIT_CLEAR_TXDMA_MGQ_MAP_8733B(x) ((x) & (~BITS_TXDMA_MGQ_MAP_8733B))
#define BIT_GET_TXDMA_MGQ_MAP_8733B(x) (((x) >> BIT_SHIFT_TXDMA_MGQ_MAP_8733B) & BIT_MASK_TXDMA_MGQ_MAP_8733B)
#define BIT_SET_TXDMA_MGQ_MAP_8733B(x, v) (BIT_CLEAR_TXDMA_MGQ_MAP_8733B(x) | BIT_TXDMA_MGQ_MAP_8733B(v))

#define BIT_SHIFT_TXDMA_BKQ_MAP_8733B 10
#define BIT_MASK_TXDMA_BKQ_MAP_8733B 0x3
#define BIT_TXDMA_BKQ_MAP_8733B(x) (((x) & BIT_MASK_TXDMA_BKQ_MAP_8733B) << BIT_SHIFT_TXDMA_BKQ_MAP_8733B)
#define BITS_TXDMA_BKQ_MAP_8733B (BIT_MASK_TXDMA_BKQ_MAP_8733B << BIT_SHIFT_TXDMA_BKQ_MAP_8733B)
#define BIT_CLEAR_TXDMA_BKQ_MAP_8733B(x) ((x) & (~BITS_TXDMA_BKQ_MAP_8733B))
#define BIT_GET_TXDMA_BKQ_MAP_8733B(x) (((x) >> BIT_SHIFT_TXDMA_BKQ_MAP_8733B) & BIT_MASK_TXDMA_BKQ_MAP_8733B)
#define BIT_SET_TXDMA_BKQ_MAP_8733B(x, v) (BIT_CLEAR_TXDMA_BKQ_MAP_8733B(x) | BIT_TXDMA_BKQ_MAP_8733B(v))

#define BIT_SHIFT_TXDMA_BEQ_MAP_8733B 8
#define BIT_MASK_TXDMA_BEQ_MAP_8733B 0x3
#define BIT_TXDMA_BEQ_MAP_8733B(x) (((x) & BIT_MASK_TXDMA_BEQ_MAP_8733B) << BIT_SHIFT_TXDMA_BEQ_MAP_8733B)
#define BITS_TXDMA_BEQ_MAP_8733B (BIT_MASK_TXDMA_BEQ_MAP_8733B << BIT_SHIFT_TXDMA_BEQ_MAP_8733B)
#define BIT_CLEAR_TXDMA_BEQ_MAP_8733B(x) ((x) & (~BITS_TXDMA_BEQ_MAP_8733B))
#define BIT_GET_TXDMA_BEQ_MAP_8733B(x) (((x) >> BIT_SHIFT_TXDMA_BEQ_MAP_8733B) & BIT_MASK_TXDMA_BEQ_MAP_8733B)
#define BIT_SET_TXDMA_BEQ_MAP_8733B(x, v) (BIT_CLEAR_TXDMA_BEQ_MAP_8733B(x) | BIT_TXDMA_BEQ_MAP_8733B(v))

#define BIT_SHIFT_TXDMA_VIQ_MAP_8733B 6
#define BIT_MASK_TXDMA_VIQ_MAP_8733B 0x3
#define BIT_TXDMA_VIQ_MAP_8733B(x) (((x) & BIT_MASK_TXDMA_VIQ_MAP_8733B) << BIT_SHIFT_TXDMA_VIQ_MAP_8733B)
#define BITS_TXDMA_VIQ_MAP_8733B (BIT_MASK_TXDMA_VIQ_MAP_8733B << BIT_SHIFT_TXDMA_VIQ_MAP_8733B)
#define BIT_CLEAR_TXDMA_VIQ_MAP_8733B(x) ((x) & (~BITS_TXDMA_VIQ_MAP_8733B))
#define BIT_GET_TXDMA_VIQ_MAP_8733B(x) (((x) >> BIT_SHIFT_TXDMA_VIQ_MAP_8733B) & BIT_MASK_TXDMA_VIQ_MAP_8733B)
#define BIT_SET_TXDMA_VIQ_MAP_8733B(x, v) (BIT_CLEAR_TXDMA_VIQ_MAP_8733B(x) | BIT_TXDMA_VIQ_MAP_8733B(v))

#define BIT_SHIFT_TXDMA_VOQ_MAP_8733B 4
#define BIT_MASK_TXDMA_VOQ_MAP_8733B 0x3
#define BIT_TXDMA_VOQ_MAP_8733B(x) (((x) & BIT_MASK_TXDMA_VOQ_MAP_8733B) << BIT_SHIFT_TXDMA_VOQ_MAP_8733B)
#define BITS_TXDMA_VOQ_MAP_8733B (BIT_MASK_TXDMA_VOQ_MAP_8733B << BIT_SHIFT_TXDMA_VOQ_MAP_8733B)
#define BIT_CLEAR_TXDMA_VOQ_MAP_8733B(x) ((x) & (~BITS_TXDMA_VOQ_MAP_8733B))
#define BIT_GET_TXDMA_VOQ_MAP_8733B(x) (((x) >> BIT_SHIFT_TXDMA_VOQ_MAP_8733B) & BIT_MASK_TXDMA_VOQ_MAP_8733B)
#define BIT_SET_TXDMA_VOQ_MAP_8733B(x, v) (BIT_CLEAR_TXDMA_VOQ_MAP_8733B(x) | BIT_TXDMA_VOQ_MAP_8733B(v))

#define BIT_RXDMA_AGG_EN_8733B BIT(2)
#define BIT_ENSHFT_8733B BIT(1)
#define BIT_RXDMA_BW_EN_8733B BIT(0)

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_TRXFF_BNDY_8733B	-FIFO BOUNDARY CONTROL REGISTER */

#define BIT_SHIFT_RXPKT0ENDADDR_8733B 16
#define BIT_MASK_RXPKT0ENDADDR_8733B 0xffff
#define BIT_RXPKT0ENDADDR_8733B(x) (((x) & BIT_MASK_RXPKT0ENDADDR_8733B) << BIT_SHIFT_RXPKT0ENDADDR_8733B)
#define BITS_RXPKT0ENDADDR_8733B (BIT_MASK_RXPKT0ENDADDR_8733B << BIT_SHIFT_RXPKT0ENDADDR_8733B)
#define BIT_CLEAR_RXPKT0ENDADDR_8733B(x) ((x) & (~BITS_RXPKT0ENDADDR_8733B))
#define BIT_GET_RXPKT0ENDADDR_8733B(x) (((x) >> BIT_SHIFT_RXPKT0ENDADDR_8733B) & BIT_MASK_RXPKT0ENDADDR_8733B)
#define BIT_SET_RXPKT0ENDADDR_8733B(x, v) (BIT_CLEAR_RXPKT0ENDADDR_8733B(x) | BIT_RXPKT0ENDADDR_8733B(v))

#define BIT_SHIFT_RXFFOVFL_RSV_8733B 8
#define BIT_MASK_RXFFOVFL_RSV_8733B 0xf
#define BIT_RXFFOVFL_RSV_8733B(x) (((x) & BIT_MASK_RXFFOVFL_RSV_8733B) << BIT_SHIFT_RXFFOVFL_RSV_8733B)
#define BITS_RXFFOVFL_RSV_8733B (BIT_MASK_RXFFOVFL_RSV_8733B << BIT_SHIFT_RXFFOVFL_RSV_8733B)
#define BIT_CLEAR_RXFFOVFL_RSV_8733B(x) ((x) & (~BITS_RXFFOVFL_RSV_8733B))
#define BIT_GET_RXFFOVFL_RSV_8733B(x) (((x) >> BIT_SHIFT_RXFFOVFL_RSV_8733B) & BIT_MASK_RXFFOVFL_RSV_8733B)
#define BIT_SET_RXFFOVFL_RSV_8733B(x, v) (BIT_CLEAR_RXFFOVFL_RSV_8733B(x) | BIT_RXFFOVFL_RSV_8733B(v))

#define BIT_SHIFT_TXPKT_PGBNDY_8733B 0
#define BIT_MASK_TXPKT_PGBNDY_8733B 0xff
#define BIT_TXPKT_PGBNDY_8733B(x) (((x) & BIT_MASK_TXPKT_PGBNDY_8733B) << BIT_SHIFT_TXPKT_PGBNDY_8733B)
#define BITS_TXPKT_PGBNDY_8733B (BIT_MASK_TXPKT_PGBNDY_8733B << BIT_SHIFT_TXPKT_PGBNDY_8733B)
#define BIT_CLEAR_TXPKT_PGBNDY_8733B(x) ((x) & (~BITS_TXPKT_PGBNDY_8733B))
#define BIT_GET_TXPKT_PGBNDY_8733B(x) (((x) >> BIT_SHIFT_TXPKT_PGBNDY_8733B) & BIT_MASK_TXPKT_PGBNDY_8733B)
#define BIT_SET_TXPKT_PGBNDY_8733B(x, v) (BIT_CLEAR_TXPKT_PGBNDY_8733B(x) | BIT_TXPKT_PGBNDY_8733B(v))

/* 2 REG_PTA_I2C_MBOX_8733B	STATUS REGISTER-FIFO STATUS(OVERFLOW/UNDERFLOW) */

#define BIT_SHIFT_I2C_M_STATUS_8733B 8
#define BIT_MASK_I2C_M_STATUS_8733B 0xf
#define BIT_I2C_M_STATUS_8733B(x) (((x) & BIT_MASK_I2C_M_STATUS_8733B) << BIT_SHIFT_I2C_M_STATUS_8733B)
#define BITS_I2C_M_STATUS_8733B (BIT_MASK_I2C_M_STATUS_8733B << BIT_SHIFT_I2C_M_STATUS_8733B)
#define BIT_CLEAR_I2C_M_STATUS_8733B(x) ((x) & (~BITS_I2C_M_STATUS_8733B))
#define BIT_GET_I2C_M_STATUS_8733B(x) (((x) >> BIT_SHIFT_I2C_M_STATUS_8733B) & BIT_MASK_I2C_M_STATUS_8733B)
#define BIT_SET_I2C_M_STATUS_8733B(x, v) (BIT_CLEAR_I2C_M_STATUS_8733B(x) | BIT_I2C_M_STATUS_8733B(v))

#define BIT_SHIFT_I2C_M_BUS_GNT_FW_8733B 4
#define BIT_MASK_I2C_M_BUS_GNT_FW_8733B 0x7
#define BIT_I2C_M_BUS_GNT_FW_8733B(x) (((x) & BIT_MASK_I2C_M_BUS_GNT_FW_8733B) << BIT_SHIFT_I2C_M_BUS_GNT_FW_8733B)
#define BITS_I2C_M_BUS_GNT_FW_8733B (BIT_MASK_I2C_M_BUS_GNT_FW_8733B << BIT_SHIFT_I2C_M_BUS_GNT_FW_8733B)
#define BIT_CLEAR_I2C_M_BUS_GNT_FW_8733B(x) ((x) & (~BITS_I2C_M_BUS_GNT_FW_8733B))
#define BIT_GET_I2C_M_BUS_GNT_FW_8733B(x) (((x) >> BIT_SHIFT_I2C_M_BUS_GNT_FW_8733B) & BIT_MASK_I2C_M_BUS_GNT_FW_8733B)
#define BIT_SET_I2C_M_BUS_GNT_FW_8733B(x, v) (BIT_CLEAR_I2C_M_BUS_GNT_FW_8733B(x) | BIT_I2C_M_BUS_GNT_FW_8733B(v))

#define BIT_I2C_GNT_FW_8733B BIT(3)

#define BIT_SHIFT_I2C_M_SPEED_8733B 1
#define BIT_MASK_I2C_M_SPEED_8733B 0x3
#define BIT_I2C_M_SPEED_8733B(x) (((x) & BIT_MASK_I2C_M_SPEED_8733B) << BIT_SHIFT_I2C_M_SPEED_8733B)
#define BITS_I2C_M_SPEED_8733B (BIT_MASK_I2C_M_SPEED_8733B << BIT_SHIFT_I2C_M_SPEED_8733B)
#define BIT_CLEAR_I2C_M_SPEED_8733B(x) ((x) & (~BITS_I2C_M_SPEED_8733B))
#define BIT_GET_I2C_M_SPEED_8733B(x) (((x) >> BIT_SHIFT_I2C_M_SPEED_8733B) & BIT_MASK_I2C_M_SPEED_8733B)
#define BIT_SET_I2C_M_SPEED_8733B(x, v) (BIT_CLEAR_I2C_M_SPEED_8733B(x) | BIT_I2C_M_SPEED_8733B(v))

#define BIT_I2C_M_UNLOCK_8733B BIT(0)

/* 2 REG_RXFF_PTR_8733B	-RX	FIFO READ/WRITE POINTER */

#define BIT_SHIFT_RXFF0_RDPTR_8733B 16
#define BIT_MASK_RXFF0_RDPTR_8733B 0xffff
#define BIT_RXFF0_RDPTR_8733B(x) (((x) & BIT_MASK_RXFF0_RDPTR_8733B) << BIT_SHIFT_RXFF0_RDPTR_8733B)
#define BITS_RXFF0_RDPTR_8733B (BIT_MASK_RXFF0_RDPTR_8733B << BIT_SHIFT_RXFF0_RDPTR_8733B)
#define BIT_CLEAR_RXFF0_RDPTR_8733B(x) ((x) & (~BITS_RXFF0_RDPTR_8733B))
#define BIT_GET_RXFF0_RDPTR_8733B(x) (((x) >> BIT_SHIFT_RXFF0_RDPTR_8733B) & BIT_MASK_RXFF0_RDPTR_8733B)
#define BIT_SET_RXFF0_RDPTR_8733B(x, v) (BIT_CLEAR_RXFF0_RDPTR_8733B(x) | BIT_RXFF0_RDPTR_8733B(v))

#define BIT_SHIFT_RXFF0_WTPTR_8733B 0
#define BIT_MASK_RXFF0_WTPTR_8733B 0xffff
#define BIT_RXFF0_WTPTR_8733B(x) (((x) & BIT_MASK_RXFF0_WTPTR_8733B) << BIT_SHIFT_RXFF0_WTPTR_8733B)
#define BITS_RXFF0_WTPTR_8733B (BIT_MASK_RXFF0_WTPTR_8733B << BIT_SHIFT_RXFF0_WTPTR_8733B)
#define BIT_CLEAR_RXFF0_WTPTR_8733B(x) ((x) & (~BITS_RXFF0_WTPTR_8733B))
#define BIT_GET_RXFF0_WTPTR_8733B(x) (((x) >> BIT_SHIFT_RXFF0_WTPTR_8733B) & BIT_MASK_RXFF0_WTPTR_8733B)
#define BIT_SET_RXFF0_WTPTR_8733B(x, v) (BIT_CLEAR_RXFF0_WTPTR_8733B(x) | BIT_RXFF0_WTPTR_8733B(v))

/* 2 REG_FE1IMR_8733B	-FIRMWARE EXTEND INTERRUPT MASK REGISTER */
#define BIT_NOT_BEACON_INT_EN_8733B BIT(31)
#define BIT_FWFF_FULL_INT_EN_8733B BIT(30)
#define BIT_BB_STOP_RX_INT_EN_8733B BIT(29)
#define BIT_FS_RXDMA2_DONE_INT_EN_8733B BIT(28)
#define BIT_RXPCLP_CHKOK_INT_EN_8733B BIT(27)
#define BIT_FS_RXDONE1_INT_EN_8733B BIT(26)
#define BIT_FS_RX_BCN_P4_INT_EN_8733B BIT(25)
#define BIT_FS_RX_BCN_P3_INT_EN_8733B BIT(24)
#define BIT_FS_RX_BCN_P2_INT_EN_8733B BIT(23)
#define BIT_FS_RX_BCN_P1_INT_EN_8733B BIT(22)
#define BIT_FS_RX_BCN_P0_INT_EN_8733B BIT(21)
#define BIT_FS_RX_UMD0_INT_EN_8733B BIT(20)
#define BIT_FS_RX_UMD1_INT_EN_8733B BIT(19)
#define BIT_FS_RX_BMD0_INT_EN_8733B BIT(18)
#define BIT_FS_RX_BMD1_INT_EN_8733B BIT(17)
#define BIT_FS_RXDONE0_INT_EN_8733B BIT(16)
#define BIT_FS_WWLAN_INT_EN_8733B BIT(15)
#define BIT_FS_SOUND_DONE_INT_EN_8733B BIT(14)
#define BIT_FS_LP_STBY_INT_EN_8733B BIT(13)
#define BIT_FS_TRL_MTR_INT_EN_8733B BIT(12)
#define BIT_FS_BF1_PRETO_INT_EN_8733B BIT(11)
#define BIT_FS_BF0_PRETO_INT_EN_8733B BIT(10)
#define BIT_FS_PTCL_RELEASE_MACID_INT_EN_8733B BIT(9)
#define BIT_PRETXERR_HANDLE_FSIMR_8733B BIT(8)
#define BIT_FS_WLACTOFF_INT_EN_8733B BIT(5)
#define BIT_FS_WLACTON_INT_EN_8733B BIT(4)
#define BIT_FS_BCN_RX_INT_EN_8733B BIT(3)
#define BIT_FS_REG_MAILBOX_TO_I2C_INT_EN_8733B BIT(2)
#define BIT_TRPC_TO_INT_EN_8733B BIT(1)
#define BIT_BIT_RPC_O_T_INT_EN_8733B BIT(0)

/* 2 REG_FE1ISR_8733B	-FIRMWARE EXTEND INTERRUPT STATUS REGISTER */
#define BIT_NOT_BEACON_INT_8733B BIT(31)
#define BIT_FWFF_FULL_INT_8733B BIT(30)
#define BIT_BB_STOP_RX_INT_8733B BIT(29)
#define BIT_FS_RXDMA2_DONE_INT_8733B BIT(28)
#define BIT_RXPLCP_CHKOK_INT_8733B BIT(27)
#define BIT_FS_RXDONE1_INT_8733B BIT(26)
#define BIT_FS_RX_BCN_P4_INT_8733B BIT(25)
#define BIT_FS_RX_BCN_P3_INT_8733B BIT(24)
#define BIT_FS_RX_BCN_P2_INT_8733B BIT(23)
#define BIT_FS_RX_BCN_P1_INT_8733B BIT(22)
#define BIT_FS_RX_BCN_P0_INT_8733B BIT(21)
#define BIT_FS_RX_UMD0_INT_8733B BIT(20)
#define BIT_FS_RX_UMD1_INT_8733B BIT(19)
#define BIT_FS_RX_BMD0_INT_8733B BIT(18)
#define BIT_FS_RX_BMD1_INT_8733B BIT(17)
#define BIT_FS_RXDONE0_INT_8733B BIT(16)
#define BIT_FS_WWLAN_INT_8733B BIT(15)
#define BIT_FS_SOUND_DONE_INT_8733B BIT(14)
#define BIT_FS_LP_STBY_INT_8733B BIT(13)
#define BIT_FS_TRL_MTR_INT_8733B BIT(12)
#define BIT_FS_BF1_PRETO_INT_8733B BIT(11)
#define BIT_FS_BF0_PRETO_INT_8733B BIT(10)
#define BIT_FS_PTCL_RELEASE_MACID_INT_8733B BIT(9)
#define BIT_PRETXERR_HANDLE_FSISR_8733B BIT(8)
#define BIT_FS_WLACTOFF_INT_8733B BIT(5)
#define BIT_FS_WLACTON_INT_8733B BIT(4)
#define BIT_FS_BCN_RX_INT_8733B BIT(3)
#define BIT_FS_REG_MAILBOX_TO_I2C_INT_8733B BIT(2)
#define BIT_FS_TRPC_TO_INT_8733B BIT(1)
#define BIT_FS_RPC_O_T_INT_8733B BIT(0)

/* 2 REG_HEISR_HOST_EXTEND_INTERRUPT_MASK_REGISTER_8733B */
#define BIT_CPWM_TOGGLING_8733B BIT(31)

#define BIT_SHIFT_CPWM_MOD_8733B 24
#define BIT_MASK_CPWM_MOD_8733B 0x7f
#define BIT_CPWM_MOD_8733B(x) (((x) & BIT_MASK_CPWM_MOD_8733B) << BIT_SHIFT_CPWM_MOD_8733B)
#define BITS_CPWM_MOD_8733B (BIT_MASK_CPWM_MOD_8733B << BIT_SHIFT_CPWM_MOD_8733B)
#define BIT_CLEAR_CPWM_MOD_8733B(x) ((x) & (~BITS_CPWM_MOD_8733B))
#define BIT_GET_CPWM_MOD_8733B(x) (((x) >> BIT_SHIFT_CPWM_MOD_8733B) & BIT_MASK_CPWM_MOD_8733B)
#define BIT_SET_CPWM_MOD_8733B(x, v) (BIT_CLEAR_CPWM_MOD_8733B(x) | BIT_CPWM_MOD_8733B(v))

/* 2 REG_HEISR_HOST_EXTEND_INTERRUPT_STATUS_REGISTER_8733B */
#define BIT_CPWM_TOGGLING_8733B BIT(31)

#define BIT_SHIFT_CPWM_MOD_8733B 24
#define BIT_MASK_CPWM_MOD_8733B 0x7f
#define BIT_CPWM_MOD_8733B(x) (((x) & BIT_MASK_CPWM_MOD_8733B) << BIT_SHIFT_CPWM_MOD_8733B)
#define BITS_CPWM_MOD_8733B (BIT_MASK_CPWM_MOD_8733B << BIT_SHIFT_CPWM_MOD_8733B)
#define BIT_CLEAR_CPWM_MOD_8733B(x) ((x) & (~BITS_CPWM_MOD_8733B))
#define BIT_GET_CPWM_MOD_8733B(x) (((x) >> BIT_SHIFT_CPWM_MOD_8733B) & BIT_MASK_CPWM_MOD_8733B)
#define BIT_SET_CPWM_MOD_8733B(x, v) (BIT_CLEAR_CPWM_MOD_8733B(x) | BIT_CPWM_MOD_8733B(v))

/* 2 REG_FWIMR_8733B	-FIRMWARE INTERRUPT MASK REGISTER */
#define BIT_FS_TXBCNOK_MB7_INT_EN_8733B BIT(31)
#define BIT_FS_TXBCNOK_MB6_INT_EN_8733B BIT(30)
#define BIT_FS_TXBCNOK_MB5_INT_EN_8733B BIT(29)
#define BIT_FS_TXBCNOK_MB4_INT_EN_8733B BIT(28)
#define BIT_FS_TXBCNOK_MB3_INT_EN_8733B BIT(27)
#define BIT_FS_TXBCNOK_MB2_INT_EN_8733B BIT(26)
#define BIT_FS_TXBCNOK_MB1_INT_EN_8733B BIT(25)
#define BIT_FS_TXBCNOK_MB0_INT_EN_8733B BIT(24)
#define BIT_FS_TXBCNERR_MB7_INT_EN_8733B BIT(23)
#define BIT_FS_TXBCNERR_MB6_INT_EN_8733B BIT(22)
#define BIT_FS_TXBCNERR_MB5_INT_EN_8733B BIT(21)
#define BIT_FS_TXBCNERR_MB4_INT_EN_8733B BIT(20)
#define BIT_FS_TXBCNERR_MB3_INT_EN_8733B BIT(19)
#define BIT_FS_TXBCNERR_MB2_INT_EN_8733B BIT(18)
#define BIT_FS_TXBCNERR_MB1_INT_EN_8733B BIT(17)
#define BIT_FS_TXBCNERR_MB0_INT_EN_8733B BIT(16)
#define BIT_CPUMGN_POLLED_PKT_DONE_INT_EN_8733B BIT(15)
#define BIT_FS_INT_IPSEC_EN_8733B BIT(14)
#define BIT_FS_MGNTQ_FF_RELEASE_INT_EN_8733B BIT(13)
#define BIT_FS_MGNTQFF_TO_INT_EN_8733B BIT(12)
#define BIT_FS_CPUMGQ_ERR_INT_EN_8733B BIT(11)
#define BIT_FS_HIOE_INT_EN_8733B BIT(10)
#define BIT_FS_DDMA0_LP_INT_EN_8733B BIT(9)
#define BIT_FS_DDMA0_HP_INT_EN_8733B BIT(8)
#define BIT_FS_TRXRPT_INT_EN_8733B BIT(7)
#define BIT_FS_C2H_W_READY_INT_EN_8733B BIT(6)
#define BIT_FS_HRCV_INT_EN_8733B BIT(5)
#define BIT_FS_H2CCMD_INT_EN_8733B BIT(4)
#define BIT_FS_TXPKTIN_P0_INT_EN_8733B BIT(3)
#define BIT_FS_ERRORHDL_INT_EN_8733B BIT(2)
#define BIT_FS_TXCCX_INT_EN_8733B BIT(1)
#define BIT_FS_TXCLOSE_INT_EN_8733B BIT(0)

/* 2 REG_FWISR_8733B	-FIRMWARE INTERRUPT STATUS REGISTER */
#define BIT_FS_TXBCNOK_MB7_INT_8733B BIT(31)
#define BIT_FS_TXBCNOK_MB6_INT_8733B BIT(30)
#define BIT_FS_TXBCNOK_MB5_INT_8733B BIT(29)
#define BIT_FS_TXBCNOK_MB4_INT_8733B BIT(28)
#define BIT_FS_TXBCNOK_MB3_INT_8733B BIT(27)
#define BIT_FS_TXBCNOK_MB2_INT_8733B BIT(26)
#define BIT_FS_TXBCNOK_MB1_INT_8733B BIT(25)
#define BIT_FS_TXBCNOK_MB0_INT_8733B BIT(24)
#define BIT_FS_TXBCNERR_MB7_INT_8733B BIT(23)
#define BIT_FS_TXBCNERR_MB6_INT_8733B BIT(22)
#define BIT_FS_TXBCNERR_MB5_INT_8733B BIT(21)
#define BIT_FS_TXBCNERR_MB4_INT_8733B BIT(20)
#define BIT_FS_TXBCNERR_MB3_INT_8733B BIT(19)
#define BIT_FS_TXBCNERR_MB2_INT_8733B BIT(18)
#define BIT_FS_TXBCNERR_MB1_INT_8733B BIT(17)
#define BIT_FS_TXBCNERR_MB0_INT_8733B BIT(16)
#define BIT_CPUMGN_POLLED_PKT_DONE_INT_8733B BIT(15)
#define BIT_FS_INT_IPSEC_8733B BIT(14)
#define BIT_FS_MGNTQ_FF_RELEASE_INT_8733B BIT(13)
#define BIT_FS_MGNTQFF_TO_INT_8733B BIT(12)
#define BIT_FS_CPUMGQ_ERR_INT_8733B BIT(11)
#define BIT_FS_HIOE_INT_8733B BIT(10)
#define BIT_FS_DDMA0_LP_INT_8733B BIT(9)
#define BIT_FS_DDMA0_HP_INT_8733B BIT(8)
#define BIT_FS_TRXRPT_INT_8733B BIT(7)
#define BIT_FS_C2H_W_READY_INT_8733B BIT(6)
#define BIT_FS_HRCV_INT_8733B BIT(5)
#define BIT_FS_H2CCMD_INT_8733B BIT(4)
#define BIT_FS_TXPKTIN_P0_INT_8733B BIT(3)
#define BIT_FS_ERRORHDL_INT_8733B BIT(2)
#define BIT_FS_TXCCX_INT_8733B BIT(1)
#define BIT_FS_TXCLOSE_INT_8733B BIT(0)

/* 2 REG_FTIMR_8733B	-FIRMWARE	TIMER INTERRUPT MASK REGISTER */
#define BIT_PS_TIMER_C_EARLY_INT_EN_8733B BIT(23)
#define BIT_PS_TIMER_B_EARLY_INT_EN_8733B BIT(22)
#define BIT_PS_TIMER_A_EARLY_INT_EN_8733B BIT(21)
#define BIT_CPUMGQ_TX_TIMER_EARLY_INT_EN_8733B BIT(20)
#define BIT_PS_TIMER_C_INT_EN_8733B BIT(19)
#define BIT_PS_TIMER_B_INT_EN_8733B BIT(18)
#define BIT_PS_TIMER_A_INT_EN_8733B BIT(17)
#define BIT_CPUMGQ_TX_TIMER_INT_EN_8733B BIT(16)
#define BIT_FS_PS_TIMEOUT2_EN_8733B BIT(15)
#define BIT_FS_PS_TIMEOUT1_EN_8733B BIT(14)
#define BIT_FS_PS_TIMEOUT0_EN_8733B BIT(13)
#define BIT_FS_GTINT6_EN_8733B BIT(6)
#define BIT_FS_GTINT5_EN_8733B BIT(5)
#define BIT_FS_GTINT4_EN_8733B BIT(4)
#define BIT_FS_GTINT3_EN_8733B BIT(3)
#define BIT_FS_GTINT2_EN_8733B BIT(2)
#define BIT_FS_GTINT1_EN_8733B BIT(1)
#define BIT_FS_GTINT0_EN_8733B BIT(0)

/* 2 REG_FTISR_8733B	-FIRMWARE TIMER INTERRUPT STATUS REGISTER */
#define BIT_PS_TIMER_C_EARLY_INT_8733B BIT(23)
#define BIT_PS_TIMER_B_EARLY_INT_8733B BIT(22)
#define BIT_PS_TIMER_A_EARLY_INT_8733B BIT(21)
#define BIT_CPUMGQ_TX_TIMER_EARLY_INT_8733B BIT(20)
#define BIT_PS_TIMER_C_INT_8733B BIT(19)
#define BIT_PS_TIMER_B_INT_8733B BIT(18)
#define BIT_PS_TIMER_A_INT_8733B BIT(17)
#define BIT_CPUMGQ_TX_TIMER_INT_8733B BIT(16)
#define BIT_FS_PS_TIMEOUT2_INT_8733B BIT(15)
#define BIT_FS_PS_TIMEOUT1_INT_8733B BIT(14)
#define BIT_FS_PS_TIMEOUT0_INT_8733B BIT(13)
#define BIT_FS_GTINT6_INT_8733B BIT(6)
#define BIT_FS_GTINT5_INT_8733B BIT(5)
#define BIT_FS_GTINT4_INT_8733B BIT(4)
#define BIT_FS_GTINT3_INT_8733B BIT(3)
#define BIT_FS_GTINT2_INT_8733B BIT(2)
#define BIT_FS_GTINT1_INT_8733B BIT(1)
#define BIT_FS_GTINT0_INT_8733B BIT(0)

/* 2 REG_PKTBUF_DBG_CTRL_8733B	-PKT FIFO DEBUG CONTROL */

#define BIT_SHIFT_PKTBUF_WRITE_EN_8733B 24
#define BIT_MASK_PKTBUF_WRITE_EN_8733B 0xff
#define BIT_PKTBUF_WRITE_EN_8733B(x) (((x) & BIT_MASK_PKTBUF_WRITE_EN_8733B) << BIT_SHIFT_PKTBUF_WRITE_EN_8733B)
#define BITS_PKTBUF_WRITE_EN_8733B (BIT_MASK_PKTBUF_WRITE_EN_8733B << BIT_SHIFT_PKTBUF_WRITE_EN_8733B)
#define BIT_CLEAR_PKTBUF_WRITE_EN_8733B(x) ((x) & (~BITS_PKTBUF_WRITE_EN_8733B))
#define BIT_GET_PKTBUF_WRITE_EN_8733B(x) (((x) >> BIT_SHIFT_PKTBUF_WRITE_EN_8733B) & BIT_MASK_PKTBUF_WRITE_EN_8733B)
#define BIT_SET_PKTBUF_WRITE_EN_8733B(x, v) (BIT_CLEAR_PKTBUF_WRITE_EN_8733B(x) | BIT_PKTBUF_WRITE_EN_8733B(v))

#define BIT_TXPKT_BUF_READ_EN_8733B BIT(23)
#define BIT_TXRPT_BUF_READ_EN_8733B BIT(20)
#define BIT_RXPKT_BUF_READ_EN_8733B BIT(16)
#define BIT_FIFO_DBG_EXT_8733B BIT(13)

#define BIT_SHIFT_FIFO_DBG_AD_8733B 0
#define BIT_MASK_FIFO_DBG_AD_8733B 0x1fff
#define BIT_FIFO_DBG_AD_8733B(x) (((x) & BIT_MASK_FIFO_DBG_AD_8733B) << BIT_SHIFT_FIFO_DBG_AD_8733B)
#define BITS_FIFO_DBG_AD_8733B (BIT_MASK_FIFO_DBG_AD_8733B << BIT_SHIFT_FIFO_DBG_AD_8733B)
#define BIT_CLEAR_FIFO_DBG_AD_8733B(x) ((x) & (~BITS_FIFO_DBG_AD_8733B))
#define BIT_GET_FIFO_DBG_AD_8733B(x) (((x) >> BIT_SHIFT_FIFO_DBG_AD_8733B) & BIT_MASK_FIFO_DBG_AD_8733B)
#define BIT_SET_FIFO_DBG_AD_8733B(x, v) (BIT_CLEAR_FIFO_DBG_AD_8733B(x) | BIT_FIFO_DBG_AD_8733B(v))

/* 2 REG_PKTBUF_DBG_DATA_L_8733B	-PKT FIFO DEBUG READ DATA */

#define BIT_SHIFT_PKTBUF_DBG_DATA_L_8733B 0
#define BIT_MASK_PKTBUF_DBG_DATA_L_8733B 0xffffffffL
#define BIT_PKTBUF_DBG_DATA_L_8733B(x) (((x) & BIT_MASK_PKTBUF_DBG_DATA_L_8733B) << BIT_SHIFT_PKTBUF_DBG_DATA_L_8733B)
#define BITS_PKTBUF_DBG_DATA_L_8733B (BIT_MASK_PKTBUF_DBG_DATA_L_8733B << BIT_SHIFT_PKTBUF_DBG_DATA_L_8733B)
#define BIT_CLEAR_PKTBUF_DBG_DATA_L_8733B(x) ((x) & (~BITS_PKTBUF_DBG_DATA_L_8733B))
#define BIT_GET_PKTBUF_DBG_DATA_L_8733B(x) (((x) >> BIT_SHIFT_PKTBUF_DBG_DATA_L_8733B) & BIT_MASK_PKTBUF_DBG_DATA_L_8733B)
#define BIT_SET_PKTBUF_DBG_DATA_L_8733B(x, v) (BIT_CLEAR_PKTBUF_DBG_DATA_L_8733B(x) | BIT_PKTBUF_DBG_DATA_L_8733B(v))

/* 2 REG_PKTBUF_DBG_DATA_H_8733B	-PKT FIFO DEBUG READ DATA */

#define BIT_SHIFT_PKTBUF_DBG_DATA__H_8733B 0
#define BIT_MASK_PKTBUF_DBG_DATA__H_8733B 0xffffffffL
#define BIT_PKTBUF_DBG_DATA__H_8733B(x) (((x) & BIT_MASK_PKTBUF_DBG_DATA__H_8733B) << BIT_SHIFT_PKTBUF_DBG_DATA__H_8733B)
#define BITS_PKTBUF_DBG_DATA__H_8733B (BIT_MASK_PKTBUF_DBG_DATA__H_8733B << BIT_SHIFT_PKTBUF_DBG_DATA__H_8733B)
#define BIT_CLEAR_PKTBUF_DBG_DATA__H_8733B(x) ((x) & (~BITS_PKTBUF_DBG_DATA__H_8733B))
#define BIT_GET_PKTBUF_DBG_DATA__H_8733B(x) (((x) >> BIT_SHIFT_PKTBUF_DBG_DATA__H_8733B) & BIT_MASK_PKTBUF_DBG_DATA__H_8733B)
#define BIT_SET_PKTBUF_DBG_DATA__H_8733B(x, v) (BIT_CLEAR_PKTBUF_DBG_DATA__H_8733B(x) | BIT_PKTBUF_DBG_DATA__H_8733B(v))

/* 2 REG_CPWM2_8733B	-REGISTER FOR HCPWM2 */

#define BIT_SHIFT_L0S_TO_RCVY_NUM_8733B 16
#define BIT_MASK_L0S_TO_RCVY_NUM_8733B 0xff
#define BIT_L0S_TO_RCVY_NUM_8733B(x) (((x) & BIT_MASK_L0S_TO_RCVY_NUM_8733B) << BIT_SHIFT_L0S_TO_RCVY_NUM_8733B)
#define BITS_L0S_TO_RCVY_NUM_8733B (BIT_MASK_L0S_TO_RCVY_NUM_8733B << BIT_SHIFT_L0S_TO_RCVY_NUM_8733B)
#define BIT_CLEAR_L0S_TO_RCVY_NUM_8733B(x) ((x) & (~BITS_L0S_TO_RCVY_NUM_8733B))
#define BIT_GET_L0S_TO_RCVY_NUM_8733B(x) (((x) >> BIT_SHIFT_L0S_TO_RCVY_NUM_8733B) & BIT_MASK_L0S_TO_RCVY_NUM_8733B)
#define BIT_SET_L0S_TO_RCVY_NUM_8733B(x, v) (BIT_CLEAR_L0S_TO_RCVY_NUM_8733B(x) | BIT_L0S_TO_RCVY_NUM_8733B(v))

#define BIT_CPWM2_TOGGLING_8733B BIT(15)

#define BIT_SHIFT_CPWM2_MOD_8733B 0
#define BIT_MASK_CPWM2_MOD_8733B 0x7fff
#define BIT_CPWM2_MOD_8733B(x) (((x) & BIT_MASK_CPWM2_MOD_8733B) << BIT_SHIFT_CPWM2_MOD_8733B)
#define BITS_CPWM2_MOD_8733B (BIT_MASK_CPWM2_MOD_8733B << BIT_SHIFT_CPWM2_MOD_8733B)
#define BIT_CLEAR_CPWM2_MOD_8733B(x) ((x) & (~BITS_CPWM2_MOD_8733B))
#define BIT_GET_CPWM2_MOD_8733B(x) (((x) >> BIT_SHIFT_CPWM2_MOD_8733B) & BIT_MASK_CPWM2_MOD_8733B)
#define BIT_SET_CPWM2_MOD_8733B(x, v) (BIT_CLEAR_CPWM2_MOD_8733B(x) | BIT_CPWM2_MOD_8733B(v))

/* 2 REG_TC0_CTRL_8733B	-COUNTER 0 DATA */
#define BIT_TC0INT_EN_8733B BIT(26)
#define BIT_TC0MODE_8733B BIT(25)
#define BIT_TC0EN_8733B BIT(24)

#define BIT_SHIFT_TC0DATA_8733B 0
#define BIT_MASK_TC0DATA_8733B 0xffffff
#define BIT_TC0DATA_8733B(x) (((x) & BIT_MASK_TC0DATA_8733B) << BIT_SHIFT_TC0DATA_8733B)
#define BITS_TC0DATA_8733B (BIT_MASK_TC0DATA_8733B << BIT_SHIFT_TC0DATA_8733B)
#define BIT_CLEAR_TC0DATA_8733B(x) ((x) & (~BITS_TC0DATA_8733B))
#define BIT_GET_TC0DATA_8733B(x) (((x) >> BIT_SHIFT_TC0DATA_8733B) & BIT_MASK_TC0DATA_8733B)
#define BIT_SET_TC0DATA_8733B(x, v) (BIT_CLEAR_TC0DATA_8733B(x) | BIT_TC0DATA_8733B(v))

/* 2 REG_TC1_CTRL_8733B	-COUNTER 1 DATA */
#define BIT_TC1INT_EN_8733B BIT(26)
#define BIT_TC1MODE_8733B BIT(25)
#define BIT_TC1EN_8733B BIT(24)

#define BIT_SHIFT_TC1DATA_8733B 0
#define BIT_MASK_TC1DATA_8733B 0xffffff
#define BIT_TC1DATA_8733B(x) (((x) & BIT_MASK_TC1DATA_8733B) << BIT_SHIFT_TC1DATA_8733B)
#define BITS_TC1DATA_8733B (BIT_MASK_TC1DATA_8733B << BIT_SHIFT_TC1DATA_8733B)
#define BIT_CLEAR_TC1DATA_8733B(x) ((x) & (~BITS_TC1DATA_8733B))
#define BIT_GET_TC1DATA_8733B(x) (((x) >> BIT_SHIFT_TC1DATA_8733B) & BIT_MASK_TC1DATA_8733B)
#define BIT_SET_TC1DATA_8733B(x, v) (BIT_CLEAR_TC1DATA_8733B(x) | BIT_TC1DATA_8733B(v))

/* 2 REG_TC2_CTRL_8733B	-COUNTER 2 DATA */
#define BIT_TC2INT_EN_8733B BIT(26)
#define BIT_TC2MODE_8733B BIT(25)
#define BIT_TC2EN_8733B BIT(24)

#define BIT_SHIFT_TC2DATA_8733B 0
#define BIT_MASK_TC2DATA_8733B 0xffffff
#define BIT_TC2DATA_8733B(x) (((x) & BIT_MASK_TC2DATA_8733B) << BIT_SHIFT_TC2DATA_8733B)
#define BITS_TC2DATA_8733B (BIT_MASK_TC2DATA_8733B << BIT_SHIFT_TC2DATA_8733B)
#define BIT_CLEAR_TC2DATA_8733B(x) ((x) & (~BITS_TC2DATA_8733B))
#define BIT_GET_TC2DATA_8733B(x) (((x) >> BIT_SHIFT_TC2DATA_8733B) & BIT_MASK_TC2DATA_8733B)
#define BIT_SET_TC2DATA_8733B(x, v) (BIT_CLEAR_TC2DATA_8733B(x) | BIT_TC2DATA_8733B(v))

/* 2 REG_TC3_CTRL_8733B	-COUNTER 3 DATA */
#define BIT_TC3INT_EN_8733B BIT(26)
#define BIT_TC3MODE_8733B BIT(25)
#define BIT_TC3EN_8733B BIT(24)

#define BIT_SHIFT_TC3DATA_8733B 0
#define BIT_MASK_TC3DATA_8733B 0xffffff
#define BIT_TC3DATA_8733B(x) (((x) & BIT_MASK_TC3DATA_8733B) << BIT_SHIFT_TC3DATA_8733B)
#define BITS_TC3DATA_8733B (BIT_MASK_TC3DATA_8733B << BIT_SHIFT_TC3DATA_8733B)
#define BIT_CLEAR_TC3DATA_8733B(x) ((x) & (~BITS_TC3DATA_8733B))
#define BIT_GET_TC3DATA_8733B(x) (((x) >> BIT_SHIFT_TC3DATA_8733B) & BIT_MASK_TC3DATA_8733B)
#define BIT_SET_TC3DATA_8733B(x, v) (BIT_CLEAR_TC3DATA_8733B(x) | BIT_TC3DATA_8733B(v))

/* 2 REG_TC4_CTRL_8733B	-COUNTER 4 DATA */
#define BIT_TC4INT_EN_8733B BIT(26)
#define BIT_TC4MODE_8733B BIT(25)
#define BIT_TC4EN_8733B BIT(24)

#define BIT_SHIFT_TC4DATA_8733B 0
#define BIT_MASK_TC4DATA_8733B 0xffffff
#define BIT_TC4DATA_8733B(x) (((x) & BIT_MASK_TC4DATA_8733B) << BIT_SHIFT_TC4DATA_8733B)
#define BITS_TC4DATA_8733B (BIT_MASK_TC4DATA_8733B << BIT_SHIFT_TC4DATA_8733B)
#define BIT_CLEAR_TC4DATA_8733B(x) ((x) & (~BITS_TC4DATA_8733B))
#define BIT_GET_TC4DATA_8733B(x) (((x) >> BIT_SHIFT_TC4DATA_8733B) & BIT_MASK_TC4DATA_8733B)
#define BIT_SET_TC4DATA_8733B(x, v) (BIT_CLEAR_TC4DATA_8733B(x) | BIT_TC4DATA_8733B(v))

/* 2 REG_TCUNIT_BASE_8733B	-CONTROL REGISTER */

#define BIT_SHIFT_TC_UNIT_BASE_8733B 0
#define BIT_MASK_TC_UNIT_BASE_8733B 0x3fff
#define BIT_TC_UNIT_BASE_8733B(x) (((x) & BIT_MASK_TC_UNIT_BASE_8733B) << BIT_SHIFT_TC_UNIT_BASE_8733B)
#define BITS_TC_UNIT_BASE_8733B (BIT_MASK_TC_UNIT_BASE_8733B << BIT_SHIFT_TC_UNIT_BASE_8733B)
#define BIT_CLEAR_TC_UNIT_BASE_8733B(x) ((x) & (~BITS_TC_UNIT_BASE_8733B))
#define BIT_GET_TC_UNIT_BASE_8733B(x) (((x) >> BIT_SHIFT_TC_UNIT_BASE_8733B) & BIT_MASK_TC_UNIT_BASE_8733B)
#define BIT_SET_TC_UNIT_BASE_8733B(x, v) (BIT_CLEAR_TC_UNIT_BASE_8733B(x) | BIT_TC_UNIT_BASE_8733B(v))

/* 2 REG_TC5_CTRL_8733B	-COUNTER 5 DATA */
#define BIT_TC50INT_EN_8733B BIT(26)
#define BIT_TC5MODE_8733B BIT(25)
#define BIT_TC5EN_8733B BIT(24)

#define BIT_SHIFT_TC5DATA_8733B 0
#define BIT_MASK_TC5DATA_8733B 0xffffff
#define BIT_TC5DATA_8733B(x) (((x) & BIT_MASK_TC5DATA_8733B) << BIT_SHIFT_TC5DATA_8733B)
#define BITS_TC5DATA_8733B (BIT_MASK_TC5DATA_8733B << BIT_SHIFT_TC5DATA_8733B)
#define BIT_CLEAR_TC5DATA_8733B(x) ((x) & (~BITS_TC5DATA_8733B))
#define BIT_GET_TC5DATA_8733B(x) (((x) >> BIT_SHIFT_TC5DATA_8733B) & BIT_MASK_TC5DATA_8733B)
#define BIT_SET_TC5DATA_8733B(x, v) (BIT_CLEAR_TC5DATA_8733B(x) | BIT_TC5DATA_8733B(v))

/* 2 REG_TC6_CTRL_8733B	-COUNTER 6 DATA */
#define BIT_TC60INT_EN_8733B BIT(26)
#define BIT_TC6MODE_8733B BIT(25)
#define BIT_TC6EN_8733B BIT(24)

#define BIT_SHIFT_TC6DATA_8733B 0
#define BIT_MASK_TC6DATA_8733B 0xffffff
#define BIT_TC6DATA_8733B(x) (((x) & BIT_MASK_TC6DATA_8733B) << BIT_SHIFT_TC6DATA_8733B)
#define BITS_TC6DATA_8733B (BIT_MASK_TC6DATA_8733B << BIT_SHIFT_TC6DATA_8733B)
#define BIT_CLEAR_TC6DATA_8733B(x) ((x) & (~BITS_TC6DATA_8733B))
#define BIT_GET_TC6DATA_8733B(x) (((x) >> BIT_SHIFT_TC6DATA_8733B) & BIT_MASK_TC6DATA_8733B)
#define BIT_SET_TC6DATA_8733B(x, v) (BIT_CLEAR_TC6DATA_8733B(x) | BIT_TC6DATA_8733B(v))

/* 2 REG_MBIST_DRF_FAIL_V1_8733B */

#define BIT_SHIFT_8051_MBIST_FAIL_8733B 26
#define BIT_MASK_8051_MBIST_FAIL_8733B 0x7
#define BIT_8051_MBIST_FAIL_8733B(x) (((x) & BIT_MASK_8051_MBIST_FAIL_8733B) << BIT_SHIFT_8051_MBIST_FAIL_8733B)
#define BITS_8051_MBIST_FAIL_8733B (BIT_MASK_8051_MBIST_FAIL_8733B << BIT_SHIFT_8051_MBIST_FAIL_8733B)
#define BIT_CLEAR_8051_MBIST_FAIL_8733B(x) ((x) & (~BITS_8051_MBIST_FAIL_8733B))
#define BIT_GET_8051_MBIST_FAIL_8733B(x) (((x) >> BIT_SHIFT_8051_MBIST_FAIL_8733B) & BIT_MASK_8051_MBIST_FAIL_8733B)
#define BIT_SET_8051_MBIST_FAIL_8733B(x, v) (BIT_CLEAR_8051_MBIST_FAIL_8733B(x) | BIT_8051_MBIST_FAIL_8733B(v))

#define BIT_SHIFT_USB_MBIST_FAIL_8733B 24
#define BIT_MASK_USB_MBIST_FAIL_8733B 0x3
#define BIT_USB_MBIST_FAIL_8733B(x) (((x) & BIT_MASK_USB_MBIST_FAIL_8733B) << BIT_SHIFT_USB_MBIST_FAIL_8733B)
#define BITS_USB_MBIST_FAIL_8733B (BIT_MASK_USB_MBIST_FAIL_8733B << BIT_SHIFT_USB_MBIST_FAIL_8733B)
#define BIT_CLEAR_USB_MBIST_FAIL_8733B(x) ((x) & (~BITS_USB_MBIST_FAIL_8733B))
#define BIT_GET_USB_MBIST_FAIL_8733B(x) (((x) >> BIT_SHIFT_USB_MBIST_FAIL_8733B) & BIT_MASK_USB_MBIST_FAIL_8733B)
#define BIT_SET_USB_MBIST_FAIL_8733B(x, v) (BIT_CLEAR_USB_MBIST_FAIL_8733B(x) | BIT_USB_MBIST_FAIL_8733B(v))

#define BIT_SHIFT_PCIE_MBIST_FAIL_8733B 16
#define BIT_MASK_PCIE_MBIST_FAIL_8733B 0x3f
#define BIT_PCIE_MBIST_FAIL_8733B(x) (((x) & BIT_MASK_PCIE_MBIST_FAIL_8733B) << BIT_SHIFT_PCIE_MBIST_FAIL_8733B)
#define BITS_PCIE_MBIST_FAIL_8733B (BIT_MASK_PCIE_MBIST_FAIL_8733B << BIT_SHIFT_PCIE_MBIST_FAIL_8733B)
#define BIT_CLEAR_PCIE_MBIST_FAIL_8733B(x) ((x) & (~BITS_PCIE_MBIST_FAIL_8733B))
#define BIT_GET_PCIE_MBIST_FAIL_8733B(x) (((x) >> BIT_SHIFT_PCIE_MBIST_FAIL_8733B) & BIT_MASK_PCIE_MBIST_FAIL_8733B)
#define BIT_SET_PCIE_MBIST_FAIL_8733B(x, v) (BIT_CLEAR_PCIE_MBIST_FAIL_8733B(x) | BIT_PCIE_MBIST_FAIL_8733B(v))

#define BIT_SHIFT_MAC_MBIST_FAIL_8733B 0
#define BIT_MASK_MAC_MBIST_FAIL_8733B 0x3fff
#define BIT_MAC_MBIST_FAIL_8733B(x) (((x) & BIT_MASK_MAC_MBIST_FAIL_8733B) << BIT_SHIFT_MAC_MBIST_FAIL_8733B)
#define BITS_MAC_MBIST_FAIL_8733B (BIT_MASK_MAC_MBIST_FAIL_8733B << BIT_SHIFT_MAC_MBIST_FAIL_8733B)
#define BIT_CLEAR_MAC_MBIST_FAIL_8733B(x) ((x) & (~BITS_MAC_MBIST_FAIL_8733B))
#define BIT_GET_MAC_MBIST_FAIL_8733B(x) (((x) >> BIT_SHIFT_MAC_MBIST_FAIL_8733B) & BIT_MASK_MAC_MBIST_FAIL_8733B)
#define BIT_SET_MAC_MBIST_FAIL_8733B(x, v) (BIT_CLEAR_MAC_MBIST_FAIL_8733B(x) | BIT_MAC_MBIST_FAIL_8733B(v))

/* 2 REG_MBIST_START_PAUSE_V1_8733B	-MACTOP MEMORY BIST START PAUSE */

#define BIT_SHIFT_8051_MBIST_START_PAUSE_8733B 26
#define BIT_MASK_8051_MBIST_START_PAUSE_8733B 0x7
#define BIT_8051_MBIST_START_PAUSE_8733B(x) (((x) & BIT_MASK_8051_MBIST_START_PAUSE_8733B) << BIT_SHIFT_8051_MBIST_START_PAUSE_8733B)
#define BITS_8051_MBIST_START_PAUSE_8733B (BIT_MASK_8051_MBIST_START_PAUSE_8733B << BIT_SHIFT_8051_MBIST_START_PAUSE_8733B)
#define BIT_CLEAR_8051_MBIST_START_PAUSE_8733B(x) ((x) & (~BITS_8051_MBIST_START_PAUSE_8733B))
#define BIT_GET_8051_MBIST_START_PAUSE_8733B(x) (((x) >> BIT_SHIFT_8051_MBIST_START_PAUSE_8733B) & BIT_MASK_8051_MBIST_START_PAUSE_8733B)
#define BIT_SET_8051_MBIST_START_PAUSE_8733B(x, v) (BIT_CLEAR_8051_MBIST_START_PAUSE_8733B(x) | BIT_8051_MBIST_START_PAUSE_8733B(v))

#define BIT_SHIFT_USB_MBIST_START_PAUSE_8733B 24
#define BIT_MASK_USB_MBIST_START_PAUSE_8733B 0x3
#define BIT_USB_MBIST_START_PAUSE_8733B(x) (((x) & BIT_MASK_USB_MBIST_START_PAUSE_8733B) << BIT_SHIFT_USB_MBIST_START_PAUSE_8733B)
#define BITS_USB_MBIST_START_PAUSE_8733B (BIT_MASK_USB_MBIST_START_PAUSE_8733B << BIT_SHIFT_USB_MBIST_START_PAUSE_8733B)
#define BIT_CLEAR_USB_MBIST_START_PAUSE_8733B(x) ((x) & (~BITS_USB_MBIST_START_PAUSE_8733B))
#define BIT_GET_USB_MBIST_START_PAUSE_8733B(x) (((x) >> BIT_SHIFT_USB_MBIST_START_PAUSE_8733B) & BIT_MASK_USB_MBIST_START_PAUSE_8733B)
#define BIT_SET_USB_MBIST_START_PAUSE_8733B(x, v) (BIT_CLEAR_USB_MBIST_START_PAUSE_8733B(x) | BIT_USB_MBIST_START_PAUSE_8733B(v))

#define BIT_SHIFT_PCIE_MBIST_START_PAUSE_8733B 16
#define BIT_MASK_PCIE_MBIST_START_PAUSE_8733B 0x3f
#define BIT_PCIE_MBIST_START_PAUSE_8733B(x) (((x) & BIT_MASK_PCIE_MBIST_START_PAUSE_8733B) << BIT_SHIFT_PCIE_MBIST_START_PAUSE_8733B)
#define BITS_PCIE_MBIST_START_PAUSE_8733B (BIT_MASK_PCIE_MBIST_START_PAUSE_8733B << BIT_SHIFT_PCIE_MBIST_START_PAUSE_8733B)
#define BIT_CLEAR_PCIE_MBIST_START_PAUSE_8733B(x) ((x) & (~BITS_PCIE_MBIST_START_PAUSE_8733B))
#define BIT_GET_PCIE_MBIST_START_PAUSE_8733B(x) (((x) >> BIT_SHIFT_PCIE_MBIST_START_PAUSE_8733B) & BIT_MASK_PCIE_MBIST_START_PAUSE_8733B)
#define BIT_SET_PCIE_MBIST_START_PAUSE_8733B(x, v) (BIT_CLEAR_PCIE_MBIST_START_PAUSE_8733B(x) | BIT_PCIE_MBIST_START_PAUSE_8733B(v))

#define BIT_SHIFT_MAC_MBIST_START_PAUSE_8733B 0
#define BIT_MASK_MAC_MBIST_START_PAUSE_8733B 0xfff
#define BIT_MAC_MBIST_START_PAUSE_8733B(x) (((x) & BIT_MASK_MAC_MBIST_START_PAUSE_8733B) << BIT_SHIFT_MAC_MBIST_START_PAUSE_8733B)
#define BITS_MAC_MBIST_START_PAUSE_8733B (BIT_MASK_MAC_MBIST_START_PAUSE_8733B << BIT_SHIFT_MAC_MBIST_START_PAUSE_8733B)
#define BIT_CLEAR_MAC_MBIST_START_PAUSE_8733B(x) ((x) & (~BITS_MAC_MBIST_START_PAUSE_8733B))
#define BIT_GET_MAC_MBIST_START_PAUSE_8733B(x) (((x) >> BIT_SHIFT_MAC_MBIST_START_PAUSE_8733B) & BIT_MASK_MAC_MBIST_START_PAUSE_8733B)
#define BIT_SET_MAC_MBIST_START_PAUSE_8733B(x, v) (BIT_CLEAR_MAC_MBIST_START_PAUSE_8733B(x) | BIT_MAC_MBIST_START_PAUSE_8733B(v))

/* 2 REG_MBIST_DONE_V1_8733B	-MACTOP MEMORY BIST DNOE */

#define BIT_SHIFT_8051_MBIST_DONE_8733B 26
#define BIT_MASK_8051_MBIST_DONE_8733B 0x7
#define BIT_8051_MBIST_DONE_8733B(x) (((x) & BIT_MASK_8051_MBIST_DONE_8733B) << BIT_SHIFT_8051_MBIST_DONE_8733B)
#define BITS_8051_MBIST_DONE_8733B (BIT_MASK_8051_MBIST_DONE_8733B << BIT_SHIFT_8051_MBIST_DONE_8733B)
#define BIT_CLEAR_8051_MBIST_DONE_8733B(x) ((x) & (~BITS_8051_MBIST_DONE_8733B))
#define BIT_GET_8051_MBIST_DONE_8733B(x) (((x) >> BIT_SHIFT_8051_MBIST_DONE_8733B) & BIT_MASK_8051_MBIST_DONE_8733B)
#define BIT_SET_8051_MBIST_DONE_8733B(x, v) (BIT_CLEAR_8051_MBIST_DONE_8733B(x) | BIT_8051_MBIST_DONE_8733B(v))

#define BIT_SHIFT_USB_MBIST_DONE_8733B 24
#define BIT_MASK_USB_MBIST_DONE_8733B 0x3
#define BIT_USB_MBIST_DONE_8733B(x) (((x) & BIT_MASK_USB_MBIST_DONE_8733B) << BIT_SHIFT_USB_MBIST_DONE_8733B)
#define BITS_USB_MBIST_DONE_8733B (BIT_MASK_USB_MBIST_DONE_8733B << BIT_SHIFT_USB_MBIST_DONE_8733B)
#define BIT_CLEAR_USB_MBIST_DONE_8733B(x) ((x) & (~BITS_USB_MBIST_DONE_8733B))
#define BIT_GET_USB_MBIST_DONE_8733B(x) (((x) >> BIT_SHIFT_USB_MBIST_DONE_8733B) & BIT_MASK_USB_MBIST_DONE_8733B)
#define BIT_SET_USB_MBIST_DONE_8733B(x, v) (BIT_CLEAR_USB_MBIST_DONE_8733B(x) | BIT_USB_MBIST_DONE_8733B(v))

#define BIT_SHIFT_PCIE_MBIST_DONE_8733B 16
#define BIT_MASK_PCIE_MBIST_DONE_8733B 0x3f
#define BIT_PCIE_MBIST_DONE_8733B(x) (((x) & BIT_MASK_PCIE_MBIST_DONE_8733B) << BIT_SHIFT_PCIE_MBIST_DONE_8733B)
#define BITS_PCIE_MBIST_DONE_8733B (BIT_MASK_PCIE_MBIST_DONE_8733B << BIT_SHIFT_PCIE_MBIST_DONE_8733B)
#define BIT_CLEAR_PCIE_MBIST_DONE_8733B(x) ((x) & (~BITS_PCIE_MBIST_DONE_8733B))
#define BIT_GET_PCIE_MBIST_DONE_8733B(x) (((x) >> BIT_SHIFT_PCIE_MBIST_DONE_8733B) & BIT_MASK_PCIE_MBIST_DONE_8733B)
#define BIT_SET_PCIE_MBIST_DONE_8733B(x, v) (BIT_CLEAR_PCIE_MBIST_DONE_8733B(x) | BIT_PCIE_MBIST_DONE_8733B(v))

#define BIT_SHIFT_MAC_MBIST_DONE_8733B 0
#define BIT_MASK_MAC_MBIST_DONE_8733B 0xfff
#define BIT_MAC_MBIST_DONE_8733B(x) (((x) & BIT_MASK_MAC_MBIST_DONE_8733B) << BIT_SHIFT_MAC_MBIST_DONE_8733B)
#define BITS_MAC_MBIST_DONE_8733B (BIT_MASK_MAC_MBIST_DONE_8733B << BIT_SHIFT_MAC_MBIST_DONE_8733B)
#define BIT_CLEAR_MAC_MBIST_DONE_8733B(x) ((x) & (~BITS_MAC_MBIST_DONE_8733B))
#define BIT_GET_MAC_MBIST_DONE_8733B(x) (((x) >> BIT_SHIFT_MAC_MBIST_DONE_8733B) & BIT_MASK_MAC_MBIST_DONE_8733B)
#define BIT_SET_MAC_MBIST_DONE_8733B(x, v) (BIT_CLEAR_MAC_MBIST_DONE_8733B(x) | BIT_MAC_MBIST_DONE_8733B(v))

/* 2 REG_MBIST_FAIL_NRML_V1_8733B	-MACTOP MEMORY BIST FAIL */

#define BIT_SHIFT_8051_MBIST_NMRL_FAIL_8733B 26
#define BIT_MASK_8051_MBIST_NMRL_FAIL_8733B 0x7
#define BIT_8051_MBIST_NMRL_FAIL_8733B(x) (((x) & BIT_MASK_8051_MBIST_NMRL_FAIL_8733B) << BIT_SHIFT_8051_MBIST_NMRL_FAIL_8733B)
#define BITS_8051_MBIST_NMRL_FAIL_8733B (BIT_MASK_8051_MBIST_NMRL_FAIL_8733B << BIT_SHIFT_8051_MBIST_NMRL_FAIL_8733B)
#define BIT_CLEAR_8051_MBIST_NMRL_FAIL_8733B(x) ((x) & (~BITS_8051_MBIST_NMRL_FAIL_8733B))
#define BIT_GET_8051_MBIST_NMRL_FAIL_8733B(x) (((x) >> BIT_SHIFT_8051_MBIST_NMRL_FAIL_8733B) & BIT_MASK_8051_MBIST_NMRL_FAIL_8733B)
#define BIT_SET_8051_MBIST_NMRL_FAIL_8733B(x, v) (BIT_CLEAR_8051_MBIST_NMRL_FAIL_8733B(x) | BIT_8051_MBIST_NMRL_FAIL_8733B(v))

#define BIT_SHIFT_USB_MBIST_NMRL_FAIL_8733B 24
#define BIT_MASK_USB_MBIST_NMRL_FAIL_8733B 0x3
#define BIT_USB_MBIST_NMRL_FAIL_8733B(x) (((x) & BIT_MASK_USB_MBIST_NMRL_FAIL_8733B) << BIT_SHIFT_USB_MBIST_NMRL_FAIL_8733B)
#define BITS_USB_MBIST_NMRL_FAIL_8733B (BIT_MASK_USB_MBIST_NMRL_FAIL_8733B << BIT_SHIFT_USB_MBIST_NMRL_FAIL_8733B)
#define BIT_CLEAR_USB_MBIST_NMRL_FAIL_8733B(x) ((x) & (~BITS_USB_MBIST_NMRL_FAIL_8733B))
#define BIT_GET_USB_MBIST_NMRL_FAIL_8733B(x) (((x) >> BIT_SHIFT_USB_MBIST_NMRL_FAIL_8733B) & BIT_MASK_USB_MBIST_NMRL_FAIL_8733B)
#define BIT_SET_USB_MBIST_NMRL_FAIL_8733B(x, v) (BIT_CLEAR_USB_MBIST_NMRL_FAIL_8733B(x) | BIT_USB_MBIST_NMRL_FAIL_8733B(v))

#define BIT_SHIFT_PCIE_MBIST_NMRL_FAIL_8733B 16
#define BIT_MASK_PCIE_MBIST_NMRL_FAIL_8733B 0x3f
#define BIT_PCIE_MBIST_NMRL_FAIL_8733B(x) (((x) & BIT_MASK_PCIE_MBIST_NMRL_FAIL_8733B) << BIT_SHIFT_PCIE_MBIST_NMRL_FAIL_8733B)
#define BITS_PCIE_MBIST_NMRL_FAIL_8733B (BIT_MASK_PCIE_MBIST_NMRL_FAIL_8733B << BIT_SHIFT_PCIE_MBIST_NMRL_FAIL_8733B)
#define BIT_CLEAR_PCIE_MBIST_NMRL_FAIL_8733B(x) ((x) & (~BITS_PCIE_MBIST_NMRL_FAIL_8733B))
#define BIT_GET_PCIE_MBIST_NMRL_FAIL_8733B(x) (((x) >> BIT_SHIFT_PCIE_MBIST_NMRL_FAIL_8733B) & BIT_MASK_PCIE_MBIST_NMRL_FAIL_8733B)
#define BIT_SET_PCIE_MBIST_NMRL_FAIL_8733B(x, v) (BIT_CLEAR_PCIE_MBIST_NMRL_FAIL_8733B(x) | BIT_PCIE_MBIST_NMRL_FAIL_8733B(v))

#define BIT_SHIFT_MAC_MBIST_NMRL_FAIL_8733B 0
#define BIT_MASK_MAC_MBIST_NMRL_FAIL_8733B 0x3fff
#define BIT_MAC_MBIST_NMRL_FAIL_8733B(x) (((x) & BIT_MASK_MAC_MBIST_NMRL_FAIL_8733B) << BIT_SHIFT_MAC_MBIST_NMRL_FAIL_8733B)
#define BITS_MAC_MBIST_NMRL_FAIL_8733B (BIT_MASK_MAC_MBIST_NMRL_FAIL_8733B << BIT_SHIFT_MAC_MBIST_NMRL_FAIL_8733B)
#define BIT_CLEAR_MAC_MBIST_NMRL_FAIL_8733B(x) ((x) & (~BITS_MAC_MBIST_NMRL_FAIL_8733B))
#define BIT_GET_MAC_MBIST_NMRL_FAIL_8733B(x) (((x) >> BIT_SHIFT_MAC_MBIST_NMRL_FAIL_8733B) & BIT_MASK_MAC_MBIST_NMRL_FAIL_8733B)
#define BIT_SET_MAC_MBIST_NMRL_FAIL_8733B(x, v) (BIT_CLEAR_MAC_MBIST_NMRL_FAIL_8733B(x) | BIT_MAC_MBIST_NMRL_FAIL_8733B(v))

/* 2 REG_AES_DECRPT_DATA_8733B	-IPS CONFIG CONTROL REGISTER */

#define BIT_SHIFT_IPS_CFG_ADDR_8733B 0
#define BIT_MASK_IPS_CFG_ADDR_8733B 0xff
#define BIT_IPS_CFG_ADDR_8733B(x) (((x) & BIT_MASK_IPS_CFG_ADDR_8733B) << BIT_SHIFT_IPS_CFG_ADDR_8733B)
#define BITS_IPS_CFG_ADDR_8733B (BIT_MASK_IPS_CFG_ADDR_8733B << BIT_SHIFT_IPS_CFG_ADDR_8733B)
#define BIT_CLEAR_IPS_CFG_ADDR_8733B(x) ((x) & (~BITS_IPS_CFG_ADDR_8733B))
#define BIT_GET_IPS_CFG_ADDR_8733B(x) (((x) >> BIT_SHIFT_IPS_CFG_ADDR_8733B) & BIT_MASK_IPS_CFG_ADDR_8733B)
#define BIT_SET_IPS_CFG_ADDR_8733B(x, v) (BIT_CLEAR_IPS_CFG_ADDR_8733B(x) | BIT_IPS_CFG_ADDR_8733B(v))

/* 2 REG_AES_DECRPT_CFG_8733B	-IPS CONFIG REGISTER READ/WRITE DATA */

#define BIT_SHIFT_IPS_CFGWD_8733B 0
#define BIT_MASK_IPS_CFGWD_8733B 0xffffffffL
#define BIT_IPS_CFGWD_8733B(x) (((x) & BIT_MASK_IPS_CFGWD_8733B) << BIT_SHIFT_IPS_CFGWD_8733B)
#define BITS_IPS_CFGWD_8733B (BIT_MASK_IPS_CFGWD_8733B << BIT_SHIFT_IPS_CFGWD_8733B)
#define BIT_CLEAR_IPS_CFGWD_8733B(x) ((x) & (~BITS_IPS_CFGWD_8733B))
#define BIT_GET_IPS_CFGWD_8733B(x) (((x) >> BIT_SHIFT_IPS_CFGWD_8733B) & BIT_MASK_IPS_CFGWD_8733B)
#define BIT_SET_IPS_CFGWD_8733B(x, v) (BIT_CLEAR_IPS_CFGWD_8733B(x) | BIT_IPS_CFGWD_8733B(v))

/* 2 REG_NOT_VALID_8733B */

#define BIT_SHIFT_MACREG_READ_BIST_RPT_8733B 0
#define BIT_MASK_MACREG_READ_BIST_RPT_8733B 0xffffffffL
#define BIT_MACREG_READ_BIST_RPT_8733B(x) (((x) & BIT_MASK_MACREG_READ_BIST_RPT_8733B) << BIT_SHIFT_MACREG_READ_BIST_RPT_8733B)
#define BITS_MACREG_READ_BIST_RPT_8733B (BIT_MASK_MACREG_READ_BIST_RPT_8733B << BIT_SHIFT_MACREG_READ_BIST_RPT_8733B)
#define BIT_CLEAR_MACREG_READ_BIST_RPT_8733B(x) ((x) & (~BITS_MACREG_READ_BIST_RPT_8733B))
#define BIT_GET_MACREG_READ_BIST_RPT_8733B(x) (((x) >> BIT_SHIFT_MACREG_READ_BIST_RPT_8733B) & BIT_MASK_MACREG_READ_BIST_RPT_8733B)
#define BIT_SET_MACREG_READ_BIST_RPT_8733B(x, v) (BIT_CLEAR_MACREG_READ_BIST_RPT_8733B(x) | BIT_MACREG_READ_BIST_RPT_8733B(v))

/* 2 REG_MACCLKFRQ_8733B	-MAC CLK FREQUENCY VALUE REGISTER FOR 32K CIRCUIT */

#define BIT_SHIFT_MACCLK_FREQ_L32_8733B 0
#define BIT_MASK_MACCLK_FREQ_L32_8733B 0xffffffffL
#define BIT_MACCLK_FREQ_L32_8733B(x) (((x) & BIT_MASK_MACCLK_FREQ_L32_8733B) << BIT_SHIFT_MACCLK_FREQ_L32_8733B)
#define BITS_MACCLK_FREQ_L32_8733B (BIT_MASK_MACCLK_FREQ_L32_8733B << BIT_SHIFT_MACCLK_FREQ_L32_8733B)
#define BIT_CLEAR_MACCLK_FREQ_L32_8733B(x) ((x) & (~BITS_MACCLK_FREQ_L32_8733B))
#define BIT_GET_MACCLK_FREQ_L32_8733B(x) (((x) >> BIT_SHIFT_MACCLK_FREQ_L32_8733B) & BIT_MASK_MACCLK_FREQ_L32_8733B)
#define BIT_SET_MACCLK_FREQ_L32_8733B(x, v) (BIT_CLEAR_MACCLK_FREQ_L32_8733B(x) | BIT_MACCLK_FREQ_L32_8733B(v))

/* 2 REG_TMETER_8733B	-TEMPERATURE METER CONTROL REGISTER */

#define BIT_SHIFT_NCO_OUTCLK_FRQ_8733B 12
#define BIT_MASK_NCO_OUTCLK_FRQ_8733B 0xfffff
#define BIT_NCO_OUTCLK_FRQ_8733B(x) (((x) & BIT_MASK_NCO_OUTCLK_FRQ_8733B) << BIT_SHIFT_NCO_OUTCLK_FRQ_8733B)
#define BITS_NCO_OUTCLK_FRQ_8733B (BIT_MASK_NCO_OUTCLK_FRQ_8733B << BIT_SHIFT_NCO_OUTCLK_FRQ_8733B)
#define BIT_CLEAR_NCO_OUTCLK_FRQ_8733B(x) ((x) & (~BITS_NCO_OUTCLK_FRQ_8733B))
#define BIT_GET_NCO_OUTCLK_FRQ_8733B(x) (((x) >> BIT_SHIFT_NCO_OUTCLK_FRQ_8733B) & BIT_MASK_NCO_OUTCLK_FRQ_8733B)
#define BIT_SET_NCO_OUTCLK_FRQ_8733B(x, v) (BIT_CLEAR_NCO_OUTCLK_FRQ_8733B(x) | BIT_NCO_OUTCLK_FRQ_8733B(v))

#define BIT_SHIFT_MACCLK_FRQ_HIGH10_8733B 0
#define BIT_MASK_MACCLK_FRQ_HIGH10_8733B 0x3ff
#define BIT_MACCLK_FRQ_HIGH10_8733B(x) (((x) & BIT_MASK_MACCLK_FRQ_HIGH10_8733B) << BIT_SHIFT_MACCLK_FRQ_HIGH10_8733B)
#define BITS_MACCLK_FRQ_HIGH10_8733B (BIT_MASK_MACCLK_FRQ_HIGH10_8733B << BIT_SHIFT_MACCLK_FRQ_HIGH10_8733B)
#define BIT_CLEAR_MACCLK_FRQ_HIGH10_8733B(x) ((x) & (~BITS_MACCLK_FRQ_HIGH10_8733B))
#define BIT_GET_MACCLK_FRQ_HIGH10_8733B(x) (((x) >> BIT_SHIFT_MACCLK_FRQ_HIGH10_8733B) & BIT_MASK_MACCLK_FRQ_HIGH10_8733B)
#define BIT_SET_MACCLK_FRQ_HIGH10_8733B(x, v) (BIT_CLEAR_MACCLK_FRQ_HIGH10_8733B(x) | BIT_MACCLK_FRQ_HIGH10_8733B(v))

/* 2 REG_OSC_32K_CTRL_8733B */
#define BIT_RDY_32K_CLK_8733B BIT(12)

#define BIT_SHIFT_MONITOR_CYCLE_LOG2_8733B 8
#define BIT_MASK_MONITOR_CYCLE_LOG2_8733B 0xf
#define BIT_MONITOR_CYCLE_LOG2_8733B(x) (((x) & BIT_MASK_MONITOR_CYCLE_LOG2_8733B) << BIT_SHIFT_MONITOR_CYCLE_LOG2_8733B)
#define BITS_MONITOR_CYCLE_LOG2_8733B (BIT_MASK_MONITOR_CYCLE_LOG2_8733B << BIT_SHIFT_MONITOR_CYCLE_LOG2_8733B)
#define BIT_CLEAR_MONITOR_CYCLE_LOG2_8733B(x) ((x) & (~BITS_MONITOR_CYCLE_LOG2_8733B))
#define BIT_GET_MONITOR_CYCLE_LOG2_8733B(x) (((x) >> BIT_SHIFT_MONITOR_CYCLE_LOG2_8733B) & BIT_MASK_MONITOR_CYCLE_LOG2_8733B)
#define BIT_SET_MONITOR_CYCLE_LOG2_8733B(x, v) (BIT_CLEAR_MONITOR_CYCLE_LOG2_8733B(x) | BIT_MONITOR_CYCLE_LOG2_8733B(v))

/* 2 REG_32K_CAL_REG0_8733B */

#define BIT_SHIFT_FREQ_UNREGCLK_8733B 8
#define BIT_MASK_FREQ_UNREGCLK_8733B 0xffffff
#define BIT_FREQ_UNREGCLK_8733B(x) (((x) & BIT_MASK_FREQ_UNREGCLK_8733B) << BIT_SHIFT_FREQ_UNREGCLK_8733B)
#define BITS_FREQ_UNREGCLK_8733B (BIT_MASK_FREQ_UNREGCLK_8733B << BIT_SHIFT_FREQ_UNREGCLK_8733B)
#define BIT_CLEAR_FREQ_UNREGCLK_8733B(x) ((x) & (~BITS_FREQ_UNREGCLK_8733B))
#define BIT_GET_FREQ_UNREGCLK_8733B(x) (((x) >> BIT_SHIFT_FREQ_UNREGCLK_8733B) & BIT_MASK_FREQ_UNREGCLK_8733B)
#define BIT_SET_FREQ_UNREGCLK_8733B(x, v) (BIT_CLEAR_FREQ_UNREGCLK_8733B(x) | BIT_FREQ_UNREGCLK_8733B(v))

#define BIT_CAL32K_DBGMOD_8733B BIT(7)

#define BIT_SHIFT_NCO_THRS_8733B 0
#define BIT_MASK_NCO_THRS_8733B 0x7f
#define BIT_NCO_THRS_8733B(x) (((x) & BIT_MASK_NCO_THRS_8733B) << BIT_SHIFT_NCO_THRS_8733B)
#define BITS_NCO_THRS_8733B (BIT_MASK_NCO_THRS_8733B << BIT_SHIFT_NCO_THRS_8733B)
#define BIT_CLEAR_NCO_THRS_8733B(x) ((x) & (~BITS_NCO_THRS_8733B))
#define BIT_GET_NCO_THRS_8733B(x) (((x) >> BIT_SHIFT_NCO_THRS_8733B) & BIT_MASK_NCO_THRS_8733B)
#define BIT_SET_NCO_THRS_8733B(x, v) (BIT_CLEAR_NCO_THRS_8733B(x) | BIT_NCO_THRS_8733B(v))

/* 2 REG_32K_XTAL_CR_8733B */

#define BIT_SHIFT_XTAL_DIV_FREQ_8733B 0
#define BIT_MASK_XTAL_DIV_FREQ_8733B 0xffff
#define BIT_XTAL_DIV_FREQ_8733B(x) (((x) & BIT_MASK_XTAL_DIV_FREQ_8733B) << BIT_SHIFT_XTAL_DIV_FREQ_8733B)
#define BITS_XTAL_DIV_FREQ_8733B (BIT_MASK_XTAL_DIV_FREQ_8733B << BIT_SHIFT_XTAL_DIV_FREQ_8733B)
#define BIT_CLEAR_XTAL_DIV_FREQ_8733B(x) ((x) & (~BITS_XTAL_DIV_FREQ_8733B))
#define BIT_GET_XTAL_DIV_FREQ_8733B(x) (((x) >> BIT_SHIFT_XTAL_DIV_FREQ_8733B) & BIT_MASK_XTAL_DIV_FREQ_8733B)
#define BIT_SET_XTAL_DIV_FREQ_8733B(x, v) (BIT_CLEAR_XTAL_DIV_FREQ_8733B(x) | BIT_XTAL_DIV_FREQ_8733B(v))

/* 2 REG_C2HEVT_8733B	-SD RESVEVED REGISTER FOR C2H INFORMATION (RESERVED) */

#define BIT_SHIFT_C2HEVT_MSG_V1_8733B 0
#define BIT_MASK_C2HEVT_MSG_V1_8733B 0xffffffffL
#define BIT_C2HEVT_MSG_V1_8733B(x) (((x) & BIT_MASK_C2HEVT_MSG_V1_8733B) << BIT_SHIFT_C2HEVT_MSG_V1_8733B)
#define BITS_C2HEVT_MSG_V1_8733B (BIT_MASK_C2HEVT_MSG_V1_8733B << BIT_SHIFT_C2HEVT_MSG_V1_8733B)
#define BIT_CLEAR_C2HEVT_MSG_V1_8733B(x) ((x) & (~BITS_C2HEVT_MSG_V1_8733B))
#define BIT_GET_C2HEVT_MSG_V1_8733B(x) (((x) >> BIT_SHIFT_C2HEVT_MSG_V1_8733B) & BIT_MASK_C2HEVT_MSG_V1_8733B)
#define BIT_SET_C2HEVT_MSG_V1_8733B(x, v) (BIT_CLEAR_C2HEVT_MSG_V1_8733B(x) | BIT_C2HEVT_MSG_V1_8733B(v))

/* 2 REG_C2HEVT_1_8733B	-SD RESVEVED REGISTER FOR C2H INFORMATION (RESERVED) */

#define BIT_SHIFT_C2HEVT_MSG_1_8733B 0
#define BIT_MASK_C2HEVT_MSG_1_8733B 0xffffffffL
#define BIT_C2HEVT_MSG_1_8733B(x) (((x) & BIT_MASK_C2HEVT_MSG_1_8733B) << BIT_SHIFT_C2HEVT_MSG_1_8733B)
#define BITS_C2HEVT_MSG_1_8733B (BIT_MASK_C2HEVT_MSG_1_8733B << BIT_SHIFT_C2HEVT_MSG_1_8733B)
#define BIT_CLEAR_C2HEVT_MSG_1_8733B(x) ((x) & (~BITS_C2HEVT_MSG_1_8733B))
#define BIT_GET_C2HEVT_MSG_1_8733B(x) (((x) >> BIT_SHIFT_C2HEVT_MSG_1_8733B) & BIT_MASK_C2HEVT_MSG_1_8733B)
#define BIT_SET_C2HEVT_MSG_1_8733B(x, v) (BIT_CLEAR_C2HEVT_MSG_1_8733B(x) | BIT_C2HEVT_MSG_1_8733B(v))

/* 2 REG_C2HEVT_2_8733B	-SD RESVEVED REGISTER FOR C2H INFORMATION (RESERVED) */

#define BIT_SHIFT_C2HEVT_MSG_2_8733B 0
#define BIT_MASK_C2HEVT_MSG_2_8733B 0xffffffffL
#define BIT_C2HEVT_MSG_2_8733B(x) (((x) & BIT_MASK_C2HEVT_MSG_2_8733B) << BIT_SHIFT_C2HEVT_MSG_2_8733B)
#define BITS_C2HEVT_MSG_2_8733B (BIT_MASK_C2HEVT_MSG_2_8733B << BIT_SHIFT_C2HEVT_MSG_2_8733B)
#define BIT_CLEAR_C2HEVT_MSG_2_8733B(x) ((x) & (~BITS_C2HEVT_MSG_2_8733B))
#define BIT_GET_C2HEVT_MSG_2_8733B(x) (((x) >> BIT_SHIFT_C2HEVT_MSG_2_8733B) & BIT_MASK_C2HEVT_MSG_2_8733B)
#define BIT_SET_C2HEVT_MSG_2_8733B(x, v) (BIT_CLEAR_C2HEVT_MSG_2_8733B(x) | BIT_C2HEVT_MSG_2_8733B(v))

/* 2 REG_C2HEVT_3_8733B	-SD RESVEVED REGISTER FOR C2H INFORMATION (RESERVED) */

#define BIT_SHIFT_C2HEVT_MSG_3_8733B 0
#define BIT_MASK_C2HEVT_MSG_3_8733B 0xffffffffL
#define BIT_C2HEVT_MSG_3_8733B(x) (((x) & BIT_MASK_C2HEVT_MSG_3_8733B) << BIT_SHIFT_C2HEVT_MSG_3_8733B)
#define BITS_C2HEVT_MSG_3_8733B (BIT_MASK_C2HEVT_MSG_3_8733B << BIT_SHIFT_C2HEVT_MSG_3_8733B)
#define BIT_CLEAR_C2HEVT_MSG_3_8733B(x) ((x) & (~BITS_C2HEVT_MSG_3_8733B))
#define BIT_GET_C2HEVT_MSG_3_8733B(x) (((x) >> BIT_SHIFT_C2HEVT_MSG_3_8733B) & BIT_MASK_C2HEVT_MSG_3_8733B)
#define BIT_SET_C2HEVT_MSG_3_8733B(x, v) (BIT_CLEAR_C2HEVT_MSG_3_8733B(x) | BIT_C2HEVT_MSG_3_8733B(v))

/* 2 REG_HW_IOE_CR_8733B	-HW IO ENGINE CONFIGURE REGISTER */
#define BIT_HIOE_ACTIVE_8733B BIT(31)
#define BIT_HIOE_RESTORE_REQ_8733B BIT(25)
#define BIT_HIOE_BACKUP_REQ_8733B BIT(24)

#define BIT_SHIFT_HIOE_END_ADDR_8733B 12
#define BIT_MASK_HIOE_END_ADDR_8733B 0xfff
#define BIT_HIOE_END_ADDR_8733B(x) (((x) & BIT_MASK_HIOE_END_ADDR_8733B) << BIT_SHIFT_HIOE_END_ADDR_8733B)
#define BITS_HIOE_END_ADDR_8733B (BIT_MASK_HIOE_END_ADDR_8733B << BIT_SHIFT_HIOE_END_ADDR_8733B)
#define BIT_CLEAR_HIOE_END_ADDR_8733B(x) ((x) & (~BITS_HIOE_END_ADDR_8733B))
#define BIT_GET_HIOE_END_ADDR_8733B(x) (((x) >> BIT_SHIFT_HIOE_END_ADDR_8733B) & BIT_MASK_HIOE_END_ADDR_8733B)
#define BIT_SET_HIOE_END_ADDR_8733B(x, v) (BIT_CLEAR_HIOE_END_ADDR_8733B(x) | BIT_HIOE_END_ADDR_8733B(v))

#define BIT_SHIFT_HIOE_STR_ADDR_8733B 0
#define BIT_MASK_HIOE_STR_ADDR_8733B 0xfff
#define BIT_HIOE_STR_ADDR_8733B(x) (((x) & BIT_MASK_HIOE_STR_ADDR_8733B) << BIT_SHIFT_HIOE_STR_ADDR_8733B)
#define BITS_HIOE_STR_ADDR_8733B (BIT_MASK_HIOE_STR_ADDR_8733B << BIT_SHIFT_HIOE_STR_ADDR_8733B)
#define BIT_CLEAR_HIOE_STR_ADDR_8733B(x) ((x) & (~BITS_HIOE_STR_ADDR_8733B))
#define BIT_GET_HIOE_STR_ADDR_8733B(x) (((x) >> BIT_SHIFT_HIOE_STR_ADDR_8733B) & BIT_MASK_HIOE_STR_ADDR_8733B)
#define BIT_SET_HIOE_STR_ADDR_8733B(x, v) (BIT_CLEAR_HIOE_STR_ADDR_8733B(x) | BIT_HIOE_STR_ADDR_8733B(v))

/* 2 REG_BB_RFC_ATR_8733B	-BB/RFC REG ACCESS TIME REGISTER */

#define BIT_SHIFT_PHYRE_CNT_8733B 25
#define BIT_MASK_PHYRE_CNT_8733B 0xf
#define BIT_PHYRE_CNT_8733B(x) (((x) & BIT_MASK_PHYRE_CNT_8733B) << BIT_SHIFT_PHYRE_CNT_8733B)
#define BITS_PHYRE_CNT_8733B (BIT_MASK_PHYRE_CNT_8733B << BIT_SHIFT_PHYRE_CNT_8733B)
#define BIT_CLEAR_PHYRE_CNT_8733B(x) ((x) & (~BITS_PHYRE_CNT_8733B))
#define BIT_GET_PHYRE_CNT_8733B(x) (((x) >> BIT_SHIFT_PHYRE_CNT_8733B) & BIT_MASK_PHYRE_CNT_8733B)
#define BIT_SET_PHYRE_CNT_8733B(x, v) (BIT_CLEAR_PHYRE_CNT_8733B(x) | BIT_PHYRE_CNT_8733B(v))

#define BIT_SHIFT_TXBUF_WKCAM_OFFSET_8733B 12
#define BIT_MASK_TXBUF_WKCAM_OFFSET_8733B 0x1fff
#define BIT_TXBUF_WKCAM_OFFSET_8733B(x) (((x) & BIT_MASK_TXBUF_WKCAM_OFFSET_8733B) << BIT_SHIFT_TXBUF_WKCAM_OFFSET_8733B)
#define BITS_TXBUF_WKCAM_OFFSET_8733B (BIT_MASK_TXBUF_WKCAM_OFFSET_8733B << BIT_SHIFT_TXBUF_WKCAM_OFFSET_8733B)
#define BIT_CLEAR_TXBUF_WKCAM_OFFSET_8733B(x) ((x) & (~BITS_TXBUF_WKCAM_OFFSET_8733B))
#define BIT_GET_TXBUF_WKCAM_OFFSET_8733B(x) (((x) >> BIT_SHIFT_TXBUF_WKCAM_OFFSET_8733B) & BIT_MASK_TXBUF_WKCAM_OFFSET_8733B)
#define BIT_SET_TXBUF_WKCAM_OFFSET_8733B(x, v) (BIT_CLEAR_TXBUF_WKCAM_OFFSET_8733B(x) | BIT_TXBUF_WKCAM_OFFSET_8733B(v))

#define BIT_SHIFT_PHYRD_WAIT_CNT_8733B 8
#define BIT_MASK_PHYRD_WAIT_CNT_8733B 0xf
#define BIT_PHYRD_WAIT_CNT_8733B(x) (((x) & BIT_MASK_PHYRD_WAIT_CNT_8733B) << BIT_SHIFT_PHYRD_WAIT_CNT_8733B)
#define BITS_PHYRD_WAIT_CNT_8733B (BIT_MASK_PHYRD_WAIT_CNT_8733B << BIT_SHIFT_PHYRD_WAIT_CNT_8733B)
#define BIT_CLEAR_PHYRD_WAIT_CNT_8733B(x) ((x) & (~BITS_PHYRD_WAIT_CNT_8733B))
#define BIT_GET_PHYRD_WAIT_CNT_8733B(x) (((x) >> BIT_SHIFT_PHYRD_WAIT_CNT_8733B) & BIT_MASK_PHYRD_WAIT_CNT_8733B)
#define BIT_SET_PHYRD_WAIT_CNT_8733B(x, v) (BIT_CLEAR_PHYRD_WAIT_CNT_8733B(x) | BIT_PHYRD_WAIT_CNT_8733B(v))

#define BIT_SHIFT_PHYWR_HOLD_CNT_8733B 4
#define BIT_MASK_PHYWR_HOLD_CNT_8733B 0xf
#define BIT_PHYWR_HOLD_CNT_8733B(x) (((x) & BIT_MASK_PHYWR_HOLD_CNT_8733B) << BIT_SHIFT_PHYWR_HOLD_CNT_8733B)
#define BITS_PHYWR_HOLD_CNT_8733B (BIT_MASK_PHYWR_HOLD_CNT_8733B << BIT_SHIFT_PHYWR_HOLD_CNT_8733B)
#define BIT_CLEAR_PHYWR_HOLD_CNT_8733B(x) ((x) & (~BITS_PHYWR_HOLD_CNT_8733B))
#define BIT_GET_PHYWR_HOLD_CNT_8733B(x) (((x) >> BIT_SHIFT_PHYWR_HOLD_CNT_8733B) & BIT_MASK_PHYWR_HOLD_CNT_8733B)
#define BIT_SET_PHYWR_HOLD_CNT_8733B(x, v) (BIT_CLEAR_PHYWR_HOLD_CNT_8733B(x) | BIT_PHYWR_HOLD_CNT_8733B(v))

#define BIT_SHIFT_PHYWR_SETUP_CNT_8733B 0
#define BIT_MASK_PHYWR_SETUP_CNT_8733B 0xf
#define BIT_PHYWR_SETUP_CNT_8733B(x) (((x) & BIT_MASK_PHYWR_SETUP_CNT_8733B) << BIT_SHIFT_PHYWR_SETUP_CNT_8733B)
#define BITS_PHYWR_SETUP_CNT_8733B (BIT_MASK_PHYWR_SETUP_CNT_8733B << BIT_SHIFT_PHYWR_SETUP_CNT_8733B)
#define BIT_CLEAR_PHYWR_SETUP_CNT_8733B(x) ((x) & (~BITS_PHYWR_SETUP_CNT_8733B))
#define BIT_GET_PHYWR_SETUP_CNT_8733B(x) (((x) >> BIT_SHIFT_PHYWR_SETUP_CNT_8733B) & BIT_MASK_PHYWR_SETUP_CNT_8733B)
#define BIT_SET_PHYWR_SETUP_CNT_8733B(x, v) (BIT_CLEAR_PHYWR_SETUP_CNT_8733B(x) | BIT_PHYWR_SETUP_CNT_8733B(v))

/* 2 REG_SW_DEFINED_PAGE1_8733B	-SD RESERVED REGISTER FOR 8051 INFORMATION */

#define BIT_SHIFT_SW_DEFINED_PAGE1_V1_8733B 0
#define BIT_MASK_SW_DEFINED_PAGE1_V1_8733B 0xffffffffL
#define BIT_SW_DEFINED_PAGE1_V1_8733B(x) (((x) & BIT_MASK_SW_DEFINED_PAGE1_V1_8733B) << BIT_SHIFT_SW_DEFINED_PAGE1_V1_8733B)
#define BITS_SW_DEFINED_PAGE1_V1_8733B (BIT_MASK_SW_DEFINED_PAGE1_V1_8733B << BIT_SHIFT_SW_DEFINED_PAGE1_V1_8733B)
#define BIT_CLEAR_SW_DEFINED_PAGE1_V1_8733B(x) ((x) & (~BITS_SW_DEFINED_PAGE1_V1_8733B))
#define BIT_GET_SW_DEFINED_PAGE1_V1_8733B(x) (((x) >> BIT_SHIFT_SW_DEFINED_PAGE1_V1_8733B) & BIT_MASK_SW_DEFINED_PAGE1_V1_8733B)
#define BIT_SET_SW_DEFINED_PAGE1_V1_8733B(x, v) (BIT_CLEAR_SW_DEFINED_PAGE1_V1_8733B(x) | BIT_SW_DEFINED_PAGE1_V1_8733B(v))

/* 2 REG_SW_DEFINED_PAGE2_8733B	-SD RESERVED REGISTER FOR 8051 INFORMATION */

#define BIT_SHIFT_SW_DEFINED_PAGE2_8733B 0
#define BIT_MASK_SW_DEFINED_PAGE2_8733B 0xffffffffL
#define BIT_SW_DEFINED_PAGE2_8733B(x) (((x) & BIT_MASK_SW_DEFINED_PAGE2_8733B) << BIT_SHIFT_SW_DEFINED_PAGE2_8733B)
#define BITS_SW_DEFINED_PAGE2_8733B (BIT_MASK_SW_DEFINED_PAGE2_8733B << BIT_SHIFT_SW_DEFINED_PAGE2_8733B)
#define BIT_CLEAR_SW_DEFINED_PAGE2_8733B(x) ((x) & (~BITS_SW_DEFINED_PAGE2_8733B))
#define BIT_GET_SW_DEFINED_PAGE2_8733B(x) (((x) >> BIT_SHIFT_SW_DEFINED_PAGE2_8733B) & BIT_MASK_SW_DEFINED_PAGE2_8733B)
#define BIT_SET_SW_DEFINED_PAGE2_8733B(x, v) (BIT_CLEAR_SW_DEFINED_PAGE2_8733B(x) | BIT_SW_DEFINED_PAGE2_8733B(v))

/* 2 REG_MCUTST_I_8733B	-TEST REGISTER */

#define BIT_SHIFT_MCUDMSG_I_8733B 0
#define BIT_MASK_MCUDMSG_I_8733B 0xffffffffL
#define BIT_MCUDMSG_I_8733B(x) (((x) & BIT_MASK_MCUDMSG_I_8733B) << BIT_SHIFT_MCUDMSG_I_8733B)
#define BITS_MCUDMSG_I_8733B (BIT_MASK_MCUDMSG_I_8733B << BIT_SHIFT_MCUDMSG_I_8733B)
#define BIT_CLEAR_MCUDMSG_I_8733B(x) ((x) & (~BITS_MCUDMSG_I_8733B))
#define BIT_GET_MCUDMSG_I_8733B(x) (((x) >> BIT_SHIFT_MCUDMSG_I_8733B) & BIT_MASK_MCUDMSG_I_8733B)
#define BIT_SET_MCUDMSG_I_8733B(x, v) (BIT_CLEAR_MCUDMSG_I_8733B(x) | BIT_MCUDMSG_I_8733B(v))

/* 2 REG_MCUTST_II_8733B	-TEST REGISTER */

#define BIT_SHIFT_MCUDMSG_II_8733B 0
#define BIT_MASK_MCUDMSG_II_8733B 0xffffffffL
#define BIT_MCUDMSG_II_8733B(x) (((x) & BIT_MASK_MCUDMSG_II_8733B) << BIT_SHIFT_MCUDMSG_II_8733B)
#define BITS_MCUDMSG_II_8733B (BIT_MASK_MCUDMSG_II_8733B << BIT_SHIFT_MCUDMSG_II_8733B)
#define BIT_CLEAR_MCUDMSG_II_8733B(x) ((x) & (~BITS_MCUDMSG_II_8733B))
#define BIT_GET_MCUDMSG_II_8733B(x) (((x) >> BIT_SHIFT_MCUDMSG_II_8733B) & BIT_MASK_MCUDMSG_II_8733B)
#define BIT_SET_MCUDMSG_II_8733B(x, v) (BIT_CLEAR_MCUDMSG_II_8733B(x) | BIT_MCUDMSG_II_8733B(v))

/* 2 REG_FMETHR_8733B	-FIRMWARE MESSAGE MAIL BOX REGISTER */
#define BIT_FWMSG_INTPS_8733B BIT(31)

#define BIT_SHIFT_FW_MSG_8733B 0
#define BIT_MASK_FW_MSG_8733B 0xffffffffL
#define BIT_FW_MSG_8733B(x) (((x) & BIT_MASK_FW_MSG_8733B) << BIT_SHIFT_FW_MSG_8733B)
#define BITS_FW_MSG_8733B (BIT_MASK_FW_MSG_8733B << BIT_SHIFT_FW_MSG_8733B)
#define BIT_CLEAR_FW_MSG_8733B(x) ((x) & (~BITS_FW_MSG_8733B))
#define BIT_GET_FW_MSG_8733B(x) (((x) >> BIT_SHIFT_FW_MSG_8733B) & BIT_MASK_FW_MSG_8733B)
#define BIT_SET_FW_MSG_8733B(x, v) (BIT_CLEAR_FW_MSG_8733B(x) | BIT_FW_MSG_8733B(v))

/* 2 REG_HMETFR_8733B	-HOST MESSAGE MAIL BOX STATUS REGISTER */

#define BIT_SHIFT_HRCV_MSG_8733B 24
#define BIT_MASK_HRCV_MSG_8733B 0xff
#define BIT_HRCV_MSG_8733B(x) (((x) & BIT_MASK_HRCV_MSG_8733B) << BIT_SHIFT_HRCV_MSG_8733B)
#define BITS_HRCV_MSG_8733B (BIT_MASK_HRCV_MSG_8733B << BIT_SHIFT_HRCV_MSG_8733B)
#define BIT_CLEAR_HRCV_MSG_8733B(x) ((x) & (~BITS_HRCV_MSG_8733B))
#define BIT_GET_HRCV_MSG_8733B(x) (((x) >> BIT_SHIFT_HRCV_MSG_8733B) & BIT_MASK_HRCV_MSG_8733B)
#define BIT_SET_HRCV_MSG_8733B(x, v) (BIT_CLEAR_HRCV_MSG_8733B(x) | BIT_HRCV_MSG_8733B(v))

#define BIT_H3MSG_VLD_8733B BIT(3)
#define BIT_H2MSG_VLD_8733B BIT(2)
#define BIT_H1MSG_VLD_8733B BIT(1)
#define BIT_H0MSG_VLD_8733B BIT(0)

/* 2 REG_HMEBOX0_8733B */

#define BIT_SHIFT_HOST_MSG_0_8733B 0
#define BIT_MASK_HOST_MSG_0_8733B 0xffffffffL
#define BIT_HOST_MSG_0_8733B(x) (((x) & BIT_MASK_HOST_MSG_0_8733B) << BIT_SHIFT_HOST_MSG_0_8733B)
#define BITS_HOST_MSG_0_8733B (BIT_MASK_HOST_MSG_0_8733B << BIT_SHIFT_HOST_MSG_0_8733B)
#define BIT_CLEAR_HOST_MSG_0_8733B(x) ((x) & (~BITS_HOST_MSG_0_8733B))
#define BIT_GET_HOST_MSG_0_8733B(x) (((x) >> BIT_SHIFT_HOST_MSG_0_8733B) & BIT_MASK_HOST_MSG_0_8733B)
#define BIT_SET_HOST_MSG_0_8733B(x, v) (BIT_CLEAR_HOST_MSG_0_8733B(x) | BIT_HOST_MSG_0_8733B(v))

/* 2 REG_HMEBOX1_8733B */

#define BIT_SHIFT_HOST_MSG_1_8733B 0
#define BIT_MASK_HOST_MSG_1_8733B 0xffffffffL
#define BIT_HOST_MSG_1_8733B(x) (((x) & BIT_MASK_HOST_MSG_1_8733B) << BIT_SHIFT_HOST_MSG_1_8733B)
#define BITS_HOST_MSG_1_8733B (BIT_MASK_HOST_MSG_1_8733B << BIT_SHIFT_HOST_MSG_1_8733B)
#define BIT_CLEAR_HOST_MSG_1_8733B(x) ((x) & (~BITS_HOST_MSG_1_8733B))
#define BIT_GET_HOST_MSG_1_8733B(x) (((x) >> BIT_SHIFT_HOST_MSG_1_8733B) & BIT_MASK_HOST_MSG_1_8733B)
#define BIT_SET_HOST_MSG_1_8733B(x, v) (BIT_CLEAR_HOST_MSG_1_8733B(x) | BIT_HOST_MSG_1_8733B(v))

/* 2 REG_HMEBOX2_8733B */

#define BIT_SHIFT_HOST_MSG_2_8733B 0
#define BIT_MASK_HOST_MSG_2_8733B 0xffffffffL
#define BIT_HOST_MSG_2_8733B(x) (((x) & BIT_MASK_HOST_MSG_2_8733B) << BIT_SHIFT_HOST_MSG_2_8733B)
#define BITS_HOST_MSG_2_8733B (BIT_MASK_HOST_MSG_2_8733B << BIT_SHIFT_HOST_MSG_2_8733B)
#define BIT_CLEAR_HOST_MSG_2_8733B(x) ((x) & (~BITS_HOST_MSG_2_8733B))
#define BIT_GET_HOST_MSG_2_8733B(x) (((x) >> BIT_SHIFT_HOST_MSG_2_8733B) & BIT_MASK_HOST_MSG_2_8733B)
#define BIT_SET_HOST_MSG_2_8733B(x, v) (BIT_CLEAR_HOST_MSG_2_8733B(x) | BIT_HOST_MSG_2_8733B(v))

/* 2 REG_HMEBOX3_8733B */

#define BIT_SHIFT_HOST_MSG_3_8733B 0
#define BIT_MASK_HOST_MSG_3_8733B 0xffffffffL
#define BIT_HOST_MSG_3_8733B(x) (((x) & BIT_MASK_HOST_MSG_3_8733B) << BIT_SHIFT_HOST_MSG_3_8733B)
#define BITS_HOST_MSG_3_8733B (BIT_MASK_HOST_MSG_3_8733B << BIT_SHIFT_HOST_MSG_3_8733B)
#define BIT_CLEAR_HOST_MSG_3_8733B(x) ((x) & (~BITS_HOST_MSG_3_8733B))
#define BIT_GET_HOST_MSG_3_8733B(x) (((x) >> BIT_SHIFT_HOST_MSG_3_8733B) & BIT_MASK_HOST_MSG_3_8733B)
#define BIT_SET_HOST_MSG_3_8733B(x, v) (BIT_CLEAR_HOST_MSG_3_8733B(x) | BIT_HOST_MSG_3_8733B(v))

/* 2 REG_LLT_IND_ACCESS_8733B */

#define BIT_SHIFT_LLTE_RWM_8733B 30
#define BIT_MASK_LLTE_RWM_8733B 0x3
#define BIT_LLTE_RWM_8733B(x) (((x) & BIT_MASK_LLTE_RWM_8733B) << BIT_SHIFT_LLTE_RWM_8733B)
#define BITS_LLTE_RWM_8733B (BIT_MASK_LLTE_RWM_8733B << BIT_SHIFT_LLTE_RWM_8733B)
#define BIT_CLEAR_LLTE_RWM_8733B(x) ((x) & (~BITS_LLTE_RWM_8733B))
#define BIT_GET_LLTE_RWM_8733B(x) (((x) >> BIT_SHIFT_LLTE_RWM_8733B) & BIT_MASK_LLTE_RWM_8733B)
#define BIT_SET_LLTE_RWM_8733B(x, v) (BIT_CLEAR_LLTE_RWM_8733B(x) | BIT_LLTE_RWM_8733B(v))

#define BIT_SHIFT_LLTINI_PWM_RDATA_8733B 16
#define BIT_MASK_LLTINI_PWM_RDATA_8733B 0xff
#define BIT_LLTINI_PWM_RDATA_8733B(x) (((x) & BIT_MASK_LLTINI_PWM_RDATA_8733B) << BIT_SHIFT_LLTINI_PWM_RDATA_8733B)
#define BITS_LLTINI_PWM_RDATA_8733B (BIT_MASK_LLTINI_PWM_RDATA_8733B << BIT_SHIFT_LLTINI_PWM_RDATA_8733B)
#define BIT_CLEAR_LLTINI_PWM_RDATA_8733B(x) ((x) & (~BITS_LLTINI_PWM_RDATA_8733B))
#define BIT_GET_LLTINI_PWM_RDATA_8733B(x) (((x) >> BIT_SHIFT_LLTINI_PWM_RDATA_8733B) & BIT_MASK_LLTINI_PWM_RDATA_8733B)
#define BIT_SET_LLTINI_PWM_RDATA_8733B(x, v) (BIT_CLEAR_LLTINI_PWM_RDATA_8733B(x) | BIT_LLTINI_PWM_RDATA_8733B(v))

#define BIT_SHIFT_LLTINI_ADDR_8733B 8
#define BIT_MASK_LLTINI_ADDR_8733B 0xff
#define BIT_LLTINI_ADDR_8733B(x) (((x) & BIT_MASK_LLTINI_ADDR_8733B) << BIT_SHIFT_LLTINI_ADDR_8733B)
#define BITS_LLTINI_ADDR_8733B (BIT_MASK_LLTINI_ADDR_8733B << BIT_SHIFT_LLTINI_ADDR_8733B)
#define BIT_CLEAR_LLTINI_ADDR_8733B(x) ((x) & (~BITS_LLTINI_ADDR_8733B))
#define BIT_GET_LLTINI_ADDR_8733B(x) (((x) >> BIT_SHIFT_LLTINI_ADDR_8733B) & BIT_MASK_LLTINI_ADDR_8733B)
#define BIT_SET_LLTINI_ADDR_8733B(x, v) (BIT_CLEAR_LLTINI_ADDR_8733B(x) | BIT_LLTINI_ADDR_8733B(v))

#define BIT_SHIFT_LLTINI_HCI_RDATA_8733B 0
#define BIT_MASK_LLTINI_HCI_RDATA_8733B 0xff
#define BIT_LLTINI_HCI_RDATA_8733B(x) (((x) & BIT_MASK_LLTINI_HCI_RDATA_8733B) << BIT_SHIFT_LLTINI_HCI_RDATA_8733B)
#define BITS_LLTINI_HCI_RDATA_8733B (BIT_MASK_LLTINI_HCI_RDATA_8733B << BIT_SHIFT_LLTINI_HCI_RDATA_8733B)
#define BIT_CLEAR_LLTINI_HCI_RDATA_8733B(x) ((x) & (~BITS_LLTINI_HCI_RDATA_8733B))
#define BIT_GET_LLTINI_HCI_RDATA_8733B(x) (((x) >> BIT_SHIFT_LLTINI_HCI_RDATA_8733B) & BIT_MASK_LLTINI_HCI_RDATA_8733B)
#define BIT_SET_LLTINI_HCI_RDATA_8733B(x, v) (BIT_CLEAR_LLTINI_HCI_RDATA_8733B(x) | BIT_LLTINI_HCI_RDATA_8733B(v))

/* 2 REG_GENTST_8733B */

#define BIT_SHIFT_GENTST_8733B 0
#define BIT_MASK_GENTST_8733B 0xffffffffL
#define BIT_GENTST_8733B(x) (((x) & BIT_MASK_GENTST_8733B) << BIT_SHIFT_GENTST_8733B)
#define BITS_GENTST_8733B (BIT_MASK_GENTST_8733B << BIT_SHIFT_GENTST_8733B)
#define BIT_CLEAR_GENTST_8733B(x) ((x) & (~BITS_GENTST_8733B))
#define BIT_GET_GENTST_8733B(x) (((x) >> BIT_SHIFT_GENTST_8733B) & BIT_MASK_GENTST_8733B)
#define BIT_SET_GENTST_8733B(x, v) (BIT_CLEAR_GENTST_8733B(x) | BIT_GENTST_8733B(v))

/* 2 REG_BB_ACCESS_CTRL_8733B */

#define BIT_SHIFT_BB_WRITE_READ_8733B 30
#define BIT_MASK_BB_WRITE_READ_8733B 0x3
#define BIT_BB_WRITE_READ_8733B(x) (((x) & BIT_MASK_BB_WRITE_READ_8733B) << BIT_SHIFT_BB_WRITE_READ_8733B)
#define BITS_BB_WRITE_READ_8733B (BIT_MASK_BB_WRITE_READ_8733B << BIT_SHIFT_BB_WRITE_READ_8733B)
#define BIT_CLEAR_BB_WRITE_READ_8733B(x) ((x) & (~BITS_BB_WRITE_READ_8733B))
#define BIT_GET_BB_WRITE_READ_8733B(x) (((x) >> BIT_SHIFT_BB_WRITE_READ_8733B) & BIT_MASK_BB_WRITE_READ_8733B)
#define BIT_SET_BB_WRITE_READ_8733B(x, v) (BIT_CLEAR_BB_WRITE_READ_8733B(x) | BIT_BB_WRITE_READ_8733B(v))

#define BIT_SHIFT_BB_WRITE_EN_V1_8733B 16
#define BIT_MASK_BB_WRITE_EN_V1_8733B 0xf
#define BIT_BB_WRITE_EN_V1_8733B(x) (((x) & BIT_MASK_BB_WRITE_EN_V1_8733B) << BIT_SHIFT_BB_WRITE_EN_V1_8733B)
#define BITS_BB_WRITE_EN_V1_8733B (BIT_MASK_BB_WRITE_EN_V1_8733B << BIT_SHIFT_BB_WRITE_EN_V1_8733B)
#define BIT_CLEAR_BB_WRITE_EN_V1_8733B(x) ((x) & (~BITS_BB_WRITE_EN_V1_8733B))
#define BIT_GET_BB_WRITE_EN_V1_8733B(x) (((x) >> BIT_SHIFT_BB_WRITE_EN_V1_8733B) & BIT_MASK_BB_WRITE_EN_V1_8733B)
#define BIT_SET_BB_WRITE_EN_V1_8733B(x, v) (BIT_CLEAR_BB_WRITE_EN_V1_8733B(x) | BIT_BB_WRITE_EN_V1_8733B(v))

#define BIT_SHIFT_BB_ADDR_V1_8733B 2
#define BIT_MASK_BB_ADDR_V1_8733B 0x1fff
#define BIT_BB_ADDR_V1_8733B(x) (((x) & BIT_MASK_BB_ADDR_V1_8733B) << BIT_SHIFT_BB_ADDR_V1_8733B)
#define BITS_BB_ADDR_V1_8733B (BIT_MASK_BB_ADDR_V1_8733B << BIT_SHIFT_BB_ADDR_V1_8733B)
#define BIT_CLEAR_BB_ADDR_V1_8733B(x) ((x) & (~BITS_BB_ADDR_V1_8733B))
#define BIT_GET_BB_ADDR_V1_8733B(x) (((x) >> BIT_SHIFT_BB_ADDR_V1_8733B) & BIT_MASK_BB_ADDR_V1_8733B)
#define BIT_SET_BB_ADDR_V1_8733B(x, v) (BIT_CLEAR_BB_ADDR_V1_8733B(x) | BIT_BB_ADDR_V1_8733B(v))

#define BIT_BB_ERRACC_8733B BIT(0)

/* 2 REG_BB_ACCESS_DATA_8733B */

#define BIT_SHIFT_BB_DATA_8733B 0
#define BIT_MASK_BB_DATA_8733B 0xffffffffL
#define BIT_BB_DATA_8733B(x) (((x) & BIT_MASK_BB_DATA_8733B) << BIT_SHIFT_BB_DATA_8733B)
#define BITS_BB_DATA_8733B (BIT_MASK_BB_DATA_8733B << BIT_SHIFT_BB_DATA_8733B)
#define BIT_CLEAR_BB_DATA_8733B(x) ((x) & (~BITS_BB_DATA_8733B))
#define BIT_GET_BB_DATA_8733B(x) (((x) >> BIT_SHIFT_BB_DATA_8733B) & BIT_MASK_BB_DATA_8733B)
#define BIT_SET_BB_DATA_8733B(x, v) (BIT_CLEAR_BB_DATA_8733B(x) | BIT_BB_DATA_8733B(v))

/* 2 REG_HMEBOX_E0_8733B	-HOST MESSAGE MAIL BOX 4 REGISTER */

#define BIT_SHIFT_HMEBOX_E0_8733B 0
#define BIT_MASK_HMEBOX_E0_8733B 0xffffffffL
#define BIT_HMEBOX_E0_8733B(x) (((x) & BIT_MASK_HMEBOX_E0_8733B) << BIT_SHIFT_HMEBOX_E0_8733B)
#define BITS_HMEBOX_E0_8733B (BIT_MASK_HMEBOX_E0_8733B << BIT_SHIFT_HMEBOX_E0_8733B)
#define BIT_CLEAR_HMEBOX_E0_8733B(x) ((x) & (~BITS_HMEBOX_E0_8733B))
#define BIT_GET_HMEBOX_E0_8733B(x) (((x) >> BIT_SHIFT_HMEBOX_E0_8733B) & BIT_MASK_HMEBOX_E0_8733B)
#define BIT_SET_HMEBOX_E0_8733B(x, v) (BIT_CLEAR_HMEBOX_E0_8733B(x) | BIT_HMEBOX_E0_8733B(v))

/* 2 REG_HMEBOX_E1_8733B	-HOST MESSAGE MAIL BOX 5 REGISTER */

#define BIT_SHIFT_HMEBOX_E1_8733B 0
#define BIT_MASK_HMEBOX_E1_8733B 0xffffffffL
#define BIT_HMEBOX_E1_8733B(x) (((x) & BIT_MASK_HMEBOX_E1_8733B) << BIT_SHIFT_HMEBOX_E1_8733B)
#define BITS_HMEBOX_E1_8733B (BIT_MASK_HMEBOX_E1_8733B << BIT_SHIFT_HMEBOX_E1_8733B)
#define BIT_CLEAR_HMEBOX_E1_8733B(x) ((x) & (~BITS_HMEBOX_E1_8733B))
#define BIT_GET_HMEBOX_E1_8733B(x) (((x) >> BIT_SHIFT_HMEBOX_E1_8733B) & BIT_MASK_HMEBOX_E1_8733B)
#define BIT_SET_HMEBOX_E1_8733B(x, v) (BIT_CLEAR_HMEBOX_E1_8733B(x) | BIT_HMEBOX_E1_8733B(v))

/* 2 REG_HMEBOX_E2_8733B	-HOST MESSAGE MAIL BOX 6 REGISTER */

#define BIT_SHIFT_HMEBOX_E2_8733B 0
#define BIT_MASK_HMEBOX_E2_8733B 0xffffffffL
#define BIT_HMEBOX_E2_8733B(x) (((x) & BIT_MASK_HMEBOX_E2_8733B) << BIT_SHIFT_HMEBOX_E2_8733B)
#define BITS_HMEBOX_E2_8733B (BIT_MASK_HMEBOX_E2_8733B << BIT_SHIFT_HMEBOX_E2_8733B)
#define BIT_CLEAR_HMEBOX_E2_8733B(x) ((x) & (~BITS_HMEBOX_E2_8733B))
#define BIT_GET_HMEBOX_E2_8733B(x) (((x) >> BIT_SHIFT_HMEBOX_E2_8733B) & BIT_MASK_HMEBOX_E2_8733B)
#define BIT_SET_HMEBOX_E2_8733B(x, v) (BIT_CLEAR_HMEBOX_E2_8733B(x) | BIT_HMEBOX_E2_8733B(v))

/* 2 REG_HMEBOX_E3_8733B	-HOST MESSAGE MAIL BOX 7 REGISTER */

#define BIT_SHIFT_HMEBOX_E3_8733B 0
#define BIT_MASK_HMEBOX_E3_8733B 0xffffffffL
#define BIT_HMEBOX_E3_8733B(x) (((x) & BIT_MASK_HMEBOX_E3_8733B) << BIT_SHIFT_HMEBOX_E3_8733B)
#define BITS_HMEBOX_E3_8733B (BIT_MASK_HMEBOX_E3_8733B << BIT_SHIFT_HMEBOX_E3_8733B)
#define BIT_CLEAR_HMEBOX_E3_8733B(x) ((x) & (~BITS_HMEBOX_E3_8733B))
#define BIT_GET_HMEBOX_E3_8733B(x) (((x) >> BIT_SHIFT_HMEBOX_E3_8733B) & BIT_MASK_HMEBOX_E3_8733B)
#define BIT_SET_HMEBOX_E3_8733B(x, v) (BIT_CLEAR_HMEBOX_E3_8733B(x) | BIT_HMEBOX_E3_8733B(v))

/* 2 REG_CR_EXT_8733B	-MAC TOP	FUNCTION ENABLE */

#define BIT_SHIFT_PHY_REQ_DELAY_8733B 24
#define BIT_MASK_PHY_REQ_DELAY_8733B 0xf
#define BIT_PHY_REQ_DELAY_8733B(x) (((x) & BIT_MASK_PHY_REQ_DELAY_8733B) << BIT_SHIFT_PHY_REQ_DELAY_8733B)
#define BITS_PHY_REQ_DELAY_8733B (BIT_MASK_PHY_REQ_DELAY_8733B << BIT_SHIFT_PHY_REQ_DELAY_8733B)
#define BIT_CLEAR_PHY_REQ_DELAY_8733B(x) ((x) & (~BITS_PHY_REQ_DELAY_8733B))
#define BIT_GET_PHY_REQ_DELAY_8733B(x) (((x) >> BIT_SHIFT_PHY_REQ_DELAY_8733B) & BIT_MASK_PHY_REQ_DELAY_8733B)
#define BIT_SET_PHY_REQ_DELAY_8733B(x, v) (BIT_CLEAR_PHY_REQ_DELAY_8733B(x) | BIT_PHY_REQ_DELAY_8733B(v))

#define BIT_SHIFT_ROM_BIST_RPT_SEL_8733B 8
#define BIT_MASK_ROM_BIST_RPT_SEL_8733B 0x7
#define BIT_ROM_BIST_RPT_SEL_8733B(x) (((x) & BIT_MASK_ROM_BIST_RPT_SEL_8733B) << BIT_SHIFT_ROM_BIST_RPT_SEL_8733B)
#define BITS_ROM_BIST_RPT_SEL_8733B (BIT_MASK_ROM_BIST_RPT_SEL_8733B << BIT_SHIFT_ROM_BIST_RPT_SEL_8733B)
#define BIT_CLEAR_ROM_BIST_RPT_SEL_8733B(x) ((x) & (~BITS_ROM_BIST_RPT_SEL_8733B))
#define BIT_GET_ROM_BIST_RPT_SEL_8733B(x) (((x) >> BIT_SHIFT_ROM_BIST_RPT_SEL_8733B) & BIT_MASK_ROM_BIST_RPT_SEL_8733B)
#define BIT_SET_ROM_BIST_RPT_SEL_8733B(x, v) (BIT_CLEAR_ROM_BIST_RPT_SEL_8733B(x) | BIT_ROM_BIST_RPT_SEL_8733B(v))

#define BIT_SHIFT_P4_NETSTATE_8733B 4
#define BIT_MASK_P4_NETSTATE_8733B 0x3
#define BIT_P4_NETSTATE_8733B(x) (((x) & BIT_MASK_P4_NETSTATE_8733B) << BIT_SHIFT_P4_NETSTATE_8733B)
#define BITS_P4_NETSTATE_8733B (BIT_MASK_P4_NETSTATE_8733B << BIT_SHIFT_P4_NETSTATE_8733B)
#define BIT_CLEAR_P4_NETSTATE_8733B(x) ((x) & (~BITS_P4_NETSTATE_8733B))
#define BIT_GET_P4_NETSTATE_8733B(x) (((x) >> BIT_SHIFT_P4_NETSTATE_8733B) & BIT_MASK_P4_NETSTATE_8733B)
#define BIT_SET_P4_NETSTATE_8733B(x, v) (BIT_CLEAR_P4_NETSTATE_8733B(x) | BIT_P4_NETSTATE_8733B(v))

#define BIT_SHIFT_P3_NETSTATE_8733B 2
#define BIT_MASK_P3_NETSTATE_8733B 0x3
#define BIT_P3_NETSTATE_8733B(x) (((x) & BIT_MASK_P3_NETSTATE_8733B) << BIT_SHIFT_P3_NETSTATE_8733B)
#define BITS_P3_NETSTATE_8733B (BIT_MASK_P3_NETSTATE_8733B << BIT_SHIFT_P3_NETSTATE_8733B)
#define BIT_CLEAR_P3_NETSTATE_8733B(x) ((x) & (~BITS_P3_NETSTATE_8733B))
#define BIT_GET_P3_NETSTATE_8733B(x) (((x) >> BIT_SHIFT_P3_NETSTATE_8733B) & BIT_MASK_P3_NETSTATE_8733B)
#define BIT_SET_P3_NETSTATE_8733B(x, v) (BIT_CLEAR_P3_NETSTATE_8733B(x) | BIT_P3_NETSTATE_8733B(v))

#define BIT_SHIFT_P2_NETSTATE_8733B 0
#define BIT_MASK_P2_NETSTATE_8733B 0x3
#define BIT_P2_NETSTATE_8733B(x) (((x) & BIT_MASK_P2_NETSTATE_8733B) << BIT_SHIFT_P2_NETSTATE_8733B)
#define BITS_P2_NETSTATE_8733B (BIT_MASK_P2_NETSTATE_8733B << BIT_SHIFT_P2_NETSTATE_8733B)
#define BIT_CLEAR_P2_NETSTATE_8733B(x) ((x) & (~BITS_P2_NETSTATE_8733B))
#define BIT_GET_P2_NETSTATE_8733B(x) (((x) >> BIT_SHIFT_P2_NETSTATE_8733B) & BIT_MASK_P2_NETSTATE_8733B)
#define BIT_SET_P2_NETSTATE_8733B(x, v) (BIT_CLEAR_P2_NETSTATE_8733B(x) | BIT_P2_NETSTATE_8733B(v))

/* 2 REG_XTAL_CLK_8733B	- XTAL CLOCK FREQUENCY CHOOSE (UNIT HZ) */

#define BIT_SHIFT_R_XTAL_CLK_FREQ_8733B 0
#define BIT_MASK_R_XTAL_CLK_FREQ_8733B 0x7ffff
#define BIT_R_XTAL_CLK_FREQ_8733B(x) (((x) & BIT_MASK_R_XTAL_CLK_FREQ_8733B) << BIT_SHIFT_R_XTAL_CLK_FREQ_8733B)
#define BITS_R_XTAL_CLK_FREQ_8733B (BIT_MASK_R_XTAL_CLK_FREQ_8733B << BIT_SHIFT_R_XTAL_CLK_FREQ_8733B)
#define BIT_CLEAR_R_XTAL_CLK_FREQ_8733B(x) ((x) & (~BITS_R_XTAL_CLK_FREQ_8733B))
#define BIT_GET_R_XTAL_CLK_FREQ_8733B(x) (((x) >> BIT_SHIFT_R_XTAL_CLK_FREQ_8733B) & BIT_MASK_R_XTAL_CLK_FREQ_8733B)
#define BIT_SET_R_XTAL_CLK_FREQ_8733B(x, v) (BIT_CLEAR_R_XTAL_CLK_FREQ_8733B(x) | BIT_R_XTAL_CLK_FREQ_8733B(v))

/* 2 REG_LX_TO_OC_8733B */
#define BIT_DEV_IDLE_8733B BIT(31)

/* 2 REG_NOT_VALID_8733B */

#define BIT_SHIFT_GUESS_BST_WIDTH_8733B 7
#define BIT_MASK_GUESS_BST_WIDTH_8733B 0x3f
#define BIT_GUESS_BST_WIDTH_8733B(x) (((x) & BIT_MASK_GUESS_BST_WIDTH_8733B) << BIT_SHIFT_GUESS_BST_WIDTH_8733B)
#define BITS_GUESS_BST_WIDTH_8733B (BIT_MASK_GUESS_BST_WIDTH_8733B << BIT_SHIFT_GUESS_BST_WIDTH_8733B)
#define BIT_CLEAR_GUESS_BST_WIDTH_8733B(x) ((x) & (~BITS_GUESS_BST_WIDTH_8733B))
#define BIT_GET_GUESS_BST_WIDTH_8733B(x) (((x) >> BIT_SHIFT_GUESS_BST_WIDTH_8733B) & BIT_MASK_GUESS_BST_WIDTH_8733B)
#define BIT_SET_GUESS_BST_WIDTH_8733B(x, v) (BIT_CLEAR_GUESS_BST_WIDTH_8733B(x) | BIT_GUESS_BST_WIDTH_8733B(v))

#define BIT_SHIFT_CHOP_WIDTH_8733B 1
#define BIT_MASK_CHOP_WIDTH_8733B 0x3f
#define BIT_CHOP_WIDTH_8733B(x) (((x) & BIT_MASK_CHOP_WIDTH_8733B) << BIT_SHIFT_CHOP_WIDTH_8733B)
#define BITS_CHOP_WIDTH_8733B (BIT_MASK_CHOP_WIDTH_8733B << BIT_SHIFT_CHOP_WIDTH_8733B)
#define BIT_CLEAR_CHOP_WIDTH_8733B(x) ((x) & (~BITS_CHOP_WIDTH_8733B))
#define BIT_GET_CHOP_WIDTH_8733B(x) (((x) >> BIT_SHIFT_CHOP_WIDTH_8733B) & BIT_MASK_CHOP_WIDTH_8733B)
#define BIT_SET_CHOP_WIDTH_8733B(x, v) (BIT_CLEAR_CHOP_WIDTH_8733B(x) | BIT_CHOP_WIDTH_8733B(v))

#define BIT_CHOP_EN_8733B BIT(0)

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_FE2IMR_8733B */
#define BIT__FE3ISR__INT_EN_8733B BIT(29)
#define BIT_FS_ATIM_MB7_INT_EN_8733B BIT(23)
#define BIT_FS_ATIM_MB6_INT_EN_8733B BIT(22)
#define BIT_FS_ATIM_MB5_INT_EN_8733B BIT(21)
#define BIT_FS_ATIM_MB4_INT_EN_8733B BIT(20)
#define BIT_FS_ATIM_MB3_INT_EN_8733B BIT(19)
#define BIT_FS_ATIM_MB2_INT_EN_8733B BIT(18)
#define BIT_FS_ATIM_MB1_INT_EN_8733B BIT(17)
#define BIT_FS_ATIM_MB0_INT_EN_8733B BIT(16)
#define BIT_FS_CTWE_INT_EN_8733B BIT(14)
#define BIT_FS_TBTTALL_INT_EN_8733B BIT(12)
#define BIT_FS_TBTT4INT_EN_8733B BIT(11)
#define BIT_FS_TBTT3INT_EN_8733B BIT(10)
#define BIT_FS_TBTT2INT_EN_8733B BIT(9)
#define BIT_FS_TBTT1INT_EN_8733B BIT(8)
#define BIT_FS_TBTT0_MB7INT_EN_8733B BIT(7)
#define BIT_FS_TBTT0_MB6INT_EN_8733B BIT(6)
#define BIT_FS_TBTT0_MB5INT_EN_8733B BIT(5)
#define BIT_FS_TBTT0_MB4INT_EN_8733B BIT(4)
#define BIT_FS_TBTT0_MB3INT_EN_8733B BIT(3)
#define BIT_FS_TBTT0_MB2INT_EN_8733B BIT(2)
#define BIT_FS_TBTT0_MB1INT_EN_8733B BIT(1)
#define BIT_FS_TBTT0_INT_EN_8733B BIT(0)

/* 2 REG_FE2ISR_8733B */
#define BIT__FE3ISR__INT_8733B BIT(29)
#define BIT_FS_ATIM_MB7_INT_8733B BIT(23)
#define BIT_FS_ATIM_MB6_INT_8733B BIT(22)
#define BIT_FS_ATIM_MB5_INT_8733B BIT(21)
#define BIT_FS_ATIM_MB4_INT_8733B BIT(20)
#define BIT_FS_ATIM_MB3_INT_8733B BIT(19)
#define BIT_FS_ATIM_MB2_INT_8733B BIT(18)
#define BIT_FS_ATIM_MB1_INT_8733B BIT(17)
#define BIT_FS_ATIM_MB0_INT_8733B BIT(16)
#define BIT_FS_CTWE_INT_8733B BIT(14)
#define BIT_FS_TBTTALL_INT_8733B BIT(12)
#define BIT_FS_TBTT4INT_8733B BIT(11)
#define BIT_FS_TBTT3INT_8733B BIT(10)
#define BIT_FS_TBTT2INT_8733B BIT(9)
#define BIT_FS_TBTT1INT_8733B BIT(8)
#define BIT_FS_TBTT0_MB7INT_8733B BIT(7)
#define BIT_FS_TBTT0_MB6INT_8733B BIT(6)
#define BIT_FS_TBTT0_MB5INT_8733B BIT(5)
#define BIT_FS_TBTT0_MB4INT_8733B BIT(4)
#define BIT_FS_TBTT0_MB3INT_8733B BIT(3)
#define BIT_FS_TBTT0_MB2INT_8733B BIT(2)
#define BIT_FS_TBTT0_MB1INT_8733B BIT(1)
#define BIT_FS_TBTT0_INT_8733B BIT(0)

/* 2 REG_FE3IMR_8733B */
#define BIT_FS_BCNELY4_AGGR_INT_EN_8733B BIT(31)
#define BIT_FS_BCNELY3_AGGR_INT_EN_8733B BIT(30)
#define BIT_FS_BCNELY2_AGGR_INT_EN_8733B BIT(29)
#define BIT_FS_BCNELY1_AGGR_INT_EN_8733B BIT(28)
#define BIT_FS_BCNDMA4_INT_EN_8733B BIT(27)
#define BIT_FS_BCNDMA3_INT_EN_8733B BIT(26)
#define BIT_FS_BCNDMA2_INT_EN_8733B BIT(25)
#define BIT_FS_BCNDMA1_INT_EN_8733B BIT(24)
#define BIT_FS_BCNDMA0_MB7_INT_EN_8733B BIT(23)
#define BIT_FS_BCNDMA0_MB6_INT_EN_8733B BIT(22)
#define BIT_FS_BCNDMA0_MB5_INT_EN_8733B BIT(21)
#define BIT_FS_BCNDMA0_MB4_INT_EN_8733B BIT(20)
#define BIT_FS_BCNDMA0_MB3_INT_EN_8733B BIT(19)
#define BIT_FS_BCNDMA0_MB2_INT_EN_8733B BIT(18)
#define BIT_FS_BCNDMA0_MB1_INT_EN_8733B BIT(17)
#define BIT_FS_BCNDMA0_INT_EN_8733B BIT(16)
#define BIT_FS_BCNELY0_AGGR_INT_EN_8733B BIT(15)
#define BIT_FS_TSF_SCK_INT_EN_8733B BIT(14)
#define BIT_FS_BCNERLY4_INT_EN_8733B BIT(11)
#define BIT_FS_BCNERLY3_INT_EN_8733B BIT(10)
#define BIT_FS_BCNERLY2_INT_EN_8733B BIT(9)
#define BIT_FS_BCNERLY1_INT_EN_8733B BIT(8)
#define BIT_FS_BCNERLY0_MB7INT_EN_8733B BIT(7)
#define BIT_FS_BCNERLY0_MB6INT_EN_8733B BIT(6)
#define BIT_FS_BCNERLY0_MB5INT_EN_8733B BIT(5)
#define BIT_FS_BCNERLY0_MB4INT_EN_8733B BIT(4)
#define BIT_FS_BCNERLY0_MB3INT_EN_8733B BIT(3)
#define BIT_FS_BCNERLY0_MB2INT_EN_8733B BIT(2)
#define BIT_FS_BCNERLY0_MB1INT_EN_8733B BIT(1)
#define BIT_FS_BCNERLY0_INT_EN_8733B BIT(0)

/* 2 REG_FE3ISR_8733B */
#define BIT_FS_BCNELY4_AGGR_INT_8733B BIT(31)
#define BIT_FS_BCNELY3_AGGR_INT_8733B BIT(30)
#define BIT_FS_BCNELY2_AGGR_INT_8733B BIT(29)
#define BIT_FS_BCNELY1_AGGR_INT_8733B BIT(28)
#define BIT_FS_BCNDMA4_INT_8733B BIT(27)
#define BIT_FS_BCNDMA3_INT_8733B BIT(26)
#define BIT_FS_BCNDMA2_INT_8733B BIT(25)
#define BIT_FS_BCNDMA1_INT_8733B BIT(24)
#define BIT_FS_BCNDMA0_MB7_INT_8733B BIT(23)
#define BIT_FS_BCNDMA0_MB6_INT_8733B BIT(22)
#define BIT_FS_BCNDMA0_MB5_INT_8733B BIT(21)
#define BIT_FS_BCNDMA0_MB4_INT_8733B BIT(20)
#define BIT_FS_BCNDMA0_MB3_INT_8733B BIT(19)
#define BIT_FS_BCNDMA0_MB2_INT_8733B BIT(18)
#define BIT_FS_BCNDMA0_MB1_INT_8733B BIT(17)
#define BIT_FS_BCNDMA0_INT_8733B BIT(16)
#define BIT_FS_BCNELY0_AGGR_INT_8733B BIT(15)
#define BIT_FS_TSF_SCK_INT_8733B BIT(14)
#define BIT_FS_BCNERLY4_INT_8733B BIT(11)
#define BIT_FS_BCNERLY3_INT_8733B BIT(10)
#define BIT_FS_BCNERLY2_INT_8733B BIT(9)
#define BIT_FS_BCNERLY1_INT_8733B BIT(8)
#define BIT_FS_BCNERLY0_MB7INT_8733B BIT(7)
#define BIT_FS_BCNERLY0_MB6INT_8733B BIT(6)
#define BIT_FS_BCNERLY0_MB5INT_8733B BIT(5)
#define BIT_FS_BCNERLY0_MB4INT_8733B BIT(4)
#define BIT_FS_BCNERLY0_MB3INT_8733B BIT(3)
#define BIT_FS_BCNERLY0_MB2INT_8733B BIT(2)
#define BIT_FS_BCNERLY0_MB1INT_8733B BIT(1)
#define BIT_FS_BCNERLY0_INT_8733B BIT(0)

/* 2 REG_FE4IMR_8733B */
#define BIT_PORT4_PKTIN_INT_EN_8733B BIT(19)
#define BIT_PORT3_PKTIN_INT_EN_8733B BIT(18)
#define BIT_PORT2_PKTIN_INT_EN_8733B BIT(17)
#define BIT_PORT1_PKTIN_INT_EN_8733B BIT(16)
#define BIT_PORT4_RXUCMD0_OK_INT_EN_8733B BIT(15)
#define BIT_PORT4_RXUCMD1_OK_INT_EN_8733B BIT(14)
#define BIT_PORT4_RXBCMD0_OK_INT_EN_8733B BIT(13)
#define BIT_PORT4_RXBCMD1_OK_INT_EN_8733B BIT(12)
#define BIT_PORT3_RXUCMD0_OK_INT_EN_8733B BIT(11)
#define BIT_PORT3_RXUCMD1_OK_INT_EN_8733B BIT(10)
#define BIT_PORT3_RXBCMD0_OK_INT_EN_8733B BIT(9)
#define BIT_PORT3_RXBCMD1_OK_INT_EN_8733B BIT(8)
#define BIT_PORT2_RXUCMD0_OK_INT_EN_8733B BIT(7)
#define BIT_PORT2_RXUCMD1_OK_INT_EN_8733B BIT(6)
#define BIT_PORT2_RXBCMD0_OK_INT_EN_8733B BIT(5)
#define BIT_PORT2_RXBCMD1_OK_INT_EN_8733B BIT(4)
#define BIT_PORT1_RXUCMD0_OK_INT_EN_8733B BIT(3)
#define BIT_PORT1_RXUCMD1_OK_INT_EN_8733B BIT(2)
#define BIT_PORT1_RXBCMD0_OK_INT_EN_8733B BIT(1)
#define BIT_PORT1_RXBCMD1_OK_INT_EN_8733B BIT(0)

/* 2 REG_FE4ISR_8733B */
#define BIT_PORT4_PKTIN_INT_8733B BIT(19)
#define BIT_PORT3_PKTIN_INT_8733B BIT(18)
#define BIT_PORT2_PKTIN_INT_8733B BIT(17)
#define BIT_PORT1_PKTIN_INT_8733B BIT(16)
#define BIT_PORT4_RXUCMD0_OK_INT_8733B BIT(15)
#define BIT_PORT4_RXUCMD1_OK_INT_8733B BIT(14)
#define BIT_PORT4_RXBCMD0_OK_INT_8733B BIT(13)
#define BIT_PORT4_RXBCMD1_OK_INT_8733B BIT(12)
#define BIT_PORT3_RXUCMD0_OK_INT_8733B BIT(11)
#define BIT_PORT3_RXUCMD1_OK_INT_8733B BIT(10)
#define BIT_PORT3_RXBCMD0_OK_INT_8733B BIT(9)
#define BIT_PORT3_RXBCMD1_OK_INT_8733B BIT(8)
#define BIT_PORT2_RXUCMD0_OK_INT_8733B BIT(7)
#define BIT_PORT2_RXUCMD1_OK_INT_8733B BIT(6)
#define BIT_PORT2_RXBCMD0_OK_INT_8733B BIT(5)
#define BIT_PORT2_RXBCMD1_OK_INT_8733B BIT(4)
#define BIT_PORT1_RXUCMD0_OK_INT_8733B BIT(3)
#define BIT_PORT1_RXUCMD1_OK_INT_8733B BIT(2)
#define BIT_PORT1_RXBCMD0_OK_INT_8733B BIT(1)
#define BIT_PORT1_RXBCMD1_OK_INT_8733B BIT(0)

/* 2 REG_FT1IMR_8733B */
#define BIT__FT2ISR__INT_EN_8733B BIT(30)
#define BIT_FTM_PTT_INT_EN_8733B BIT(29)
#define BIT_RXFTMREQ_INT_EN_8733B BIT(28)
#define BIT_RXFTM_INT_EN_8733B BIT(27)
#define BIT_TXFTM_INT_EN_8733B BIT(26)
#define BIT_FS_CTWEND2_INT_EN_8733B BIT(17)
#define BIT_FS_CTWEND1_INT_EN_8733B BIT(16)
#define BIT_FS_CTWEND0_INT_EN_8733B BIT(15)
#define BIT_FS_TX_NULL1_P0_INT_EN_8733B BIT(14)
#define BIT_FS_TX_NULL0_P0_INT_EN_8733B BIT(13)
#define BIT_FS_TSF_BIT32_INT0_EN_8733B BIT(12)
#define BIT_FS_P2P_RFON2_INT_EN_8733B BIT(11)
#define BIT_FS_P2P_RFOFF2_INT_EN_8733B BIT(10)
#define BIT_FS_P2P_RFON1_INT_EN_8733B BIT(9)
#define BIT_FS_P2P_RFOFF1_INT_EN_8733B BIT(8)
#define BIT_FS_P2P_RFON0_INT_EN_8733B BIT(7)
#define BIT_FS_P2P_RFOFF0_INT_EN_8733B BIT(6)
#define BIT_FS_RX_UAPSDMD1_EN_8733B BIT(5)
#define BIT_FS_RX_UAPSDMD0_EN_8733B BIT(4)
#define BIT_FS_TRIGGER_PKT_EN_8733B BIT(3)
#define BIT_FS_EOSP_INT_EN_8733B BIT(2)
#define BIT_FS_RPWM2_INT_EN_8733B BIT(1)
#define BIT_FS_RPWM_INT_EN_8733B BIT(0)

/* 2 REG_FT1ISR_8733B */
#define BIT__FT2ISR__INT_8733B BIT(30)
#define BIT_FTM_PTT_INT_8733B BIT(29)
#define BIT_RXFTMREQ_INT_8733B BIT(28)
#define BIT_RXFTM_INT_8733B BIT(27)
#define BIT_TXFTM_INT_8733B BIT(26)
#define BIT_FS_CTWEND2_INT_8733B BIT(17)
#define BIT_FS_CTWEND1_INT_8733B BIT(16)
#define BIT_FS_CTWEND0_INT_8733B BIT(15)
#define BIT_FS_TX_NULL1_P0_INT_8733B BIT(14)
#define BIT_FS_TX_NULL0_P0_INT_8733B BIT(13)
#define BIT_FS_TSF_BIT32_INT0_8733B BIT(12)
#define BIT_FS_P2P_RFON2_INT_8733B BIT(11)
#define BIT_FS_P2P_RFOFF2_INT_8733B BIT(10)
#define BIT_FS_P2P_RFON1_INT_8733B BIT(9)
#define BIT_FS_P2P_RFOFF1_INT_8733B BIT(8)
#define BIT_FS_P2P_RFON0_INT_8733B BIT(7)
#define BIT_FS_P2P_RFOFF0_INT_8733B BIT(6)
#define BIT_FS_RX_UAPSDMD1_8733B BIT(5)
#define BIT_FS_RX_UAPSDMD0_8733B BIT(4)
#define BIT_FS_TRIGGER_PKT_8733B BIT(3)
#define BIT_FS_EOSP_INT_8733B BIT(2)
#define BIT_FS_RPWM2_INT_8733B BIT(1)
#define BIT_FS_RPWM_INT_8733B BIT(0)

/* 2 REG_MBIST_DONE_8733B	-MACTOP MEMORY BIST DNOE */

#define BIT_SHIFT_BIST_DONE_8733B 0
#define BIT_MASK_BIST_DONE_8733B 0xffffffffL
#define BIT_BIST_DONE_8733B(x) (((x) & BIT_MASK_BIST_DONE_8733B) << BIT_SHIFT_BIST_DONE_8733B)
#define BITS_BIST_DONE_8733B (BIT_MASK_BIST_DONE_8733B << BIT_SHIFT_BIST_DONE_8733B)
#define BIT_CLEAR_BIST_DONE_8733B(x) ((x) & (~BITS_BIST_DONE_8733B))
#define BIT_GET_BIST_DONE_8733B(x) (((x) >> BIT_SHIFT_BIST_DONE_8733B) & BIT_MASK_BIST_DONE_8733B)
#define BIT_SET_BIST_DONE_8733B(x, v) (BIT_CLEAR_BIST_DONE_8733B(x) | BIT_BIST_DONE_8733B(v))

/* 2 REG_MBIST_FAIL_NRML_L_8733B	-MACTOP MEMORY BIST FAIL */

#define BIT_SHIFT_BIST_FAIL_NRML_L_8733B 0
#define BIT_MASK_BIST_FAIL_NRML_L_8733B 0xffffffffL
#define BIT_BIST_FAIL_NRML_L_8733B(x) (((x) & BIT_MASK_BIST_FAIL_NRML_L_8733B) << BIT_SHIFT_BIST_FAIL_NRML_L_8733B)
#define BITS_BIST_FAIL_NRML_L_8733B (BIT_MASK_BIST_FAIL_NRML_L_8733B << BIT_SHIFT_BIST_FAIL_NRML_L_8733B)
#define BIT_CLEAR_BIST_FAIL_NRML_L_8733B(x) ((x) & (~BITS_BIST_FAIL_NRML_L_8733B))
#define BIT_GET_BIST_FAIL_NRML_L_8733B(x) (((x) >> BIT_SHIFT_BIST_FAIL_NRML_L_8733B) & BIT_MASK_BIST_FAIL_NRML_L_8733B)
#define BIT_SET_BIST_FAIL_NRML_L_8733B(x, v) (BIT_CLEAR_BIST_FAIL_NRML_L_8733B(x) | BIT_BIST_FAIL_NRML_L_8733B(v))

/* 2 REG_MBIST_FAIL_NRML_H_8733B	-MACTOP MEMORY BIST FAIL */

#define BIT_SHIFT_BIST_FAIL_NRML_H_8733B (32 & CPU_OPT_WIDTH)
#define BIT_MASK_BIST_FAIL_NRML_H_8733B 0xffffffffL
#define BIT_BIST_FAIL_NRML_H_8733B(x) (((x) & BIT_MASK_BIST_FAIL_NRML_H_8733B) << BIT_SHIFT_BIST_FAIL_NRML_H_8733B)
#define BITS_BIST_FAIL_NRML_H_8733B (BIT_MASK_BIST_FAIL_NRML_H_8733B << BIT_SHIFT_BIST_FAIL_NRML_H_8733B)
#define BIT_CLEAR_BIST_FAIL_NRML_H_8733B(x) ((x) & (~BITS_BIST_FAIL_NRML_H_8733B))
#define BIT_GET_BIST_FAIL_NRML_H_8733B(x) (((x) >> BIT_SHIFT_BIST_FAIL_NRML_H_8733B) & BIT_MASK_BIST_FAIL_NRML_H_8733B)
#define BIT_SET_BIST_FAIL_NRML_H_8733B(x, v) (BIT_CLEAR_BIST_FAIL_NRML_H_8733B(x) | BIT_BIST_FAIL_NRML_H_8733B(v))

/* 2 REG_MBIST_DRF_FAIL_L_8733B */

#define BIT_SHIFT_BIST_FAIL_DRF_L_8733B 0
#define BIT_MASK_BIST_FAIL_DRF_L_8733B 0xffffffffL
#define BIT_BIST_FAIL_DRF_L_8733B(x) (((x) & BIT_MASK_BIST_FAIL_DRF_L_8733B) << BIT_SHIFT_BIST_FAIL_DRF_L_8733B)
#define BITS_BIST_FAIL_DRF_L_8733B (BIT_MASK_BIST_FAIL_DRF_L_8733B << BIT_SHIFT_BIST_FAIL_DRF_L_8733B)
#define BIT_CLEAR_BIST_FAIL_DRF_L_8733B(x) ((x) & (~BITS_BIST_FAIL_DRF_L_8733B))
#define BIT_GET_BIST_FAIL_DRF_L_8733B(x) (((x) >> BIT_SHIFT_BIST_FAIL_DRF_L_8733B) & BIT_MASK_BIST_FAIL_DRF_L_8733B)
#define BIT_SET_BIST_FAIL_DRF_L_8733B(x, v) (BIT_CLEAR_BIST_FAIL_DRF_L_8733B(x) | BIT_BIST_FAIL_DRF_L_8733B(v))

/* 2 REG_MBIST_DRF_FAIL_H_8733B */

#define BIT_SHIFT_BIST_FAIL_DRF_H_8733B (32 & CPU_OPT_WIDTH)
#define BIT_MASK_BIST_FAIL_DRF_H_8733B 0xffffffffL
#define BIT_BIST_FAIL_DRF_H_8733B(x) (((x) & BIT_MASK_BIST_FAIL_DRF_H_8733B) << BIT_SHIFT_BIST_FAIL_DRF_H_8733B)
#define BITS_BIST_FAIL_DRF_H_8733B (BIT_MASK_BIST_FAIL_DRF_H_8733B << BIT_SHIFT_BIST_FAIL_DRF_H_8733B)
#define BIT_CLEAR_BIST_FAIL_DRF_H_8733B(x) ((x) & (~BITS_BIST_FAIL_DRF_H_8733B))
#define BIT_GET_BIST_FAIL_DRF_H_8733B(x) (((x) >> BIT_SHIFT_BIST_FAIL_DRF_H_8733B) & BIT_MASK_BIST_FAIL_DRF_H_8733B)
#define BIT_SET_BIST_FAIL_DRF_H_8733B(x, v) (BIT_CLEAR_BIST_FAIL_DRF_H_8733B(x) | BIT_BIST_FAIL_DRF_H_8733B(v))

/* 2 REG_MBIST_START_PAUSE_8733B	-MACTOP MEMORY BIST START PAUSE */

#define BIT_SHIFT_BIST_START_PAUSE_V1_8733B 0
#define BIT_MASK_BIST_START_PAUSE_V1_8733B 0xffffffffL
#define BIT_BIST_START_PAUSE_V1_8733B(x) (((x) & BIT_MASK_BIST_START_PAUSE_V1_8733B) << BIT_SHIFT_BIST_START_PAUSE_V1_8733B)
#define BITS_BIST_START_PAUSE_V1_8733B (BIT_MASK_BIST_START_PAUSE_V1_8733B << BIT_SHIFT_BIST_START_PAUSE_V1_8733B)
#define BIT_CLEAR_BIST_START_PAUSE_V1_8733B(x) ((x) & (~BITS_BIST_START_PAUSE_V1_8733B))
#define BIT_GET_BIST_START_PAUSE_V1_8733B(x) (((x) >> BIT_SHIFT_BIST_START_PAUSE_V1_8733B) & BIT_MASK_BIST_START_PAUSE_V1_8733B)
#define BIT_SET_BIST_START_PAUSE_V1_8733B(x, v) (BIT_CLEAR_BIST_START_PAUSE_V1_8733B(x) | BIT_BIST_START_PAUSE_V1_8733B(v))

/* 2 REG_MBIST_RPT_8733B */

#define BIT_SHIFT_REG_MBIST_BT_RPT_8733B 0
#define BIT_MASK_REG_MBIST_BT_RPT_8733B 0xffffffffL
#define BIT_REG_MBIST_BT_RPT_8733B(x) (((x) & BIT_MASK_REG_MBIST_BT_RPT_8733B) << BIT_SHIFT_REG_MBIST_BT_RPT_8733B)
#define BITS_REG_MBIST_BT_RPT_8733B (BIT_MASK_REG_MBIST_BT_RPT_8733B << BIT_SHIFT_REG_MBIST_BT_RPT_8733B)
#define BIT_CLEAR_REG_MBIST_BT_RPT_8733B(x) ((x) & (~BITS_REG_MBIST_BT_RPT_8733B))
#define BIT_GET_REG_MBIST_BT_RPT_8733B(x) (((x) >> BIT_SHIFT_REG_MBIST_BT_RPT_8733B) & BIT_MASK_REG_MBIST_BT_RPT_8733B)
#define BIT_SET_REG_MBIST_BT_RPT_8733B(x, v) (BIT_CLEAR_REG_MBIST_BT_RPT_8733B(x) | BIT_REG_MBIST_BT_RPT_8733B(v))

/* 2 REG_NOT_VALID_8733B */

#define BIT_SHIFT_WL_ROM_BIST_RPT_8733B 0
#define BIT_MASK_WL_ROM_BIST_RPT_8733B 0xffffffffL
#define BIT_WL_ROM_BIST_RPT_8733B(x) (((x) & BIT_MASK_WL_ROM_BIST_RPT_8733B) << BIT_SHIFT_WL_ROM_BIST_RPT_8733B)
#define BITS_WL_ROM_BIST_RPT_8733B (BIT_MASK_WL_ROM_BIST_RPT_8733B << BIT_SHIFT_WL_ROM_BIST_RPT_8733B)
#define BIT_CLEAR_WL_ROM_BIST_RPT_8733B(x) ((x) & (~BITS_WL_ROM_BIST_RPT_8733B))
#define BIT_GET_WL_ROM_BIST_RPT_8733B(x) (((x) >> BIT_SHIFT_WL_ROM_BIST_RPT_8733B) & BIT_MASK_WL_ROM_BIST_RPT_8733B)
#define BIT_SET_WL_ROM_BIST_RPT_8733B(x, v) (BIT_CLEAR_WL_ROM_BIST_RPT_8733B(x) | BIT_WL_ROM_BIST_RPT_8733B(v))

/* 2 REG_NOT_VALID_8733B */

#define BIT_SHIFT_RXBCN_TBTT_ITVL_CLI2_8733B 24
#define BIT_MASK_RXBCN_TBTT_ITVL_CLI2_8733B 0xff
#define BIT_RXBCN_TBTT_ITVL_CLI2_8733B(x) (((x) & BIT_MASK_RXBCN_TBTT_ITVL_CLI2_8733B) << BIT_SHIFT_RXBCN_TBTT_ITVL_CLI2_8733B)
#define BITS_RXBCN_TBTT_ITVL_CLI2_8733B (BIT_MASK_RXBCN_TBTT_ITVL_CLI2_8733B << BIT_SHIFT_RXBCN_TBTT_ITVL_CLI2_8733B)
#define BIT_CLEAR_RXBCN_TBTT_ITVL_CLI2_8733B(x) ((x) & (~BITS_RXBCN_TBTT_ITVL_CLI2_8733B))
#define BIT_GET_RXBCN_TBTT_ITVL_CLI2_8733B(x) (((x) >> BIT_SHIFT_RXBCN_TBTT_ITVL_CLI2_8733B) & BIT_MASK_RXBCN_TBTT_ITVL_CLI2_8733B)
#define BIT_SET_RXBCN_TBTT_ITVL_CLI2_8733B(x, v) (BIT_CLEAR_RXBCN_TBTT_ITVL_CLI2_8733B(x) | BIT_RXBCN_TBTT_ITVL_CLI2_8733B(v))

#define BIT_SHIFT_RXBCN_TBTT_ITVL_CLI1_8733B 16
#define BIT_MASK_RXBCN_TBTT_ITVL_CLI1_8733B 0xff
#define BIT_RXBCN_TBTT_ITVL_CLI1_8733B(x) (((x) & BIT_MASK_RXBCN_TBTT_ITVL_CLI1_8733B) << BIT_SHIFT_RXBCN_TBTT_ITVL_CLI1_8733B)
#define BITS_RXBCN_TBTT_ITVL_CLI1_8733B (BIT_MASK_RXBCN_TBTT_ITVL_CLI1_8733B << BIT_SHIFT_RXBCN_TBTT_ITVL_CLI1_8733B)
#define BIT_CLEAR_RXBCN_TBTT_ITVL_CLI1_8733B(x) ((x) & (~BITS_RXBCN_TBTT_ITVL_CLI1_8733B))
#define BIT_GET_RXBCN_TBTT_ITVL_CLI1_8733B(x) (((x) >> BIT_SHIFT_RXBCN_TBTT_ITVL_CLI1_8733B) & BIT_MASK_RXBCN_TBTT_ITVL_CLI1_8733B)
#define BIT_SET_RXBCN_TBTT_ITVL_CLI1_8733B(x, v) (BIT_CLEAR_RXBCN_TBTT_ITVL_CLI1_8733B(x) | BIT_RXBCN_TBTT_ITVL_CLI1_8733B(v))

#define BIT_SHIFT_RXBCN_TBTT_ITVL_CLI0_8733B 8
#define BIT_MASK_RXBCN_TBTT_ITVL_CLI0_8733B 0xff
#define BIT_RXBCN_TBTT_ITVL_CLI0_8733B(x) (((x) & BIT_MASK_RXBCN_TBTT_ITVL_CLI0_8733B) << BIT_SHIFT_RXBCN_TBTT_ITVL_CLI0_8733B)
#define BITS_RXBCN_TBTT_ITVL_CLI0_8733B (BIT_MASK_RXBCN_TBTT_ITVL_CLI0_8733B << BIT_SHIFT_RXBCN_TBTT_ITVL_CLI0_8733B)
#define BIT_CLEAR_RXBCN_TBTT_ITVL_CLI0_8733B(x) ((x) & (~BITS_RXBCN_TBTT_ITVL_CLI0_8733B))
#define BIT_GET_RXBCN_TBTT_ITVL_CLI0_8733B(x) (((x) >> BIT_SHIFT_RXBCN_TBTT_ITVL_CLI0_8733B) & BIT_MASK_RXBCN_TBTT_ITVL_CLI0_8733B)
#define BIT_SET_RXBCN_TBTT_ITVL_CLI0_8733B(x, v) (BIT_CLEAR_RXBCN_TBTT_ITVL_CLI0_8733B(x) | BIT_RXBCN_TBTT_ITVL_CLI0_8733B(v))

#define BIT_SHIFT_RXBCN_TBTT_ITVL_P0_8733B 0
#define BIT_MASK_RXBCN_TBTT_ITVL_P0_8733B 0xff
#define BIT_RXBCN_TBTT_ITVL_P0_8733B(x) (((x) & BIT_MASK_RXBCN_TBTT_ITVL_P0_8733B) << BIT_SHIFT_RXBCN_TBTT_ITVL_P0_8733B)
#define BITS_RXBCN_TBTT_ITVL_P0_8733B (BIT_MASK_RXBCN_TBTT_ITVL_P0_8733B << BIT_SHIFT_RXBCN_TBTT_ITVL_P0_8733B)
#define BIT_CLEAR_RXBCN_TBTT_ITVL_P0_8733B(x) ((x) & (~BITS_RXBCN_TBTT_ITVL_P0_8733B))
#define BIT_GET_RXBCN_TBTT_ITVL_P0_8733B(x) (((x) >> BIT_SHIFT_RXBCN_TBTT_ITVL_P0_8733B) & BIT_MASK_RXBCN_TBTT_ITVL_P0_8733B)
#define BIT_SET_RXBCN_TBTT_ITVL_P0_8733B(x, v) (BIT_CLEAR_RXBCN_TBTT_ITVL_P0_8733B(x) | BIT_RXBCN_TBTT_ITVL_P0_8733B(v))

/* 2 REG_NOT_VALID_8733B */

#define BIT_SHIFT_RXBCN_TBTT_ITVL_CLI3_8733B 0
#define BIT_MASK_RXBCN_TBTT_ITVL_CLI3_8733B 0xff
#define BIT_RXBCN_TBTT_ITVL_CLI3_8733B(x) (((x) & BIT_MASK_RXBCN_TBTT_ITVL_CLI3_8733B) << BIT_SHIFT_RXBCN_TBTT_ITVL_CLI3_8733B)
#define BITS_RXBCN_TBTT_ITVL_CLI3_8733B (BIT_MASK_RXBCN_TBTT_ITVL_CLI3_8733B << BIT_SHIFT_RXBCN_TBTT_ITVL_CLI3_8733B)
#define BIT_CLEAR_RXBCN_TBTT_ITVL_CLI3_8733B(x) ((x) & (~BITS_RXBCN_TBTT_ITVL_CLI3_8733B))
#define BIT_GET_RXBCN_TBTT_ITVL_CLI3_8733B(x) (((x) >> BIT_SHIFT_RXBCN_TBTT_ITVL_CLI3_8733B) & BIT_MASK_RXBCN_TBTT_ITVL_CLI3_8733B)
#define BIT_SET_RXBCN_TBTT_ITVL_CLI3_8733B(x, v) (BIT_CLEAR_RXBCN_TBTT_ITVL_CLI3_8733B(x) | BIT_RXBCN_TBTT_ITVL_CLI3_8733B(v))

/* 2 REG_FE5IMR_8733B */

/* 2 REG_FE5ISR_8733B */

/* 2 REG_FE6IMR_8733B */

/* 2 REG_FE6ISR_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_BT_MBIST_DONE_8733B */

#define BIT_SHIFT_BIST_DONE_BT_0_8733B 0
#define BIT_MASK_BIST_DONE_BT_0_8733B 0xffffffffL
#define BIT_BIST_DONE_BT_0_8733B(x) (((x) & BIT_MASK_BIST_DONE_BT_0_8733B) << BIT_SHIFT_BIST_DONE_BT_0_8733B)
#define BITS_BIST_DONE_BT_0_8733B (BIT_MASK_BIST_DONE_BT_0_8733B << BIT_SHIFT_BIST_DONE_BT_0_8733B)
#define BIT_CLEAR_BIST_DONE_BT_0_8733B(x) ((x) & (~BITS_BIST_DONE_BT_0_8733B))
#define BIT_GET_BIST_DONE_BT_0_8733B(x) (((x) >> BIT_SHIFT_BIST_DONE_BT_0_8733B) & BIT_MASK_BIST_DONE_BT_0_8733B)
#define BIT_SET_BIST_DONE_BT_0_8733B(x, v) (BIT_CLEAR_BIST_DONE_BT_0_8733B(x) | BIT_BIST_DONE_BT_0_8733B(v))

/* 2 REG_BT_MBIST_FAIL_8733B */

#define BIT_SHIFT_BIST_FAIL_BT_0_8733B 9
#define BIT_MASK_BIST_FAIL_BT_0_8733B 0x7fffff
#define BIT_BIST_FAIL_BT_0_8733B(x) (((x) & BIT_MASK_BIST_FAIL_BT_0_8733B) << BIT_SHIFT_BIST_FAIL_BT_0_8733B)
#define BITS_BIST_FAIL_BT_0_8733B (BIT_MASK_BIST_FAIL_BT_0_8733B << BIT_SHIFT_BIST_FAIL_BT_0_8733B)
#define BIT_CLEAR_BIST_FAIL_BT_0_8733B(x) ((x) & (~BITS_BIST_FAIL_BT_0_8733B))
#define BIT_GET_BIST_FAIL_BT_0_8733B(x) (((x) >> BIT_SHIFT_BIST_FAIL_BT_0_8733B) & BIT_MASK_BIST_FAIL_BT_0_8733B)
#define BIT_SET_BIST_FAIL_BT_0_8733B(x, v) (BIT_CLEAR_BIST_FAIL_BT_0_8733B(x) | BIT_BIST_FAIL_BT_0_8733B(v))

#define BIT_SHIFT_BIST_DONE_BT_1_8733B 0
#define BIT_MASK_BIST_DONE_BT_1_8733B 0x1ff
#define BIT_BIST_DONE_BT_1_8733B(x) (((x) & BIT_MASK_BIST_DONE_BT_1_8733B) << BIT_SHIFT_BIST_DONE_BT_1_8733B)
#define BITS_BIST_DONE_BT_1_8733B (BIT_MASK_BIST_DONE_BT_1_8733B << BIT_SHIFT_BIST_DONE_BT_1_8733B)
#define BIT_CLEAR_BIST_DONE_BT_1_8733B(x) ((x) & (~BITS_BIST_DONE_BT_1_8733B))
#define BIT_GET_BIST_DONE_BT_1_8733B(x) (((x) >> BIT_SHIFT_BIST_DONE_BT_1_8733B) & BIT_MASK_BIST_DONE_BT_1_8733B)
#define BIT_SET_BIST_DONE_BT_1_8733B(x, v) (BIT_CLEAR_BIST_DONE_BT_1_8733B(x) | BIT_BIST_DONE_BT_1_8733B(v))

/* 2 REG_BT_MBIST_START_PAUSE_8733B */

#define BIT_SHIFT_DRF_START_PAUSE_BT_0_8733B 18
#define BIT_MASK_DRF_START_PAUSE_BT_0_8733B 0x3fff
#define BIT_DRF_START_PAUSE_BT_0_8733B(x) (((x) & BIT_MASK_DRF_START_PAUSE_BT_0_8733B) << BIT_SHIFT_DRF_START_PAUSE_BT_0_8733B)
#define BITS_DRF_START_PAUSE_BT_0_8733B (BIT_MASK_DRF_START_PAUSE_BT_0_8733B << BIT_SHIFT_DRF_START_PAUSE_BT_0_8733B)
#define BIT_CLEAR_DRF_START_PAUSE_BT_0_8733B(x) ((x) & (~BITS_DRF_START_PAUSE_BT_0_8733B))
#define BIT_GET_DRF_START_PAUSE_BT_0_8733B(x) (((x) >> BIT_SHIFT_DRF_START_PAUSE_BT_0_8733B) & BIT_MASK_DRF_START_PAUSE_BT_0_8733B)
#define BIT_SET_DRF_START_PAUSE_BT_0_8733B(x, v) (BIT_CLEAR_DRF_START_PAUSE_BT_0_8733B(x) | BIT_DRF_START_PAUSE_BT_0_8733B(v))

#define BIT_SHIFT_BIST_FAIL_BT_1_8733B 0
#define BIT_MASK_BIST_FAIL_BT_1_8733B 0x3ffff
#define BIT_BIST_FAIL_BT_1_8733B(x) (((x) & BIT_MASK_BIST_FAIL_BT_1_8733B) << BIT_SHIFT_BIST_FAIL_BT_1_8733B)
#define BITS_BIST_FAIL_BT_1_8733B (BIT_MASK_BIST_FAIL_BT_1_8733B << BIT_SHIFT_BIST_FAIL_BT_1_8733B)
#define BIT_CLEAR_BIST_FAIL_BT_1_8733B(x) ((x) & (~BITS_BIST_FAIL_BT_1_8733B))
#define BIT_GET_BIST_FAIL_BT_1_8733B(x) (((x) >> BIT_SHIFT_BIST_FAIL_BT_1_8733B) & BIT_MASK_BIST_FAIL_BT_1_8733B)
#define BIT_SET_BIST_FAIL_BT_1_8733B(x, v) (BIT_CLEAR_BIST_FAIL_BT_1_8733B(x) | BIT_BIST_FAIL_BT_1_8733B(v))

/* 2 REG_BT_MBIST_START_PAUSE1_8733B */

#define BIT_SHIFT_DRF_START_PAUSE_BT_1_8733B 0
#define BIT_MASK_DRF_START_PAUSE_BT_1_8733B 0x7ffffff
#define BIT_DRF_START_PAUSE_BT_1_8733B(x) (((x) & BIT_MASK_DRF_START_PAUSE_BT_1_8733B) << BIT_SHIFT_DRF_START_PAUSE_BT_1_8733B)
#define BITS_DRF_START_PAUSE_BT_1_8733B (BIT_MASK_DRF_START_PAUSE_BT_1_8733B << BIT_SHIFT_DRF_START_PAUSE_BT_1_8733B)
#define BIT_CLEAR_DRF_START_PAUSE_BT_1_8733B(x) ((x) & (~BITS_DRF_START_PAUSE_BT_1_8733B))
#define BIT_GET_DRF_START_PAUSE_BT_1_8733B(x) (((x) >> BIT_SHIFT_DRF_START_PAUSE_BT_1_8733B) & BIT_MASK_DRF_START_PAUSE_BT_1_8733B)
#define BIT_SET_DRF_START_PAUSE_BT_1_8733B(x, v) (BIT_CLEAR_DRF_START_PAUSE_BT_1_8733B(x) | BIT_DRF_START_PAUSE_BT_1_8733B(v))

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_FT2IMR_8733B */
#define BIT_PORT4_RX_UCMD1_UAPSD0_OK_INT_EN_8733B BIT(31)
#define BIT_PORT4_RX_UCMD0_UAPSD0_OK_INT_EN_8733B BIT(30)
#define BIT_PORT4_TRIPKT_OK_INT_EN_8733B BIT(29)
#define BIT_PORT4_RX_EOSP_OK_INT_EN_8733B BIT(28)
#define BIT_PORT3_RX_UCMD1_UAPSD0_OK_INT_EN_8733B BIT(27)
#define BIT_PORT3_RX_UCMD0_UAPSD0_OK_INT_EN_8733B BIT(26)
#define BIT_PORT3_TRIPKT_OK_INT_EN_8733B BIT(25)
#define BIT_PORT3_RX_EOSP_OK_INT_EN_8733B BIT(24)
#define BIT_PORT2_RX_UCMD1_UAPSD0_OK_INT_EN_8733B BIT(23)
#define BIT_PORT2_RX_UCMD0_UAPSD0_OK_INT_EN_8733B BIT(22)
#define BIT_PORT2_TRIPKT_OK_INT_EN_8733B BIT(21)
#define BIT_PORT2_RX_EOSP_OK_INT_EN_8733B BIT(20)
#define BIT_PORT1_RX_UCMD1_UAPSD0_OK_INT_EN_8733B BIT(19)
#define BIT_PORT1_RX_UCMD0_UAPSD0_OK_INT_EN_8733B BIT(18)
#define BIT_PORT1_TRIPKT_OK_INT_EN_8733B BIT(17)
#define BIT_PORT1_RX_EOSP_OK_INT_EN_8733B BIT(16)
#define BIT_NOA2_TSFT_BIT32_INT_EN_8733B BIT(9)
#define BIT_NOA1_TSFT_BIT32_INT_EN_8733B BIT(8)
#define BIT_PORT4_TX_NULL1_DONE_INT_EN_8733B BIT(7)
#define BIT_PORT4_TX_NULL0_DONE_INT_EN_8733B BIT(6)
#define BIT_PORT3_TX_NULL1_DONE_INT_EN_8733B BIT(5)
#define BIT_PORT3_TX_NULL0_DONE_INT_EN_8733B BIT(4)
#define BIT_PORT2_TX_NULL1_DONE_INT_EN_8733B BIT(3)
#define BIT_PORT2_TX_NULL0_DONE_INT_EN_8733B BIT(2)
#define BIT_PORT1_TX_NULL1_DONE_INT_EN_8733B BIT(1)
#define BIT_PORT1_TX_NULL0_DONE_INT_EN_8733B BIT(0)

/* 2 REG_FT2ISR_8733B */
#define BIT_PORT4_RX_UCMD1_UAPSD0_OK_INT_8733B BIT(31)
#define BIT_PORT4_RX_UCMD0_UAPSD0_OK_INT_8733B BIT(30)
#define BIT_PORT4_TRIPKT_OK_INT_8733B BIT(29)
#define BIT_PORT4_RX_EOSP_OK_INT_8733B BIT(28)
#define BIT_PORT3_RX_UCMD1_UAPSD0_OK_INT_8733B BIT(27)
#define BIT_PORT3_RX_UCMD0_UAPSD0_OK_INT_8733B BIT(26)
#define BIT_PORT3_TRIPKT_OK_INT_8733B BIT(25)
#define BIT_PORT3_RX_EOSP_OK_INT_8733B BIT(24)
#define BIT_PORT2_RX_UCMD1_UAPSD0_OK_INT_8733B BIT(23)
#define BIT_PORT2_RX_UCMD0_UAPSD0_OK_INT_8733B BIT(22)
#define BIT_PORT2_TRIPKT_OK_INT_8733B BIT(21)
#define BIT_PORT2_RX_EOSP_OK_INT_8733B BIT(20)
#define BIT_PORT1_RX_UCMD1_UAPSD0_OK_INT_8733B BIT(19)
#define BIT_PORT1_RX_UCMD0_UAPSD0_OK_INT_8733B BIT(18)
#define BIT_PORT1_TRIPKT_OK_INT_8733B BIT(17)
#define BIT_PORT1_RX_EOSP_OK_INT_8733B BIT(16)
#define BIT_NOA2_TSFT_BIT32_INT_8733B BIT(9)
#define BIT_NOA1_TSFT_BIT32_INT_8733B BIT(8)
#define BIT_PORT4_TX_NULL1_DONE_INT_8733B BIT(7)
#define BIT_PORT4_TX_NULL0_DONE_INT_8733B BIT(6)
#define BIT_PORT3_TX_NULL1_DONE_INT_8733B BIT(5)
#define BIT_PORT3_TX_NULL0_DONE_INT_8733B BIT(4)
#define BIT_PORT2_TX_NULL1_DONE_INT_8733B BIT(3)
#define BIT_PORT2_TX_NULL0_DONE_INT_8733B BIT(2)
#define BIT_PORT1_TX_NULL1_DONE_INT_8733B BIT(1)
#define BIT_PORT1_TX_NULL0_DONE_INT_8733B BIT(0)

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_MSG2_8733B */

#define BIT_SHIFT_FW_MSG2_8733B 0
#define BIT_MASK_FW_MSG2_8733B 0xffffffffL
#define BIT_FW_MSG2_8733B(x) (((x) & BIT_MASK_FW_MSG2_8733B) << BIT_SHIFT_FW_MSG2_8733B)
#define BITS_FW_MSG2_8733B (BIT_MASK_FW_MSG2_8733B << BIT_SHIFT_FW_MSG2_8733B)
#define BIT_CLEAR_FW_MSG2_8733B(x) ((x) & (~BITS_FW_MSG2_8733B))
#define BIT_GET_FW_MSG2_8733B(x) (((x) >> BIT_SHIFT_FW_MSG2_8733B) & BIT_MASK_FW_MSG2_8733B)
#define BIT_SET_FW_MSG2_8733B(x, v) (BIT_CLEAR_FW_MSG2_8733B(x) | BIT_FW_MSG2_8733B(v))

/* 2 REG_MSG3_8733B */

#define BIT_SHIFT_FW_MSG3_8733B 0
#define BIT_MASK_FW_MSG3_8733B 0xffffffffL
#define BIT_FW_MSG3_8733B(x) (((x) & BIT_MASK_FW_MSG3_8733B) << BIT_SHIFT_FW_MSG3_8733B)
#define BITS_FW_MSG3_8733B (BIT_MASK_FW_MSG3_8733B << BIT_SHIFT_FW_MSG3_8733B)
#define BIT_CLEAR_FW_MSG3_8733B(x) ((x) & (~BITS_FW_MSG3_8733B))
#define BIT_GET_FW_MSG3_8733B(x) (((x) >> BIT_SHIFT_FW_MSG3_8733B) & BIT_MASK_FW_MSG3_8733B)
#define BIT_SET_FW_MSG3_8733B(x, v) (BIT_CLEAR_FW_MSG3_8733B(x) | BIT_FW_MSG3_8733B(v))

/* 2 REG_MSG4_8733B */

#define BIT_SHIFT_FW_MSG4_8733B 0
#define BIT_MASK_FW_MSG4_8733B 0xffffffffL
#define BIT_FW_MSG4_8733B(x) (((x) & BIT_MASK_FW_MSG4_8733B) << BIT_SHIFT_FW_MSG4_8733B)
#define BITS_FW_MSG4_8733B (BIT_MASK_FW_MSG4_8733B << BIT_SHIFT_FW_MSG4_8733B)
#define BIT_CLEAR_FW_MSG4_8733B(x) ((x) & (~BITS_FW_MSG4_8733B))
#define BIT_GET_FW_MSG4_8733B(x) (((x) >> BIT_SHIFT_FW_MSG4_8733B) & BIT_MASK_FW_MSG4_8733B)
#define BIT_SET_FW_MSG4_8733B(x, v) (BIT_CLEAR_FW_MSG4_8733B(x) | BIT_FW_MSG4_8733B(v))

/* 2 REG_MSG5_8733B */

#define BIT_SHIFT_FW_MSG5_8733B 0
#define BIT_MASK_FW_MSG5_8733B 0xffffffffL
#define BIT_FW_MSG5_8733B(x) (((x) & BIT_MASK_FW_MSG5_8733B) << BIT_SHIFT_FW_MSG5_8733B)
#define BITS_FW_MSG5_8733B (BIT_MASK_FW_MSG5_8733B << BIT_SHIFT_FW_MSG5_8733B)
#define BIT_CLEAR_FW_MSG5_8733B(x) ((x) & (~BITS_FW_MSG5_8733B))
#define BIT_GET_FW_MSG5_8733B(x) (((x) >> BIT_SHIFT_FW_MSG5_8733B) & BIT_MASK_FW_MSG5_8733B)
#define BIT_SET_FW_MSG5_8733B(x, v) (BIT_CLEAR_FW_MSG5_8733B(x) | BIT_FW_MSG5_8733B(v))

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_RQPN_CTRL_HLPQ_8733B */

/* 2 REG_NOT_VALID_8733B */
#define BIT_LOAD_R_PGNUM_8733B BIT(31)
#define BIT_EPQ_PUBLIC_DIS_8733B BIT(27)
#define BIT_NPQ_PUBLIC_DIS_8733B BIT(26)
#define BIT_LPQ_PUBLIC_DIS_8733B BIT(25)
#define BIT_HPQ_PUBLIC_DIS_8733B BIT(24)

#define BIT_SHIFT_PUBQ_8733B 16
#define BIT_MASK_PUBQ_8733B 0xff
#define BIT_PUBQ_8733B(x) (((x) & BIT_MASK_PUBQ_8733B) << BIT_SHIFT_PUBQ_8733B)
#define BITS_PUBQ_8733B (BIT_MASK_PUBQ_8733B << BIT_SHIFT_PUBQ_8733B)
#define BIT_CLEAR_PUBQ_8733B(x) ((x) & (~BITS_PUBQ_8733B))
#define BIT_GET_PUBQ_8733B(x) (((x) >> BIT_SHIFT_PUBQ_8733B) & BIT_MASK_PUBQ_8733B)
#define BIT_SET_PUBQ_8733B(x, v) (BIT_CLEAR_PUBQ_8733B(x) | BIT_PUBQ_8733B(v))

#define BIT_SHIFT_LPQ_8733B 8
#define BIT_MASK_LPQ_8733B 0xff
#define BIT_LPQ_8733B(x) (((x) & BIT_MASK_LPQ_8733B) << BIT_SHIFT_LPQ_8733B)
#define BITS_LPQ_8733B (BIT_MASK_LPQ_8733B << BIT_SHIFT_LPQ_8733B)
#define BIT_CLEAR_LPQ_8733B(x) ((x) & (~BITS_LPQ_8733B))
#define BIT_GET_LPQ_8733B(x) (((x) >> BIT_SHIFT_LPQ_8733B) & BIT_MASK_LPQ_8733B)
#define BIT_SET_LPQ_8733B(x, v) (BIT_CLEAR_LPQ_8733B(x) | BIT_LPQ_8733B(v))

#define BIT_SHIFT_HPQ_8733B 0
#define BIT_MASK_HPQ_8733B 0xff
#define BIT_HPQ_8733B(x) (((x) & BIT_MASK_HPQ_8733B) << BIT_SHIFT_HPQ_8733B)
#define BITS_HPQ_8733B (BIT_MASK_HPQ_8733B << BIT_SHIFT_HPQ_8733B)
#define BIT_CLEAR_HPQ_8733B(x) ((x) & (~BITS_HPQ_8733B))
#define BIT_GET_HPQ_8733B(x) (((x) >> BIT_SHIFT_HPQ_8733B) & BIT_MASK_HPQ_8733B)
#define BIT_SET_HPQ_8733B(x, v) (BIT_CLEAR_HPQ_8733B(x) | BIT_HPQ_8733B(v))

/* 2 REG_FIFOPAGE_INFO_8733B */

#define BIT_SHIFT_TXPKTNUM_8733B 24
#define BIT_MASK_TXPKTNUM_8733B 0xff
#define BIT_TXPKTNUM_8733B(x) (((x) & BIT_MASK_TXPKTNUM_8733B) << BIT_SHIFT_TXPKTNUM_8733B)
#define BITS_TXPKTNUM_8733B (BIT_MASK_TXPKTNUM_8733B << BIT_SHIFT_TXPKTNUM_8733B)
#define BIT_CLEAR_TXPKTNUM_8733B(x) ((x) & (~BITS_TXPKTNUM_8733B))
#define BIT_GET_TXPKTNUM_8733B(x) (((x) >> BIT_SHIFT_TXPKTNUM_8733B) & BIT_MASK_TXPKTNUM_8733B)
#define BIT_SET_TXPKTNUM_8733B(x, v) (BIT_CLEAR_TXPKTNUM_8733B(x) | BIT_TXPKTNUM_8733B(v))

#define BIT_SHIFT_PUBQ_AVAL_PG_8733B 16
#define BIT_MASK_PUBQ_AVAL_PG_8733B 0xff
#define BIT_PUBQ_AVAL_PG_8733B(x) (((x) & BIT_MASK_PUBQ_AVAL_PG_8733B) << BIT_SHIFT_PUBQ_AVAL_PG_8733B)
#define BITS_PUBQ_AVAL_PG_8733B (BIT_MASK_PUBQ_AVAL_PG_8733B << BIT_SHIFT_PUBQ_AVAL_PG_8733B)
#define BIT_CLEAR_PUBQ_AVAL_PG_8733B(x) ((x) & (~BITS_PUBQ_AVAL_PG_8733B))
#define BIT_GET_PUBQ_AVAL_PG_8733B(x) (((x) >> BIT_SHIFT_PUBQ_AVAL_PG_8733B) & BIT_MASK_PUBQ_AVAL_PG_8733B)
#define BIT_SET_PUBQ_AVAL_PG_8733B(x, v) (BIT_CLEAR_PUBQ_AVAL_PG_8733B(x) | BIT_PUBQ_AVAL_PG_8733B(v))

#define BIT_SHIFT_LPQ_AVAL_PG_8733B 8
#define BIT_MASK_LPQ_AVAL_PG_8733B 0xff
#define BIT_LPQ_AVAL_PG_8733B(x) (((x) & BIT_MASK_LPQ_AVAL_PG_8733B) << BIT_SHIFT_LPQ_AVAL_PG_8733B)
#define BITS_LPQ_AVAL_PG_8733B (BIT_MASK_LPQ_AVAL_PG_8733B << BIT_SHIFT_LPQ_AVAL_PG_8733B)
#define BIT_CLEAR_LPQ_AVAL_PG_8733B(x) ((x) & (~BITS_LPQ_AVAL_PG_8733B))
#define BIT_GET_LPQ_AVAL_PG_8733B(x) (((x) >> BIT_SHIFT_LPQ_AVAL_PG_8733B) & BIT_MASK_LPQ_AVAL_PG_8733B)
#define BIT_SET_LPQ_AVAL_PG_8733B(x, v) (BIT_CLEAR_LPQ_AVAL_PG_8733B(x) | BIT_LPQ_AVAL_PG_8733B(v))

#define BIT_SHIFT_HPQ_AVAL_PG_8733B 0
#define BIT_MASK_HPQ_AVAL_PG_8733B 0xff
#define BIT_HPQ_AVAL_PG_8733B(x) (((x) & BIT_MASK_HPQ_AVAL_PG_8733B) << BIT_SHIFT_HPQ_AVAL_PG_8733B)
#define BITS_HPQ_AVAL_PG_8733B (BIT_MASK_HPQ_AVAL_PG_8733B << BIT_SHIFT_HPQ_AVAL_PG_8733B)
#define BIT_CLEAR_HPQ_AVAL_PG_8733B(x) ((x) & (~BITS_HPQ_AVAL_PG_8733B))
#define BIT_GET_HPQ_AVAL_PG_8733B(x) (((x) >> BIT_SHIFT_HPQ_AVAL_PG_8733B) & BIT_MASK_HPQ_AVAL_PG_8733B)
#define BIT_SET_HPQ_AVAL_PG_8733B(x, v) (BIT_CLEAR_HPQ_AVAL_PG_8733B(x) | BIT_HPQ_AVAL_PG_8733B(v))

/* 2 REG_DWBCN0_CTRL_8733B */

#define BIT_SHIFT_LLT_FREE_PAGE_8733B 24
#define BIT_MASK_LLT_FREE_PAGE_8733B 0xff
#define BIT_LLT_FREE_PAGE_8733B(x) (((x) & BIT_MASK_LLT_FREE_PAGE_8733B) << BIT_SHIFT_LLT_FREE_PAGE_8733B)
#define BITS_LLT_FREE_PAGE_8733B (BIT_MASK_LLT_FREE_PAGE_8733B << BIT_SHIFT_LLT_FREE_PAGE_8733B)
#define BIT_CLEAR_LLT_FREE_PAGE_8733B(x) ((x) & (~BITS_LLT_FREE_PAGE_8733B))
#define BIT_GET_LLT_FREE_PAGE_8733B(x) (((x) >> BIT_SHIFT_LLT_FREE_PAGE_8733B) & BIT_MASK_LLT_FREE_PAGE_8733B)
#define BIT_SET_LLT_FREE_PAGE_8733B(x, v) (BIT_CLEAR_LLT_FREE_PAGE_8733B(x) | BIT_LLT_FREE_PAGE_8733B(v))

#define BIT_SHIFT_RSVD_BYTE1_8733B 17
#define BIT_MASK_RSVD_BYTE1_8733B 0x7f
#define BIT_RSVD_BYTE1_8733B(x) (((x) & BIT_MASK_RSVD_BYTE1_8733B) << BIT_SHIFT_RSVD_BYTE1_8733B)
#define BITS_RSVD_BYTE1_8733B (BIT_MASK_RSVD_BYTE1_8733B << BIT_SHIFT_RSVD_BYTE1_8733B)
#define BIT_CLEAR_RSVD_BYTE1_8733B(x) ((x) & (~BITS_RSVD_BYTE1_8733B))
#define BIT_GET_RSVD_BYTE1_8733B(x) (((x) >> BIT_SHIFT_RSVD_BYTE1_8733B) & BIT_MASK_RSVD_BYTE1_8733B)
#define BIT_SET_RSVD_BYTE1_8733B(x, v) (BIT_CLEAR_RSVD_BYTE1_8733B(x) | BIT_RSVD_BYTE1_8733B(v))

#define BIT_BCN_VALID_8733B BIT(16)

#define BIT_SHIFT_BCN_HEAD_8733B 8
#define BIT_MASK_BCN_HEAD_8733B 0xff
#define BIT_BCN_HEAD_8733B(x) (((x) & BIT_MASK_BCN_HEAD_8733B) << BIT_SHIFT_BCN_HEAD_8733B)
#define BITS_BCN_HEAD_8733B (BIT_MASK_BCN_HEAD_8733B << BIT_SHIFT_BCN_HEAD_8733B)
#define BIT_CLEAR_BCN_HEAD_8733B(x) ((x) & (~BITS_BCN_HEAD_8733B))
#define BIT_GET_BCN_HEAD_8733B(x) (((x) >> BIT_SHIFT_BCN_HEAD_8733B) & BIT_MASK_BCN_HEAD_8733B)
#define BIT_SET_BCN_HEAD_8733B(x, v) (BIT_CLEAR_BCN_HEAD_8733B(x) | BIT_BCN_HEAD_8733B(v))

#define BIT_SHIFT_BLK_DESC_NUM_8733B 4
#define BIT_MASK_BLK_DESC_NUM_8733B 0xf
#define BIT_BLK_DESC_NUM_8733B(x) (((x) & BIT_MASK_BLK_DESC_NUM_8733B) << BIT_SHIFT_BLK_DESC_NUM_8733B)
#define BITS_BLK_DESC_NUM_8733B (BIT_MASK_BLK_DESC_NUM_8733B << BIT_SHIFT_BLK_DESC_NUM_8733B)
#define BIT_CLEAR_BLK_DESC_NUM_8733B(x) ((x) & (~BITS_BLK_DESC_NUM_8733B))
#define BIT_GET_BLK_DESC_NUM_8733B(x) (((x) >> BIT_SHIFT_BLK_DESC_NUM_8733B) & BIT_MASK_BLK_DESC_NUM_8733B)
#define BIT_SET_BLK_DESC_NUM_8733B(x, v) (BIT_CLEAR_BLK_DESC_NUM_8733B(x) | BIT_BLK_DESC_NUM_8733B(v))

#define BIT_BLK_DESC_OPT_8733B BIT(0)

/* 2 REG_TXDMA_OFFSET_CHK_8733B */
#define BIT_EN_CHKERR_FINISH_8733B BIT(31)
#define BIT_EN_DMA_PERMU_P_8733B BIT(30)
#define BIT_EN_TXQUE_CLR_8733B BIT(29)
#define BIT_EN_PCIE_FIFO_8733B BIT(28)

#define BIT_SHIFT_PG_UNDER_TH_8733B 16
#define BIT_MASK_PG_UNDER_TH_8733B 0xff
#define BIT_PG_UNDER_TH_8733B(x) (((x) & BIT_MASK_PG_UNDER_TH_8733B) << BIT_SHIFT_PG_UNDER_TH_8733B)
#define BITS_PG_UNDER_TH_8733B (BIT_MASK_PG_UNDER_TH_8733B << BIT_SHIFT_PG_UNDER_TH_8733B)
#define BIT_CLEAR_PG_UNDER_TH_8733B(x) ((x) & (~BITS_PG_UNDER_TH_8733B))
#define BIT_GET_PG_UNDER_TH_8733B(x) (((x) >> BIT_SHIFT_PG_UNDER_TH_8733B) & BIT_MASK_PG_UNDER_TH_8733B)
#define BIT_SET_PG_UNDER_TH_8733B(x, v) (BIT_CLEAR_PG_UNDER_TH_8733B(x) | BIT_PG_UNDER_TH_8733B(v))

#define BIT_DSC_CHKSUM_EN_8733B BIT(13)
#define BIT_RST_RDPTR_8733B BIT(12)
#define BIT_RST_WRPTR_8733B BIT(11)
#define BIT_CHK_PG_TH_EN_8733B BIT(10)
#define BIT_DROP_DATA_EN_8733B BIT(9)
#define BIT_CHECK_OFFSET_EN_8733B BIT(8)

#define BIT_SHIFT_CHK_OFFSET_8733B 0
#define BIT_MASK_CHK_OFFSET_8733B 0xff
#define BIT_CHK_OFFSET_8733B(x) (((x) & BIT_MASK_CHK_OFFSET_8733B) << BIT_SHIFT_CHK_OFFSET_8733B)
#define BITS_CHK_OFFSET_8733B (BIT_MASK_CHK_OFFSET_8733B << BIT_SHIFT_CHK_OFFSET_8733B)
#define BIT_CLEAR_CHK_OFFSET_8733B(x) ((x) & (~BITS_CHK_OFFSET_8733B))
#define BIT_GET_CHK_OFFSET_8733B(x) (((x) >> BIT_SHIFT_CHK_OFFSET_8733B) & BIT_MASK_CHK_OFFSET_8733B)
#define BIT_SET_CHK_OFFSET_8733B(x, v) (BIT_CLEAR_CHK_OFFSET_8733B(x) | BIT_CHK_OFFSET_8733B(v))

/* 2 REG_TXDMA_STATUS_8733B */
#define BIT_HI_OQT_UDN_8733B BIT(17)
#define BIT_HI_OQT_OVF_8733B BIT(16)
#define BIT_PAYLOAD_CHKSUM_ERR_8733B BIT(15)
#define BIT_PAYLOAD_UDN_8733B BIT(14)
#define BIT_PAYLOAD_OVF_8733B BIT(13)
#define BIT_DSC_CHKSUM_FAIL_8733B BIT(12)
#define BIT_UNKNOWN_QSEL_8733B BIT(11)
#define BIT_EP_QSEL_DIFF_8733B BIT(10)
#define BIT_TX_OFFS_UNMATCH_8733B BIT(9)
#define BIT_TXOQT_UDN_8733B BIT(8)
#define BIT_TXOQT_OVF_8733B BIT(7)
#define BIT_SFF_UDN_8733B BIT(6)
#define BIT_SFF_OVF_8733B BIT(5)
#define BIT_FREE_PG_FF_8733B BIT(4)
#define BIT_PAGE_UNDER_8733B BIT(3)
#define BIT_PAGE_OVER_8733B BIT(2)
#define BIT_PG_UDN_8733B BIT(1)
#define BIT_PG_OVF_8733B BIT(0)

/* 2 REG_RQPN_NPQ_8733B */

#define BIT_SHIFT_EPQ_PGNUM_8733B 24
#define BIT_MASK_EPQ_PGNUM_8733B 0xff
#define BIT_EPQ_PGNUM_8733B(x) (((x) & BIT_MASK_EPQ_PGNUM_8733B) << BIT_SHIFT_EPQ_PGNUM_8733B)
#define BITS_EPQ_PGNUM_8733B (BIT_MASK_EPQ_PGNUM_8733B << BIT_SHIFT_EPQ_PGNUM_8733B)
#define BIT_CLEAR_EPQ_PGNUM_8733B(x) ((x) & (~BITS_EPQ_PGNUM_8733B))
#define BIT_GET_EPQ_PGNUM_8733B(x) (((x) >> BIT_SHIFT_EPQ_PGNUM_8733B) & BIT_MASK_EPQ_PGNUM_8733B)
#define BIT_SET_EPQ_PGNUM_8733B(x, v) (BIT_CLEAR_EPQ_PGNUM_8733B(x) | BIT_EPQ_PGNUM_8733B(v))

#define BIT_SHIFT_EPQ_R_PGNUM_8733B 16
#define BIT_MASK_EPQ_R_PGNUM_8733B 0xff
#define BIT_EPQ_R_PGNUM_8733B(x) (((x) & BIT_MASK_EPQ_R_PGNUM_8733B) << BIT_SHIFT_EPQ_R_PGNUM_8733B)
#define BITS_EPQ_R_PGNUM_8733B (BIT_MASK_EPQ_R_PGNUM_8733B << BIT_SHIFT_EPQ_R_PGNUM_8733B)
#define BIT_CLEAR_EPQ_R_PGNUM_8733B(x) ((x) & (~BITS_EPQ_R_PGNUM_8733B))
#define BIT_GET_EPQ_R_PGNUM_8733B(x) (((x) >> BIT_SHIFT_EPQ_R_PGNUM_8733B) & BIT_MASK_EPQ_R_PGNUM_8733B)
#define BIT_SET_EPQ_R_PGNUM_8733B(x, v) (BIT_CLEAR_EPQ_R_PGNUM_8733B(x) | BIT_EPQ_R_PGNUM_8733B(v))

#define BIT_SHIFT_NPQ_PGNUM_8733B 8
#define BIT_MASK_NPQ_PGNUM_8733B 0xff
#define BIT_NPQ_PGNUM_8733B(x) (((x) & BIT_MASK_NPQ_PGNUM_8733B) << BIT_SHIFT_NPQ_PGNUM_8733B)
#define BITS_NPQ_PGNUM_8733B (BIT_MASK_NPQ_PGNUM_8733B << BIT_SHIFT_NPQ_PGNUM_8733B)
#define BIT_CLEAR_NPQ_PGNUM_8733B(x) ((x) & (~BITS_NPQ_PGNUM_8733B))
#define BIT_GET_NPQ_PGNUM_8733B(x) (((x) >> BIT_SHIFT_NPQ_PGNUM_8733B) & BIT_MASK_NPQ_PGNUM_8733B)
#define BIT_SET_NPQ_PGNUM_8733B(x, v) (BIT_CLEAR_NPQ_PGNUM_8733B(x) | BIT_NPQ_PGNUM_8733B(v))

#define BIT_SHIFT_NPQ_R_PGNUM_8733B 0
#define BIT_MASK_NPQ_R_PGNUM_8733B 0xff
#define BIT_NPQ_R_PGNUM_8733B(x) (((x) & BIT_MASK_NPQ_R_PGNUM_8733B) << BIT_SHIFT_NPQ_R_PGNUM_8733B)
#define BITS_NPQ_R_PGNUM_8733B (BIT_MASK_NPQ_R_PGNUM_8733B << BIT_SHIFT_NPQ_R_PGNUM_8733B)
#define BIT_CLEAR_NPQ_R_PGNUM_8733B(x) ((x) & (~BITS_NPQ_R_PGNUM_8733B))
#define BIT_GET_NPQ_R_PGNUM_8733B(x) (((x) >> BIT_SHIFT_NPQ_R_PGNUM_8733B) & BIT_MASK_NPQ_R_PGNUM_8733B)
#define BIT_SET_NPQ_R_PGNUM_8733B(x, v) (BIT_CLEAR_NPQ_R_PGNUM_8733B(x) | BIT_NPQ_R_PGNUM_8733B(v))

/* 2 REG_TQPNT1_8733B */

#define BIT_SHIFT_NPQ_HIGH_TH_8733B 24
#define BIT_MASK_NPQ_HIGH_TH_8733B 0xff
#define BIT_NPQ_HIGH_TH_8733B(x) (((x) & BIT_MASK_NPQ_HIGH_TH_8733B) << BIT_SHIFT_NPQ_HIGH_TH_8733B)
#define BITS_NPQ_HIGH_TH_8733B (BIT_MASK_NPQ_HIGH_TH_8733B << BIT_SHIFT_NPQ_HIGH_TH_8733B)
#define BIT_CLEAR_NPQ_HIGH_TH_8733B(x) ((x) & (~BITS_NPQ_HIGH_TH_8733B))
#define BIT_GET_NPQ_HIGH_TH_8733B(x) (((x) >> BIT_SHIFT_NPQ_HIGH_TH_8733B) & BIT_MASK_NPQ_HIGH_TH_8733B)
#define BIT_SET_NPQ_HIGH_TH_8733B(x, v) (BIT_CLEAR_NPQ_HIGH_TH_8733B(x) | BIT_NPQ_HIGH_TH_8733B(v))

#define BIT_SHIFT_NPQ_LOW_TH_8733B 16
#define BIT_MASK_NPQ_LOW_TH_8733B 0xff
#define BIT_NPQ_LOW_TH_8733B(x) (((x) & BIT_MASK_NPQ_LOW_TH_8733B) << BIT_SHIFT_NPQ_LOW_TH_8733B)
#define BITS_NPQ_LOW_TH_8733B (BIT_MASK_NPQ_LOW_TH_8733B << BIT_SHIFT_NPQ_LOW_TH_8733B)
#define BIT_CLEAR_NPQ_LOW_TH_8733B(x) ((x) & (~BITS_NPQ_LOW_TH_8733B))
#define BIT_GET_NPQ_LOW_TH_8733B(x) (((x) >> BIT_SHIFT_NPQ_LOW_TH_8733B) & BIT_MASK_NPQ_LOW_TH_8733B)
#define BIT_SET_NPQ_LOW_TH_8733B(x, v) (BIT_CLEAR_NPQ_LOW_TH_8733B(x) | BIT_NPQ_LOW_TH_8733B(v))

#define BIT_SHIFT_HPQ_HIGH_TH_8733B 8
#define BIT_MASK_HPQ_HIGH_TH_8733B 0xff
#define BIT_HPQ_HIGH_TH_8733B(x) (((x) & BIT_MASK_HPQ_HIGH_TH_8733B) << BIT_SHIFT_HPQ_HIGH_TH_8733B)
#define BITS_HPQ_HIGH_TH_8733B (BIT_MASK_HPQ_HIGH_TH_8733B << BIT_SHIFT_HPQ_HIGH_TH_8733B)
#define BIT_CLEAR_HPQ_HIGH_TH_8733B(x) ((x) & (~BITS_HPQ_HIGH_TH_8733B))
#define BIT_GET_HPQ_HIGH_TH_8733B(x) (((x) >> BIT_SHIFT_HPQ_HIGH_TH_8733B) & BIT_MASK_HPQ_HIGH_TH_8733B)
#define BIT_SET_HPQ_HIGH_TH_8733B(x, v) (BIT_CLEAR_HPQ_HIGH_TH_8733B(x) | BIT_HPQ_HIGH_TH_8733B(v))

#define BIT_SHIFT_HPQ_LOW_TH_8733B 0
#define BIT_MASK_HPQ_LOW_TH_8733B 0xff
#define BIT_HPQ_LOW_TH_8733B(x) (((x) & BIT_MASK_HPQ_LOW_TH_8733B) << BIT_SHIFT_HPQ_LOW_TH_8733B)
#define BITS_HPQ_LOW_TH_8733B (BIT_MASK_HPQ_LOW_TH_8733B << BIT_SHIFT_HPQ_LOW_TH_8733B)
#define BIT_CLEAR_HPQ_LOW_TH_8733B(x) ((x) & (~BITS_HPQ_LOW_TH_8733B))
#define BIT_GET_HPQ_LOW_TH_8733B(x) (((x) >> BIT_SHIFT_HPQ_LOW_TH_8733B) & BIT_MASK_HPQ_LOW_TH_8733B)
#define BIT_SET_HPQ_LOW_TH_8733B(x, v) (BIT_CLEAR_HPQ_LOW_TH_8733B(x) | BIT_HPQ_LOW_TH_8733B(v))

/* 2 REG_TQPNT2_8733B */

#define BIT_SHIFT_EXQ_HIGH_TH_8733B 24
#define BIT_MASK_EXQ_HIGH_TH_8733B 0xff
#define BIT_EXQ_HIGH_TH_8733B(x) (((x) & BIT_MASK_EXQ_HIGH_TH_8733B) << BIT_SHIFT_EXQ_HIGH_TH_8733B)
#define BITS_EXQ_HIGH_TH_8733B (BIT_MASK_EXQ_HIGH_TH_8733B << BIT_SHIFT_EXQ_HIGH_TH_8733B)
#define BIT_CLEAR_EXQ_HIGH_TH_8733B(x) ((x) & (~BITS_EXQ_HIGH_TH_8733B))
#define BIT_GET_EXQ_HIGH_TH_8733B(x) (((x) >> BIT_SHIFT_EXQ_HIGH_TH_8733B) & BIT_MASK_EXQ_HIGH_TH_8733B)
#define BIT_SET_EXQ_HIGH_TH_8733B(x, v) (BIT_CLEAR_EXQ_HIGH_TH_8733B(x) | BIT_EXQ_HIGH_TH_8733B(v))

#define BIT_SHIFT_EXQ_LOW_TH_8733B 16
#define BIT_MASK_EXQ_LOW_TH_8733B 0xff
#define BIT_EXQ_LOW_TH_8733B(x) (((x) & BIT_MASK_EXQ_LOW_TH_8733B) << BIT_SHIFT_EXQ_LOW_TH_8733B)
#define BITS_EXQ_LOW_TH_8733B (BIT_MASK_EXQ_LOW_TH_8733B << BIT_SHIFT_EXQ_LOW_TH_8733B)
#define BIT_CLEAR_EXQ_LOW_TH_8733B(x) ((x) & (~BITS_EXQ_LOW_TH_8733B))
#define BIT_GET_EXQ_LOW_TH_8733B(x) (((x) >> BIT_SHIFT_EXQ_LOW_TH_8733B) & BIT_MASK_EXQ_LOW_TH_8733B)
#define BIT_SET_EXQ_LOW_TH_8733B(x, v) (BIT_CLEAR_EXQ_LOW_TH_8733B(x) | BIT_EXQ_LOW_TH_8733B(v))

#define BIT_SHIFT_LPQ_HIGH_TH_8733B 8
#define BIT_MASK_LPQ_HIGH_TH_8733B 0xff
#define BIT_LPQ_HIGH_TH_8733B(x) (((x) & BIT_MASK_LPQ_HIGH_TH_8733B) << BIT_SHIFT_LPQ_HIGH_TH_8733B)
#define BITS_LPQ_HIGH_TH_8733B (BIT_MASK_LPQ_HIGH_TH_8733B << BIT_SHIFT_LPQ_HIGH_TH_8733B)
#define BIT_CLEAR_LPQ_HIGH_TH_8733B(x) ((x) & (~BITS_LPQ_HIGH_TH_8733B))
#define BIT_GET_LPQ_HIGH_TH_8733B(x) (((x) >> BIT_SHIFT_LPQ_HIGH_TH_8733B) & BIT_MASK_LPQ_HIGH_TH_8733B)
#define BIT_SET_LPQ_HIGH_TH_8733B(x, v) (BIT_CLEAR_LPQ_HIGH_TH_8733B(x) | BIT_LPQ_HIGH_TH_8733B(v))

#define BIT_SHIFT_LPQ_LOW_TH_8733B 0
#define BIT_MASK_LPQ_LOW_TH_8733B 0xff
#define BIT_LPQ_LOW_TH_8733B(x) (((x) & BIT_MASK_LPQ_LOW_TH_8733B) << BIT_SHIFT_LPQ_LOW_TH_8733B)
#define BITS_LPQ_LOW_TH_8733B (BIT_MASK_LPQ_LOW_TH_8733B << BIT_SHIFT_LPQ_LOW_TH_8733B)
#define BIT_CLEAR_LPQ_LOW_TH_8733B(x) ((x) & (~BITS_LPQ_LOW_TH_8733B))
#define BIT_GET_LPQ_LOW_TH_8733B(x) (((x) >> BIT_SHIFT_LPQ_LOW_TH_8733B) & BIT_MASK_LPQ_LOW_TH_8733B)
#define BIT_SET_LPQ_LOW_TH_8733B(x, v) (BIT_CLEAR_LPQ_LOW_TH_8733B(x) | BIT_LPQ_LOW_TH_8733B(v))

/* 2 REG_TDE_DEBUG_8733B */

#define BIT_SHIFT_TDE_DEBUG_8733B 0
#define BIT_MASK_TDE_DEBUG_8733B 0xffffffffL
#define BIT_TDE_DEBUG_8733B(x) (((x) & BIT_MASK_TDE_DEBUG_8733B) << BIT_SHIFT_TDE_DEBUG_8733B)
#define BITS_TDE_DEBUG_8733B (BIT_MASK_TDE_DEBUG_8733B << BIT_SHIFT_TDE_DEBUG_8733B)
#define BIT_CLEAR_TDE_DEBUG_8733B(x) ((x) & (~BITS_TDE_DEBUG_8733B))
#define BIT_GET_TDE_DEBUG_8733B(x) (((x) >> BIT_SHIFT_TDE_DEBUG_8733B) & BIT_MASK_TDE_DEBUG_8733B)
#define BIT_SET_TDE_DEBUG_8733B(x, v) (BIT_CLEAR_TDE_DEBUG_8733B(x) | BIT_TDE_DEBUG_8733B(v))

/* 2 REG_AUTO_LLT_8733B */

#define BIT_SHIFT_TXPKTNUM_H_8733B 24
#define BIT_MASK_TXPKTNUM_H_8733B 0xff
#define BIT_TXPKTNUM_H_8733B(x) (((x) & BIT_MASK_TXPKTNUM_H_8733B) << BIT_SHIFT_TXPKTNUM_H_8733B)
#define BITS_TXPKTNUM_H_8733B (BIT_MASK_TXPKTNUM_H_8733B << BIT_SHIFT_TXPKTNUM_H_8733B)
#define BIT_CLEAR_TXPKTNUM_H_8733B(x) ((x) & (~BITS_TXPKTNUM_H_8733B))
#define BIT_GET_TXPKTNUM_H_8733B(x) (((x) >> BIT_SHIFT_TXPKTNUM_H_8733B) & BIT_MASK_TXPKTNUM_H_8733B)
#define BIT_SET_TXPKTNUM_H_8733B(x, v) (BIT_CLEAR_TXPKTNUM_H_8733B(x) | BIT_TXPKTNUM_H_8733B(v))

#define BIT_TDE_DBG_SEL_8733B BIT(23)
#define BIT_MASK_QSEL_DIFF_8733B BIT(22)
#define BIT_AUTO_INIT_LLT_8733B BIT(16)

#define BIT_SHIFT_TX_OQT_HE_FREE_SPACE_8733B 8
#define BIT_MASK_TX_OQT_HE_FREE_SPACE_8733B 0xff
#define BIT_TX_OQT_HE_FREE_SPACE_8733B(x) (((x) & BIT_MASK_TX_OQT_HE_FREE_SPACE_8733B) << BIT_SHIFT_TX_OQT_HE_FREE_SPACE_8733B)
#define BITS_TX_OQT_HE_FREE_SPACE_8733B (BIT_MASK_TX_OQT_HE_FREE_SPACE_8733B << BIT_SHIFT_TX_OQT_HE_FREE_SPACE_8733B)
#define BIT_CLEAR_TX_OQT_HE_FREE_SPACE_8733B(x) ((x) & (~BITS_TX_OQT_HE_FREE_SPACE_8733B))
#define BIT_GET_TX_OQT_HE_FREE_SPACE_8733B(x) (((x) >> BIT_SHIFT_TX_OQT_HE_FREE_SPACE_8733B) & BIT_MASK_TX_OQT_HE_FREE_SPACE_8733B)
#define BIT_SET_TX_OQT_HE_FREE_SPACE_8733B(x, v) (BIT_CLEAR_TX_OQT_HE_FREE_SPACE_8733B(x) | BIT_TX_OQT_HE_FREE_SPACE_8733B(v))

#define BIT_SHIFT_TX_OQT_NL_FREE_SPACE_8733B 0
#define BIT_MASK_TX_OQT_NL_FREE_SPACE_8733B 0xff
#define BIT_TX_OQT_NL_FREE_SPACE_8733B(x) (((x) & BIT_MASK_TX_OQT_NL_FREE_SPACE_8733B) << BIT_SHIFT_TX_OQT_NL_FREE_SPACE_8733B)
#define BITS_TX_OQT_NL_FREE_SPACE_8733B (BIT_MASK_TX_OQT_NL_FREE_SPACE_8733B << BIT_SHIFT_TX_OQT_NL_FREE_SPACE_8733B)
#define BIT_CLEAR_TX_OQT_NL_FREE_SPACE_8733B(x) ((x) & (~BITS_TX_OQT_NL_FREE_SPACE_8733B))
#define BIT_GET_TX_OQT_NL_FREE_SPACE_8733B(x) (((x) >> BIT_SHIFT_TX_OQT_NL_FREE_SPACE_8733B) & BIT_MASK_TX_OQT_NL_FREE_SPACE_8733B)
#define BIT_SET_TX_OQT_NL_FREE_SPACE_8733B(x, v) (BIT_CLEAR_TX_OQT_NL_FREE_SPACE_8733B(x) | BIT_TX_OQT_NL_FREE_SPACE_8733B(v))

/* 2 REG_DWBCN1_CTRL_8733B */

#define BIT_SHIFT_BCN_HEAD_2_8733B 24
#define BIT_MASK_BCN_HEAD_2_8733B 0xff
#define BIT_BCN_HEAD_2_8733B(x) (((x) & BIT_MASK_BCN_HEAD_2_8733B) << BIT_SHIFT_BCN_HEAD_2_8733B)
#define BITS_BCN_HEAD_2_8733B (BIT_MASK_BCN_HEAD_2_8733B << BIT_SHIFT_BCN_HEAD_2_8733B)
#define BIT_CLEAR_BCN_HEAD_2_8733B(x) ((x) & (~BITS_BCN_HEAD_2_8733B))
#define BIT_GET_BCN_HEAD_2_8733B(x) (((x) >> BIT_SHIFT_BCN_HEAD_2_8733B) & BIT_MASK_BCN_HEAD_2_8733B)
#define BIT_SET_BCN_HEAD_2_8733B(x, v) (BIT_CLEAR_BCN_HEAD_2_8733B(x) | BIT_BCN_HEAD_2_8733B(v))

#define BIT_SHIFT_SW_BCN_SEL_8733B 20
#define BIT_MASK_SW_BCN_SEL_8733B 0x3
#define BIT_SW_BCN_SEL_8733B(x) (((x) & BIT_MASK_SW_BCN_SEL_8733B) << BIT_SHIFT_SW_BCN_SEL_8733B)
#define BITS_SW_BCN_SEL_8733B (BIT_MASK_SW_BCN_SEL_8733B << BIT_SHIFT_SW_BCN_SEL_8733B)
#define BIT_CLEAR_SW_BCN_SEL_8733B(x) ((x) & (~BITS_SW_BCN_SEL_8733B))
#define BIT_GET_SW_BCN_SEL_8733B(x) (((x) >> BIT_SHIFT_SW_BCN_SEL_8733B) & BIT_MASK_SW_BCN_SEL_8733B)
#define BIT_SET_SW_BCN_SEL_8733B(x, v) (BIT_CLEAR_SW_BCN_SEL_8733B(x) | BIT_SW_BCN_SEL_8733B(v))

#define BIT_BCN_VALID_2_8733B BIT(18)
#define BIT_SW_BCN_SEL_EN_8733B BIT(17)
#define BIT_BCN_VALID_1_8733B BIT(16)

#define BIT_SHIFT_BCN_HEAD_1_8733B 8
#define BIT_MASK_BCN_HEAD_1_8733B 0xff
#define BIT_BCN_HEAD_1_8733B(x) (((x) & BIT_MASK_BCN_HEAD_1_8733B) << BIT_SHIFT_BCN_HEAD_1_8733B)
#define BITS_BCN_HEAD_1_8733B (BIT_MASK_BCN_HEAD_1_8733B << BIT_SHIFT_BCN_HEAD_1_8733B)
#define BIT_CLEAR_BCN_HEAD_1_8733B(x) ((x) & (~BITS_BCN_HEAD_1_8733B))
#define BIT_GET_BCN_HEAD_1_8733B(x) (((x) >> BIT_SHIFT_BCN_HEAD_1_8733B) & BIT_MASK_BCN_HEAD_1_8733B)
#define BIT_SET_BCN_HEAD_1_8733B(x, v) (BIT_CLEAR_BCN_HEAD_1_8733B(x) | BIT_BCN_HEAD_1_8733B(v))

#define BIT_SHIFT_MAX_TX_PKT_8733B 0
#define BIT_MASK_MAX_TX_PKT_8733B 0xff
#define BIT_MAX_TX_PKT_8733B(x) (((x) & BIT_MASK_MAX_TX_PKT_8733B) << BIT_SHIFT_MAX_TX_PKT_8733B)
#define BITS_MAX_TX_PKT_8733B (BIT_MASK_MAX_TX_PKT_8733B << BIT_SHIFT_MAX_TX_PKT_8733B)
#define BIT_CLEAR_MAX_TX_PKT_8733B(x) ((x) & (~BITS_MAX_TX_PKT_8733B))
#define BIT_GET_MAX_TX_PKT_8733B(x) (((x) >> BIT_SHIFT_MAX_TX_PKT_8733B) & BIT_MASK_MAX_TX_PKT_8733B)
#define BIT_SET_MAX_TX_PKT_8733B(x, v) (BIT_CLEAR_MAX_TX_PKT_8733B(x) | BIT_MAX_TX_PKT_8733B(v))

/* 2 REG_TX_ALIGNMENT_CTRL_8733B */
#define BIT_ADJUSTABLE_SIZE_EN_8733B BIT(15)

#define BIT_SHIFT_ALIGNMENT_SIZE_8733B 0
#define BIT_MASK_ALIGNMENT_SIZE_8733B 0xfff
#define BIT_ALIGNMENT_SIZE_8733B(x) (((x) & BIT_MASK_ALIGNMENT_SIZE_8733B) << BIT_SHIFT_ALIGNMENT_SIZE_8733B)
#define BITS_ALIGNMENT_SIZE_8733B (BIT_MASK_ALIGNMENT_SIZE_8733B << BIT_SHIFT_ALIGNMENT_SIZE_8733B)
#define BIT_CLEAR_ALIGNMENT_SIZE_8733B(x) ((x) & (~BITS_ALIGNMENT_SIZE_8733B))
#define BIT_GET_ALIGNMENT_SIZE_8733B(x) (((x) >> BIT_SHIFT_ALIGNMENT_SIZE_8733B) & BIT_MASK_ALIGNMENT_SIZE_8733B)
#define BIT_SET_ALIGNMENT_SIZE_8733B(x, v) (BIT_CLEAR_ALIGNMENT_SIZE_8733B(x) | BIT_ALIGNMENT_SIZE_8733B(v))

/* 2 REG_RQPN_EXQ1_EXQ2_8733B */

/* 2 REG_TQPNT3_V1_8733B */

/* 2 REG_H2C_HEAD_8733B */

/* 2 REG_H2C_TAIL_8733B */

/* 2 REG_H2C_READ_ADDR_8733B */

/* 2 REG_H2C_WR_ADDR_8733B */

/* 2 REG_H2C_INFO_8733B */

/* 2 REG_RXDMA_AGG_PG_TH_8733B */
#define BIT_RXDMA_STORE_8733B BIT(31)
#define BIT_EN_PRE_CALC_8733B BIT(29)

#define BIT_SHIFT_PKT_NUM_WOL_8733B 16
#define BIT_MASK_PKT_NUM_WOL_8733B 0xff
#define BIT_PKT_NUM_WOL_8733B(x) (((x) & BIT_MASK_PKT_NUM_WOL_8733B) << BIT_SHIFT_PKT_NUM_WOL_8733B)
#define BITS_PKT_NUM_WOL_8733B (BIT_MASK_PKT_NUM_WOL_8733B << BIT_SHIFT_PKT_NUM_WOL_8733B)
#define BIT_CLEAR_PKT_NUM_WOL_8733B(x) ((x) & (~BITS_PKT_NUM_WOL_8733B))
#define BIT_GET_PKT_NUM_WOL_8733B(x) (((x) >> BIT_SHIFT_PKT_NUM_WOL_8733B) & BIT_MASK_PKT_NUM_WOL_8733B)
#define BIT_SET_PKT_NUM_WOL_8733B(x, v) (BIT_CLEAR_PKT_NUM_WOL_8733B(x) | BIT_PKT_NUM_WOL_8733B(v))

#define BIT_SHIFT_DMA_TIMEOUT_TH_8733B 8
#define BIT_MASK_DMA_TIMEOUT_TH_8733B 0xff
#define BIT_DMA_TIMEOUT_TH_8733B(x) (((x) & BIT_MASK_DMA_TIMEOUT_TH_8733B) << BIT_SHIFT_DMA_TIMEOUT_TH_8733B)
#define BITS_DMA_TIMEOUT_TH_8733B (BIT_MASK_DMA_TIMEOUT_TH_8733B << BIT_SHIFT_DMA_TIMEOUT_TH_8733B)
#define BIT_CLEAR_DMA_TIMEOUT_TH_8733B(x) ((x) & (~BITS_DMA_TIMEOUT_TH_8733B))
#define BIT_GET_DMA_TIMEOUT_TH_8733B(x) (((x) >> BIT_SHIFT_DMA_TIMEOUT_TH_8733B) & BIT_MASK_DMA_TIMEOUT_TH_8733B)
#define BIT_SET_DMA_TIMEOUT_TH_8733B(x, v) (BIT_CLEAR_DMA_TIMEOUT_TH_8733B(x) | BIT_DMA_TIMEOUT_TH_8733B(v))

#define BIT_SHIFT_RXDMA_AGG_PG_TH_8733B 0
#define BIT_MASK_RXDMA_AGG_PG_TH_8733B 0xff
#define BIT_RXDMA_AGG_PG_TH_8733B(x) (((x) & BIT_MASK_RXDMA_AGG_PG_TH_8733B) << BIT_SHIFT_RXDMA_AGG_PG_TH_8733B)
#define BITS_RXDMA_AGG_PG_TH_8733B (BIT_MASK_RXDMA_AGG_PG_TH_8733B << BIT_SHIFT_RXDMA_AGG_PG_TH_8733B)
#define BIT_CLEAR_RXDMA_AGG_PG_TH_8733B(x) ((x) & (~BITS_RXDMA_AGG_PG_TH_8733B))
#define BIT_GET_RXDMA_AGG_PG_TH_8733B(x) (((x) >> BIT_SHIFT_RXDMA_AGG_PG_TH_8733B) & BIT_MASK_RXDMA_AGG_PG_TH_8733B)
#define BIT_SET_RXDMA_AGG_PG_TH_8733B(x, v) (BIT_CLEAR_RXDMA_AGG_PG_TH_8733B(x) | BIT_RXDMA_AGG_PG_TH_8733B(v))

/* 2 REG_RXPKT_NUM_8733B */

#define BIT_SHIFT_RXPKT_QUEUED_8733B 24
#define BIT_MASK_RXPKT_QUEUED_8733B 0xff
#define BIT_RXPKT_QUEUED_8733B(x) (((x) & BIT_MASK_RXPKT_QUEUED_8733B) << BIT_SHIFT_RXPKT_QUEUED_8733B)
#define BITS_RXPKT_QUEUED_8733B (BIT_MASK_RXPKT_QUEUED_8733B << BIT_SHIFT_RXPKT_QUEUED_8733B)
#define BIT_CLEAR_RXPKT_QUEUED_8733B(x) ((x) & (~BITS_RXPKT_QUEUED_8733B))
#define BIT_GET_RXPKT_QUEUED_8733B(x) (((x) >> BIT_SHIFT_RXPKT_QUEUED_8733B) & BIT_MASK_RXPKT_QUEUED_8733B)
#define BIT_SET_RXPKT_QUEUED_8733B(x, v) (BIT_CLEAR_RXPKT_QUEUED_8733B(x) | BIT_RXPKT_QUEUED_8733B(v))

#define BIT_WMACSTOP_RXDMA_8733B BIT(20)
#define BIT_RXDMA_REQ_8733B BIT(19)
#define BIT_FW_RELEASE_EN_8733B BIT(18)
#define BIT_RXDMA_IDLE_8733B BIT(17)
#define BIT_RXPKT_RELEASE_POLL_8733B BIT(16)

#define BIT_SHIFT_FW_UPD_RXPKT_RDPTR_8733B 0
#define BIT_MASK_FW_UPD_RXPKT_RDPTR_8733B 0xffff
#define BIT_FW_UPD_RXPKT_RDPTR_8733B(x) (((x) & BIT_MASK_FW_UPD_RXPKT_RDPTR_8733B) << BIT_SHIFT_FW_UPD_RXPKT_RDPTR_8733B)
#define BITS_FW_UPD_RXPKT_RDPTR_8733B (BIT_MASK_FW_UPD_RXPKT_RDPTR_8733B << BIT_SHIFT_FW_UPD_RXPKT_RDPTR_8733B)
#define BIT_CLEAR_FW_UPD_RXPKT_RDPTR_8733B(x) ((x) & (~BITS_FW_UPD_RXPKT_RDPTR_8733B))
#define BIT_GET_FW_UPD_RXPKT_RDPTR_8733B(x) (((x) >> BIT_SHIFT_FW_UPD_RXPKT_RDPTR_8733B) & BIT_MASK_FW_UPD_RXPKT_RDPTR_8733B)
#define BIT_SET_FW_UPD_RXPKT_RDPTR_8733B(x, v) (BIT_CLEAR_FW_UPD_RXPKT_RDPTR_8733B(x) | BIT_FW_UPD_RXPKT_RDPTR_8733B(v))

/* 2 REG_RXDMA_STATUS_8733B */
#define BIT_C2H_PKT_OVF_8733B BIT(7)
#define BIT_AGG_CONFGI_ISSUE_8733B BIT(6)
#define BIT_FW_POLL_ISSUE_8733B BIT(5)
#define BIT_RX_DATA_UDN_8733B BIT(4)
#define BIT_RX_SFF_UDN_8733B BIT(3)
#define BIT_RX_SFF_OVF_8733B BIT(2)
#define BIT_RXPKT_OVF_8733B BIT(0)

/* 2 REG_RXDMA_DPR_8733B */

#define BIT_SHIFT_RDE_DBG_8733B 0
#define BIT_MASK_RDE_DBG_8733B 0xffffffffL
#define BIT_RDE_DBG_8733B(x) (((x) & BIT_MASK_RDE_DBG_8733B) << BIT_SHIFT_RDE_DBG_8733B)
#define BITS_RDE_DBG_8733B (BIT_MASK_RDE_DBG_8733B << BIT_SHIFT_RDE_DBG_8733B)
#define BIT_CLEAR_RDE_DBG_8733B(x) ((x) & (~BITS_RDE_DBG_8733B))
#define BIT_GET_RDE_DBG_8733B(x) (((x) >> BIT_SHIFT_RDE_DBG_8733B) & BIT_MASK_RDE_DBG_8733B)
#define BIT_SET_RDE_DBG_8733B(x, v) (BIT_CLEAR_RDE_DBG_8733B(x) | BIT_RDE_DBG_8733B(v))

/* 2 REG_RXDMA_MODE_8733B */

#define BIT_SHIFT_BURST_SIZE_8733B 4
#define BIT_MASK_BURST_SIZE_8733B 0x3
#define BIT_BURST_SIZE_8733B(x) (((x) & BIT_MASK_BURST_SIZE_8733B) << BIT_SHIFT_BURST_SIZE_8733B)
#define BITS_BURST_SIZE_8733B (BIT_MASK_BURST_SIZE_8733B << BIT_SHIFT_BURST_SIZE_8733B)
#define BIT_CLEAR_BURST_SIZE_8733B(x) ((x) & (~BITS_BURST_SIZE_8733B))
#define BIT_GET_BURST_SIZE_8733B(x) (((x) >> BIT_SHIFT_BURST_SIZE_8733B) & BIT_MASK_BURST_SIZE_8733B)
#define BIT_SET_BURST_SIZE_8733B(x, v) (BIT_CLEAR_BURST_SIZE_8733B(x) | BIT_BURST_SIZE_8733B(v))

#define BIT_SHIFT_BURST_CNT_8733B 2
#define BIT_MASK_BURST_CNT_8733B 0x3
#define BIT_BURST_CNT_8733B(x) (((x) & BIT_MASK_BURST_CNT_8733B) << BIT_SHIFT_BURST_CNT_8733B)
#define BITS_BURST_CNT_8733B (BIT_MASK_BURST_CNT_8733B << BIT_SHIFT_BURST_CNT_8733B)
#define BIT_CLEAR_BURST_CNT_8733B(x) ((x) & (~BITS_BURST_CNT_8733B))
#define BIT_GET_BURST_CNT_8733B(x) (((x) >> BIT_SHIFT_BURST_CNT_8733B) & BIT_MASK_BURST_CNT_8733B)
#define BIT_SET_BURST_CNT_8733B(x, v) (BIT_CLEAR_BURST_CNT_8733B(x) | BIT_BURST_CNT_8733B(v))

#define BIT_DMA_MODE_8733B BIT(1)
#define BIT_MASK_RX_PKT_PS_8733B BIT(0)

/* 2 REG_C2H_PKT_8733B */
#define BIT_R_C2H_PKT_REQ_8733B BIT(16)

#define BIT_SHIFT_R_C2H_STR_ADDR_8733B 0
#define BIT_MASK_R_C2H_STR_ADDR_8733B 0xffff
#define BIT_R_C2H_STR_ADDR_8733B(x) (((x) & BIT_MASK_R_C2H_STR_ADDR_8733B) << BIT_SHIFT_R_C2H_STR_ADDR_8733B)
#define BITS_R_C2H_STR_ADDR_8733B (BIT_MASK_R_C2H_STR_ADDR_8733B << BIT_SHIFT_R_C2H_STR_ADDR_8733B)
#define BIT_CLEAR_R_C2H_STR_ADDR_8733B(x) ((x) & (~BITS_R_C2H_STR_ADDR_8733B))
#define BIT_GET_R_C2H_STR_ADDR_8733B(x) (((x) >> BIT_SHIFT_R_C2H_STR_ADDR_8733B) & BIT_MASK_R_C2H_STR_ADDR_8733B)
#define BIT_SET_R_C2H_STR_ADDR_8733B(x, v) (BIT_CLEAR_R_C2H_STR_ADDR_8733B(x) | BIT_R_C2H_STR_ADDR_8733B(v))

/* 2 REG_DDMA_CH0SA_8733B */

#define BIT_SHIFT_DDMACH0_SA_8733B 0
#define BIT_MASK_DDMACH0_SA_8733B 0xffffffffL
#define BIT_DDMACH0_SA_8733B(x) (((x) & BIT_MASK_DDMACH0_SA_8733B) << BIT_SHIFT_DDMACH0_SA_8733B)
#define BITS_DDMACH0_SA_8733B (BIT_MASK_DDMACH0_SA_8733B << BIT_SHIFT_DDMACH0_SA_8733B)
#define BIT_CLEAR_DDMACH0_SA_8733B(x) ((x) & (~BITS_DDMACH0_SA_8733B))
#define BIT_GET_DDMACH0_SA_8733B(x) (((x) >> BIT_SHIFT_DDMACH0_SA_8733B) & BIT_MASK_DDMACH0_SA_8733B)
#define BIT_SET_DDMACH0_SA_8733B(x, v) (BIT_CLEAR_DDMACH0_SA_8733B(x) | BIT_DDMACH0_SA_8733B(v))

/* 2 REG_DDMA_CH0DA_8733B */

#define BIT_SHIFT_DDMACH0_DA_8733B 0
#define BIT_MASK_DDMACH0_DA_8733B 0xffffffffL
#define BIT_DDMACH0_DA_8733B(x) (((x) & BIT_MASK_DDMACH0_DA_8733B) << BIT_SHIFT_DDMACH0_DA_8733B)
#define BITS_DDMACH0_DA_8733B (BIT_MASK_DDMACH0_DA_8733B << BIT_SHIFT_DDMACH0_DA_8733B)
#define BIT_CLEAR_DDMACH0_DA_8733B(x) ((x) & (~BITS_DDMACH0_DA_8733B))
#define BIT_GET_DDMACH0_DA_8733B(x) (((x) >> BIT_SHIFT_DDMACH0_DA_8733B) & BIT_MASK_DDMACH0_DA_8733B)
#define BIT_SET_DDMACH0_DA_8733B(x, v) (BIT_CLEAR_DDMACH0_DA_8733B(x) | BIT_DDMACH0_DA_8733B(v))

/* 2 REG_DDMA_CH0CTRL_8733B */
#define BIT_DDMACH0_OWN_8733B BIT(31)
#define BIT_DDMACH0_IDMEM_ERR_8733B BIT(30)
#define BIT_DDMACH0_CHKSUM_EN_8733B BIT(29)
#define BIT_DDMACH0_DA_W_DISABLE_8733B BIT(28)
#define BIT_DDMACH0_CHKSUM_STS_8733B BIT(27)
#define BIT_DDMACH0_DDMA_MODE_8733B BIT(26)
#define BIT_DDMACH0_RESET_CHKSUM_STS_8733B BIT(25)
#define BIT_DDMACH0_CHKSUM_CONT_8733B BIT(24)

#define BIT_SHIFT_DDMACH0_DLEN_8733B 0
#define BIT_MASK_DDMACH0_DLEN_8733B 0x3ffff
#define BIT_DDMACH0_DLEN_8733B(x) (((x) & BIT_MASK_DDMACH0_DLEN_8733B) << BIT_SHIFT_DDMACH0_DLEN_8733B)
#define BITS_DDMACH0_DLEN_8733B (BIT_MASK_DDMACH0_DLEN_8733B << BIT_SHIFT_DDMACH0_DLEN_8733B)
#define BIT_CLEAR_DDMACH0_DLEN_8733B(x) ((x) & (~BITS_DDMACH0_DLEN_8733B))
#define BIT_GET_DDMACH0_DLEN_8733B(x) (((x) >> BIT_SHIFT_DDMACH0_DLEN_8733B) & BIT_MASK_DDMACH0_DLEN_8733B)
#define BIT_SET_DDMACH0_DLEN_8733B(x, v) (BIT_CLEAR_DDMACH0_DLEN_8733B(x) | BIT_DDMACH0_DLEN_8733B(v))

/* 2 REG_DDMA_CH1SA_8733B */

#define BIT_SHIFT_DDMACH1_SA_8733B 0
#define BIT_MASK_DDMACH1_SA_8733B 0xffffffffL
#define BIT_DDMACH1_SA_8733B(x) (((x) & BIT_MASK_DDMACH1_SA_8733B) << BIT_SHIFT_DDMACH1_SA_8733B)
#define BITS_DDMACH1_SA_8733B (BIT_MASK_DDMACH1_SA_8733B << BIT_SHIFT_DDMACH1_SA_8733B)
#define BIT_CLEAR_DDMACH1_SA_8733B(x) ((x) & (~BITS_DDMACH1_SA_8733B))
#define BIT_GET_DDMACH1_SA_8733B(x) (((x) >> BIT_SHIFT_DDMACH1_SA_8733B) & BIT_MASK_DDMACH1_SA_8733B)
#define BIT_SET_DDMACH1_SA_8733B(x, v) (BIT_CLEAR_DDMACH1_SA_8733B(x) | BIT_DDMACH1_SA_8733B(v))

/* 2 REG_DDMA_CH1DA_8733B */

#define BIT_SHIFT_DDMACH1_DA_8733B 0
#define BIT_MASK_DDMACH1_DA_8733B 0xffffffffL
#define BIT_DDMACH1_DA_8733B(x) (((x) & BIT_MASK_DDMACH1_DA_8733B) << BIT_SHIFT_DDMACH1_DA_8733B)
#define BITS_DDMACH1_DA_8733B (BIT_MASK_DDMACH1_DA_8733B << BIT_SHIFT_DDMACH1_DA_8733B)
#define BIT_CLEAR_DDMACH1_DA_8733B(x) ((x) & (~BITS_DDMACH1_DA_8733B))
#define BIT_GET_DDMACH1_DA_8733B(x) (((x) >> BIT_SHIFT_DDMACH1_DA_8733B) & BIT_MASK_DDMACH1_DA_8733B)
#define BIT_SET_DDMACH1_DA_8733B(x, v) (BIT_CLEAR_DDMACH1_DA_8733B(x) | BIT_DDMACH1_DA_8733B(v))

/* 2 REG_DDMA_CH1CTRL_8733B */
#define BIT_DDMACH1_OWN_8733B BIT(31)
#define BIT_DDMACH1_IDMEM_ERR_8733B BIT(30)
#define BIT_DDMACH1_CHKSUM_EN_8733B BIT(29)
#define BIT_DDMACH1_DA_W_DISABLE_8733B BIT(28)
#define BIT_DDMACH1_CHKSUM_STS_8733B BIT(27)
#define BIT_DDMACH1_DDMA_MODE_8733B BIT(26)
#define BIT_DDMACH1_RESET_CHKSUM_STS_8733B BIT(25)
#define BIT_DDMACH1_CHKSUM_CONT_8733B BIT(24)

#define BIT_SHIFT_DDMACH1_DLEN_8733B 0
#define BIT_MASK_DDMACH1_DLEN_8733B 0x3ffff
#define BIT_DDMACH1_DLEN_8733B(x) (((x) & BIT_MASK_DDMACH1_DLEN_8733B) << BIT_SHIFT_DDMACH1_DLEN_8733B)
#define BITS_DDMACH1_DLEN_8733B (BIT_MASK_DDMACH1_DLEN_8733B << BIT_SHIFT_DDMACH1_DLEN_8733B)
#define BIT_CLEAR_DDMACH1_DLEN_8733B(x) ((x) & (~BITS_DDMACH1_DLEN_8733B))
#define BIT_GET_DDMACH1_DLEN_8733B(x) (((x) >> BIT_SHIFT_DDMACH1_DLEN_8733B) & BIT_MASK_DDMACH1_DLEN_8733B)
#define BIT_SET_DDMACH1_DLEN_8733B(x, v) (BIT_CLEAR_DDMACH1_DLEN_8733B(x) | BIT_DDMACH1_DLEN_8733B(v))

/* 2 REG_DDMA_CH2SA_8733B */

#define BIT_SHIFT_DDMACH2_SA_8733B 0
#define BIT_MASK_DDMACH2_SA_8733B 0xffffffffL
#define BIT_DDMACH2_SA_8733B(x) (((x) & BIT_MASK_DDMACH2_SA_8733B) << BIT_SHIFT_DDMACH2_SA_8733B)
#define BITS_DDMACH2_SA_8733B (BIT_MASK_DDMACH2_SA_8733B << BIT_SHIFT_DDMACH2_SA_8733B)
#define BIT_CLEAR_DDMACH2_SA_8733B(x) ((x) & (~BITS_DDMACH2_SA_8733B))
#define BIT_GET_DDMACH2_SA_8733B(x) (((x) >> BIT_SHIFT_DDMACH2_SA_8733B) & BIT_MASK_DDMACH2_SA_8733B)
#define BIT_SET_DDMACH2_SA_8733B(x, v) (BIT_CLEAR_DDMACH2_SA_8733B(x) | BIT_DDMACH2_SA_8733B(v))

/* 2 REG_DDMA_CH2DA_8733B */

#define BIT_SHIFT_DDMACH2_DA_8733B 0
#define BIT_MASK_DDMACH2_DA_8733B 0xffffffffL
#define BIT_DDMACH2_DA_8733B(x) (((x) & BIT_MASK_DDMACH2_DA_8733B) << BIT_SHIFT_DDMACH2_DA_8733B)
#define BITS_DDMACH2_DA_8733B (BIT_MASK_DDMACH2_DA_8733B << BIT_SHIFT_DDMACH2_DA_8733B)
#define BIT_CLEAR_DDMACH2_DA_8733B(x) ((x) & (~BITS_DDMACH2_DA_8733B))
#define BIT_GET_DDMACH2_DA_8733B(x) (((x) >> BIT_SHIFT_DDMACH2_DA_8733B) & BIT_MASK_DDMACH2_DA_8733B)
#define BIT_SET_DDMACH2_DA_8733B(x, v) (BIT_CLEAR_DDMACH2_DA_8733B(x) | BIT_DDMACH2_DA_8733B(v))

/* 2 REG_DDMA_CH2CTRL_8733B */
#define BIT_DDMACH2_OWN_8733B BIT(31)
#define BIT_DDMACH2_IDMEM_ERR_8733B BIT(30)
#define BIT_DDMACH2_CHKSUM_EN_8733B BIT(29)
#define BIT_DDMACH2_DA_W_DISABLE_8733B BIT(28)
#define BIT_DDMACH2_CHKSUM_STS_8733B BIT(27)
#define BIT_DDMACH2_DDMA_MODE_8733B BIT(26)
#define BIT_DDMACH2_RESET_CHKSUM_STS_8733B BIT(25)
#define BIT_DDMACH2_CHKSUM_CONT_8733B BIT(24)

#define BIT_SHIFT_DDMACH2_DLEN_8733B 0
#define BIT_MASK_DDMACH2_DLEN_8733B 0x3ffff
#define BIT_DDMACH2_DLEN_8733B(x) (((x) & BIT_MASK_DDMACH2_DLEN_8733B) << BIT_SHIFT_DDMACH2_DLEN_8733B)
#define BITS_DDMACH2_DLEN_8733B (BIT_MASK_DDMACH2_DLEN_8733B << BIT_SHIFT_DDMACH2_DLEN_8733B)
#define BIT_CLEAR_DDMACH2_DLEN_8733B(x) ((x) & (~BITS_DDMACH2_DLEN_8733B))
#define BIT_GET_DDMACH2_DLEN_8733B(x) (((x) >> BIT_SHIFT_DDMACH2_DLEN_8733B) & BIT_MASK_DDMACH2_DLEN_8733B)
#define BIT_SET_DDMACH2_DLEN_8733B(x, v) (BIT_CLEAR_DDMACH2_DLEN_8733B(x) | BIT_DDMACH2_DLEN_8733B(v))

/* 2 REG_DDMA_CH3SA_8733B */

#define BIT_SHIFT_DDMACH3_SA_8733B 0
#define BIT_MASK_DDMACH3_SA_8733B 0xffffffffL
#define BIT_DDMACH3_SA_8733B(x) (((x) & BIT_MASK_DDMACH3_SA_8733B) << BIT_SHIFT_DDMACH3_SA_8733B)
#define BITS_DDMACH3_SA_8733B (BIT_MASK_DDMACH3_SA_8733B << BIT_SHIFT_DDMACH3_SA_8733B)
#define BIT_CLEAR_DDMACH3_SA_8733B(x) ((x) & (~BITS_DDMACH3_SA_8733B))
#define BIT_GET_DDMACH3_SA_8733B(x) (((x) >> BIT_SHIFT_DDMACH3_SA_8733B) & BIT_MASK_DDMACH3_SA_8733B)
#define BIT_SET_DDMACH3_SA_8733B(x, v) (BIT_CLEAR_DDMACH3_SA_8733B(x) | BIT_DDMACH3_SA_8733B(v))

/* 2 REG_DDMA_CH3DA_8733B */

#define BIT_SHIFT_DDMACH3_DA_8733B 0
#define BIT_MASK_DDMACH3_DA_8733B 0xffffffffL
#define BIT_DDMACH3_DA_8733B(x) (((x) & BIT_MASK_DDMACH3_DA_8733B) << BIT_SHIFT_DDMACH3_DA_8733B)
#define BITS_DDMACH3_DA_8733B (BIT_MASK_DDMACH3_DA_8733B << BIT_SHIFT_DDMACH3_DA_8733B)
#define BIT_CLEAR_DDMACH3_DA_8733B(x) ((x) & (~BITS_DDMACH3_DA_8733B))
#define BIT_GET_DDMACH3_DA_8733B(x) (((x) >> BIT_SHIFT_DDMACH3_DA_8733B) & BIT_MASK_DDMACH3_DA_8733B)
#define BIT_SET_DDMACH3_DA_8733B(x, v) (BIT_CLEAR_DDMACH3_DA_8733B(x) | BIT_DDMACH3_DA_8733B(v))

/* 2 REG_DDMA_CH3CTRL_8733B */
#define BIT_DDMACH3_OWN_8733B BIT(31)
#define BIT_DDMACH3_IDMEM_ERR_8733B BIT(30)
#define BIT_DDMACH3_CHKSUM_EN_8733B BIT(29)
#define BIT_DDMACH3_DA_W_DISABLE_8733B BIT(28)
#define BIT_DDMACH3_CHKSUM_STS_8733B BIT(27)
#define BIT_DDMACH3_DDMA_MODE_8733B BIT(26)
#define BIT_DDMACH3_RESET_CHKSUM_STS_8733B BIT(25)
#define BIT_DDMACH3_CHKSUM_CONT_8733B BIT(24)

#define BIT_SHIFT_DDMACH3_DLEN_8733B 0
#define BIT_MASK_DDMACH3_DLEN_8733B 0x3ffff
#define BIT_DDMACH3_DLEN_8733B(x) (((x) & BIT_MASK_DDMACH3_DLEN_8733B) << BIT_SHIFT_DDMACH3_DLEN_8733B)
#define BITS_DDMACH3_DLEN_8733B (BIT_MASK_DDMACH3_DLEN_8733B << BIT_SHIFT_DDMACH3_DLEN_8733B)
#define BIT_CLEAR_DDMACH3_DLEN_8733B(x) ((x) & (~BITS_DDMACH3_DLEN_8733B))
#define BIT_GET_DDMACH3_DLEN_8733B(x) (((x) >> BIT_SHIFT_DDMACH3_DLEN_8733B) & BIT_MASK_DDMACH3_DLEN_8733B)
#define BIT_SET_DDMACH3_DLEN_8733B(x, v) (BIT_CLEAR_DDMACH3_DLEN_8733B(x) | BIT_DDMACH3_DLEN_8733B(v))

/* 2 REG_DDMA_CH4SA_8733B */

#define BIT_SHIFT_DDMACH4_SA_8733B 0
#define BIT_MASK_DDMACH4_SA_8733B 0xffffffffL
#define BIT_DDMACH4_SA_8733B(x) (((x) & BIT_MASK_DDMACH4_SA_8733B) << BIT_SHIFT_DDMACH4_SA_8733B)
#define BITS_DDMACH4_SA_8733B (BIT_MASK_DDMACH4_SA_8733B << BIT_SHIFT_DDMACH4_SA_8733B)
#define BIT_CLEAR_DDMACH4_SA_8733B(x) ((x) & (~BITS_DDMACH4_SA_8733B))
#define BIT_GET_DDMACH4_SA_8733B(x) (((x) >> BIT_SHIFT_DDMACH4_SA_8733B) & BIT_MASK_DDMACH4_SA_8733B)
#define BIT_SET_DDMACH4_SA_8733B(x, v) (BIT_CLEAR_DDMACH4_SA_8733B(x) | BIT_DDMACH4_SA_8733B(v))

/* 2 REG_DDMA_CH4DA_8733B */

#define BIT_SHIFT_DDMACH4_DA_8733B 0
#define BIT_MASK_DDMACH4_DA_8733B 0xffffffffL
#define BIT_DDMACH4_DA_8733B(x) (((x) & BIT_MASK_DDMACH4_DA_8733B) << BIT_SHIFT_DDMACH4_DA_8733B)
#define BITS_DDMACH4_DA_8733B (BIT_MASK_DDMACH4_DA_8733B << BIT_SHIFT_DDMACH4_DA_8733B)
#define BIT_CLEAR_DDMACH4_DA_8733B(x) ((x) & (~BITS_DDMACH4_DA_8733B))
#define BIT_GET_DDMACH4_DA_8733B(x) (((x) >> BIT_SHIFT_DDMACH4_DA_8733B) & BIT_MASK_DDMACH4_DA_8733B)
#define BIT_SET_DDMACH4_DA_8733B(x, v) (BIT_CLEAR_DDMACH4_DA_8733B(x) | BIT_DDMACH4_DA_8733B(v))

/* 2 REG_DDMA_CH4CTRL_8733B */
#define BIT_DDMACH4_OWN_8733B BIT(31)
#define BIT_DDMACH4_IDMEM_ERR_8733B BIT(30)
#define BIT_DDMACH4_CHKSUM_EN_8733B BIT(29)
#define BIT_DDMACH4_DA_W_DISABLE_8733B BIT(28)
#define BIT_DDMACH4_CHKSUM_STS_8733B BIT(27)
#define BIT_DDMACH4_DDMA_MODE_8733B BIT(26)
#define BIT_DDMACH4_RESET_CHKSUM_STS_8733B BIT(25)
#define BIT_DDMACH4_CHKSUM_CONT_8733B BIT(24)

#define BIT_SHIFT_DDMACH4_DLEN_8733B 0
#define BIT_MASK_DDMACH4_DLEN_8733B 0x3ffff
#define BIT_DDMACH4_DLEN_8733B(x) (((x) & BIT_MASK_DDMACH4_DLEN_8733B) << BIT_SHIFT_DDMACH4_DLEN_8733B)
#define BITS_DDMACH4_DLEN_8733B (BIT_MASK_DDMACH4_DLEN_8733B << BIT_SHIFT_DDMACH4_DLEN_8733B)
#define BIT_CLEAR_DDMACH4_DLEN_8733B(x) ((x) & (~BITS_DDMACH4_DLEN_8733B))
#define BIT_GET_DDMACH4_DLEN_8733B(x) (((x) >> BIT_SHIFT_DDMACH4_DLEN_8733B) & BIT_MASK_DDMACH4_DLEN_8733B)
#define BIT_SET_DDMACH4_DLEN_8733B(x, v) (BIT_CLEAR_DDMACH4_DLEN_8733B(x) | BIT_DDMACH4_DLEN_8733B(v))

/* 2 REG_DDMA_CH5SA_8733B */

#define BIT_SHIFT_DDMACH5_SA_8733B 0
#define BIT_MASK_DDMACH5_SA_8733B 0xffffffffL
#define BIT_DDMACH5_SA_8733B(x) (((x) & BIT_MASK_DDMACH5_SA_8733B) << BIT_SHIFT_DDMACH5_SA_8733B)
#define BITS_DDMACH5_SA_8733B (BIT_MASK_DDMACH5_SA_8733B << BIT_SHIFT_DDMACH5_SA_8733B)
#define BIT_CLEAR_DDMACH5_SA_8733B(x) ((x) & (~BITS_DDMACH5_SA_8733B))
#define BIT_GET_DDMACH5_SA_8733B(x) (((x) >> BIT_SHIFT_DDMACH5_SA_8733B) & BIT_MASK_DDMACH5_SA_8733B)
#define BIT_SET_DDMACH5_SA_8733B(x, v) (BIT_CLEAR_DDMACH5_SA_8733B(x) | BIT_DDMACH5_SA_8733B(v))

/* 2 REG_DDMA_CH5DA_8733B */

#define BIT_SHIFT_DDMACH5_DA_8733B 0
#define BIT_MASK_DDMACH5_DA_8733B 0xffffffffL
#define BIT_DDMACH5_DA_8733B(x) (((x) & BIT_MASK_DDMACH5_DA_8733B) << BIT_SHIFT_DDMACH5_DA_8733B)
#define BITS_DDMACH5_DA_8733B (BIT_MASK_DDMACH5_DA_8733B << BIT_SHIFT_DDMACH5_DA_8733B)
#define BIT_CLEAR_DDMACH5_DA_8733B(x) ((x) & (~BITS_DDMACH5_DA_8733B))
#define BIT_GET_DDMACH5_DA_8733B(x) (((x) >> BIT_SHIFT_DDMACH5_DA_8733B) & BIT_MASK_DDMACH5_DA_8733B)
#define BIT_SET_DDMACH5_DA_8733B(x, v) (BIT_CLEAR_DDMACH5_DA_8733B(x) | BIT_DDMACH5_DA_8733B(v))

/* 2 REG_DDMA_CH5CTRL_8733B */
#define BIT_DDMACH5_OWN_8733B BIT(31)
#define BIT_DDMACH5_IDMEM_ERR_8733B BIT(30)
#define BIT_DDMACH5_CHKSUM_EN_8733B BIT(29)
#define BIT_DDMACH5_DA_W_DISABLE_8733B BIT(28)
#define BIT_DDMACH5_CHKSUM_STS_8733B BIT(27)
#define BIT_DDMACH5_DDMA_MODE_8733B BIT(26)
#define BIT_DDMACH5_RESET_CHKSUM_STS_8733B BIT(25)
#define BIT_DDMACH5_CHKSUM_CONT_8733B BIT(24)

#define BIT_SHIFT_DDMACH5_DLEN_8733B 0
#define BIT_MASK_DDMACH5_DLEN_8733B 0x3ffff
#define BIT_DDMACH5_DLEN_8733B(x) (((x) & BIT_MASK_DDMACH5_DLEN_8733B) << BIT_SHIFT_DDMACH5_DLEN_8733B)
#define BITS_DDMACH5_DLEN_8733B (BIT_MASK_DDMACH5_DLEN_8733B << BIT_SHIFT_DDMACH5_DLEN_8733B)
#define BIT_CLEAR_DDMACH5_DLEN_8733B(x) ((x) & (~BITS_DDMACH5_DLEN_8733B))
#define BIT_GET_DDMACH5_DLEN_8733B(x) (((x) >> BIT_SHIFT_DDMACH5_DLEN_8733B) & BIT_MASK_DDMACH5_DLEN_8733B)
#define BIT_SET_DDMACH5_DLEN_8733B(x, v) (BIT_CLEAR_DDMACH5_DLEN_8733B(x) | BIT_DDMACH5_DLEN_8733B(v))

/* 2 REG_DDMA_INT_MSK_8733B */
#define BIT_DDMACH5_MSK_8733B BIT(5)
#define BIT_DDMACH4_MSK_8733B BIT(4)
#define BIT_DDMACH3_MSK_8733B BIT(3)
#define BIT_DDMACH2_MSK_8733B BIT(2)
#define BIT_DDMACH1_MSK_8733B BIT(1)
#define BIT_DDMACH0_MSK_8733B BIT(0)

/* 2 REG_DDMA_CHSTATUS_8733B */
#define BIT_DDMACH5_BUSY_8733B BIT(5)
#define BIT_DDMACH4_BUSY_8733B BIT(4)
#define BIT_DDMACH3_BUSY_8733B BIT(3)
#define BIT_DDMACH2_BUSY_8733B BIT(2)
#define BIT_DDMACH1_BUSY_8733B BIT(1)
#define BIT_DDMACH0_BUSY_8733B BIT(0)

/* 2 REG_DDMA_CHKSUM_8733B */

#define BIT_SHIFT_DDMA_OCP_CS_8733B 24
#define BIT_MASK_DDMA_OCP_CS_8733B 0x7
#define BIT_DDMA_OCP_CS_8733B(x) (((x) & BIT_MASK_DDMA_OCP_CS_8733B) << BIT_SHIFT_DDMA_OCP_CS_8733B)
#define BITS_DDMA_OCP_CS_8733B (BIT_MASK_DDMA_OCP_CS_8733B << BIT_SHIFT_DDMA_OCP_CS_8733B)
#define BIT_CLEAR_DDMA_OCP_CS_8733B(x) ((x) & (~BITS_DDMA_OCP_CS_8733B))
#define BIT_GET_DDMA_OCP_CS_8733B(x) (((x) >> BIT_SHIFT_DDMA_OCP_CS_8733B) & BIT_MASK_DDMA_OCP_CS_8733B)
#define BIT_SET_DDMA_OCP_CS_8733B(x, v) (BIT_CLEAR_DDMA_OCP_CS_8733B(x) | BIT_DDMA_OCP_CS_8733B(v))

#define BIT_SHIFT_DDMA_DST_CS_8733B 22
#define BIT_MASK_DDMA_DST_CS_8733B 0x3
#define BIT_DDMA_DST_CS_8733B(x) (((x) & BIT_MASK_DDMA_DST_CS_8733B) << BIT_SHIFT_DDMA_DST_CS_8733B)
#define BITS_DDMA_DST_CS_8733B (BIT_MASK_DDMA_DST_CS_8733B << BIT_SHIFT_DDMA_DST_CS_8733B)
#define BIT_CLEAR_DDMA_DST_CS_8733B(x) ((x) & (~BITS_DDMA_DST_CS_8733B))
#define BIT_GET_DDMA_DST_CS_8733B(x) (((x) >> BIT_SHIFT_DDMA_DST_CS_8733B) & BIT_MASK_DDMA_DST_CS_8733B)
#define BIT_SET_DDMA_DST_CS_8733B(x, v) (BIT_CLEAR_DDMA_DST_CS_8733B(x) | BIT_DDMA_DST_CS_8733B(v))

#define BIT_SHIFT_DDMA_SRC_CS_8733B 20
#define BIT_MASK_DDMA_SRC_CS_8733B 0x3
#define BIT_DDMA_SRC_CS_8733B(x) (((x) & BIT_MASK_DDMA_SRC_CS_8733B) << BIT_SHIFT_DDMA_SRC_CS_8733B)
#define BITS_DDMA_SRC_CS_8733B (BIT_MASK_DDMA_SRC_CS_8733B << BIT_SHIFT_DDMA_SRC_CS_8733B)
#define BIT_CLEAR_DDMA_SRC_CS_8733B(x) ((x) & (~BITS_DDMA_SRC_CS_8733B))
#define BIT_GET_DDMA_SRC_CS_8733B(x) (((x) >> BIT_SHIFT_DDMA_SRC_CS_8733B) & BIT_MASK_DDMA_SRC_CS_8733B)
#define BIT_SET_DDMA_SRC_CS_8733B(x, v) (BIT_CLEAR_DDMA_SRC_CS_8733B(x) | BIT_DDMA_SRC_CS_8733B(v))

#define BIT_SHIFT_DDMA_ARB_CS_8733B 16
#define BIT_MASK_DDMA_ARB_CS_8733B 0xf
#define BIT_DDMA_ARB_CS_8733B(x) (((x) & BIT_MASK_DDMA_ARB_CS_8733B) << BIT_SHIFT_DDMA_ARB_CS_8733B)
#define BITS_DDMA_ARB_CS_8733B (BIT_MASK_DDMA_ARB_CS_8733B << BIT_SHIFT_DDMA_ARB_CS_8733B)
#define BIT_CLEAR_DDMA_ARB_CS_8733B(x) ((x) & (~BITS_DDMA_ARB_CS_8733B))
#define BIT_GET_DDMA_ARB_CS_8733B(x) (((x) >> BIT_SHIFT_DDMA_ARB_CS_8733B) & BIT_MASK_DDMA_ARB_CS_8733B)
#define BIT_SET_DDMA_ARB_CS_8733B(x, v) (BIT_CLEAR_DDMA_ARB_CS_8733B(x) | BIT_DDMA_ARB_CS_8733B(v))

#define BIT_SHIFT_IDDMA0_CHKSUM_8733B 0
#define BIT_MASK_IDDMA0_CHKSUM_8733B 0xffff
#define BIT_IDDMA0_CHKSUM_8733B(x) (((x) & BIT_MASK_IDDMA0_CHKSUM_8733B) << BIT_SHIFT_IDDMA0_CHKSUM_8733B)
#define BITS_IDDMA0_CHKSUM_8733B (BIT_MASK_IDDMA0_CHKSUM_8733B << BIT_SHIFT_IDDMA0_CHKSUM_8733B)
#define BIT_CLEAR_IDDMA0_CHKSUM_8733B(x) ((x) & (~BITS_IDDMA0_CHKSUM_8733B))
#define BIT_GET_IDDMA0_CHKSUM_8733B(x) (((x) >> BIT_SHIFT_IDDMA0_CHKSUM_8733B) & BIT_MASK_IDDMA0_CHKSUM_8733B)
#define BIT_SET_IDDMA0_CHKSUM_8733B(x, v) (BIT_CLEAR_IDDMA0_CHKSUM_8733B(x) | BIT_IDDMA0_CHKSUM_8733B(v))

/* 2 REG_DDMA_MONITOR_8733B */
#define BIT_IDDMA0_PERMU_UNDERFLOW_8733B BIT(14)
#define BIT_IDDMA0_FIFO_UNDERFLOW_8733B BIT(13)
#define BIT_IDDMA0_FIFO_OVERFLOW_8733B BIT(12)
#define BIT_CH5_ERR_8733B BIT(5)
#define BIT_CH4_ERR_8733B BIT(4)
#define BIT_CH3_ERR_8733B BIT(3)
#define BIT_CH2_ERR_8733B BIT(2)
#define BIT_CH1_ERR_8733B BIT(1)
#define BIT_CH0_ERR_8733B BIT(0)

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_Q0_INFO_8733B */

#define BIT_SHIFT_QUEUEMACID_Q0_V1_8733B 25
#define BIT_MASK_QUEUEMACID_Q0_V1_8733B 0x7f
#define BIT_QUEUEMACID_Q0_V1_8733B(x) (((x) & BIT_MASK_QUEUEMACID_Q0_V1_8733B) << BIT_SHIFT_QUEUEMACID_Q0_V1_8733B)
#define BITS_QUEUEMACID_Q0_V1_8733B (BIT_MASK_QUEUEMACID_Q0_V1_8733B << BIT_SHIFT_QUEUEMACID_Q0_V1_8733B)
#define BIT_CLEAR_QUEUEMACID_Q0_V1_8733B(x) ((x) & (~BITS_QUEUEMACID_Q0_V1_8733B))
#define BIT_GET_QUEUEMACID_Q0_V1_8733B(x) (((x) >> BIT_SHIFT_QUEUEMACID_Q0_V1_8733B) & BIT_MASK_QUEUEMACID_Q0_V1_8733B)
#define BIT_SET_QUEUEMACID_Q0_V1_8733B(x, v) (BIT_CLEAR_QUEUEMACID_Q0_V1_8733B(x) | BIT_QUEUEMACID_Q0_V1_8733B(v))

#define BIT_SHIFT_QUEUEAC_Q0_V1_8733B 23
#define BIT_MASK_QUEUEAC_Q0_V1_8733B 0x3
#define BIT_QUEUEAC_Q0_V1_8733B(x) (((x) & BIT_MASK_QUEUEAC_Q0_V1_8733B) << BIT_SHIFT_QUEUEAC_Q0_V1_8733B)
#define BITS_QUEUEAC_Q0_V1_8733B (BIT_MASK_QUEUEAC_Q0_V1_8733B << BIT_SHIFT_QUEUEAC_Q0_V1_8733B)
#define BIT_CLEAR_QUEUEAC_Q0_V1_8733B(x) ((x) & (~BITS_QUEUEAC_Q0_V1_8733B))
#define BIT_GET_QUEUEAC_Q0_V1_8733B(x) (((x) >> BIT_SHIFT_QUEUEAC_Q0_V1_8733B) & BIT_MASK_QUEUEAC_Q0_V1_8733B)
#define BIT_SET_QUEUEAC_Q0_V1_8733B(x, v) (BIT_CLEAR_QUEUEAC_Q0_V1_8733B(x) | BIT_QUEUEAC_Q0_V1_8733B(v))

#define BIT_SHIFT_TAIL_PKT_Q0_V1_8733B 15
#define BIT_MASK_TAIL_PKT_Q0_V1_8733B 0xff
#define BIT_TAIL_PKT_Q0_V1_8733B(x) (((x) & BIT_MASK_TAIL_PKT_Q0_V1_8733B) << BIT_SHIFT_TAIL_PKT_Q0_V1_8733B)
#define BITS_TAIL_PKT_Q0_V1_8733B (BIT_MASK_TAIL_PKT_Q0_V1_8733B << BIT_SHIFT_TAIL_PKT_Q0_V1_8733B)
#define BIT_CLEAR_TAIL_PKT_Q0_V1_8733B(x) ((x) & (~BITS_TAIL_PKT_Q0_V1_8733B))
#define BIT_GET_TAIL_PKT_Q0_V1_8733B(x) (((x) >> BIT_SHIFT_TAIL_PKT_Q0_V1_8733B) & BIT_MASK_TAIL_PKT_Q0_V1_8733B)
#define BIT_SET_TAIL_PKT_Q0_V1_8733B(x, v) (BIT_CLEAR_TAIL_PKT_Q0_V1_8733B(x) | BIT_TAIL_PKT_Q0_V1_8733B(v))

#define BIT_SHIFT_PKT_NUM_Q0_V1_8733B 8
#define BIT_MASK_PKT_NUM_Q0_V1_8733B 0x7f
#define BIT_PKT_NUM_Q0_V1_8733B(x) (((x) & BIT_MASK_PKT_NUM_Q0_V1_8733B) << BIT_SHIFT_PKT_NUM_Q0_V1_8733B)
#define BITS_PKT_NUM_Q0_V1_8733B (BIT_MASK_PKT_NUM_Q0_V1_8733B << BIT_SHIFT_PKT_NUM_Q0_V1_8733B)
#define BIT_CLEAR_PKT_NUM_Q0_V1_8733B(x) ((x) & (~BITS_PKT_NUM_Q0_V1_8733B))
#define BIT_GET_PKT_NUM_Q0_V1_8733B(x) (((x) >> BIT_SHIFT_PKT_NUM_Q0_V1_8733B) & BIT_MASK_PKT_NUM_Q0_V1_8733B)
#define BIT_SET_PKT_NUM_Q0_V1_8733B(x, v) (BIT_CLEAR_PKT_NUM_Q0_V1_8733B(x) | BIT_PKT_NUM_Q0_V1_8733B(v))

#define BIT_SHIFT_HEAD_PKT_Q0_8733B 0
#define BIT_MASK_HEAD_PKT_Q0_8733B 0xff
#define BIT_HEAD_PKT_Q0_8733B(x) (((x) & BIT_MASK_HEAD_PKT_Q0_8733B) << BIT_SHIFT_HEAD_PKT_Q0_8733B)
#define BITS_HEAD_PKT_Q0_8733B (BIT_MASK_HEAD_PKT_Q0_8733B << BIT_SHIFT_HEAD_PKT_Q0_8733B)
#define BIT_CLEAR_HEAD_PKT_Q0_8733B(x) ((x) & (~BITS_HEAD_PKT_Q0_8733B))
#define BIT_GET_HEAD_PKT_Q0_8733B(x) (((x) >> BIT_SHIFT_HEAD_PKT_Q0_8733B) & BIT_MASK_HEAD_PKT_Q0_8733B)
#define BIT_SET_HEAD_PKT_Q0_8733B(x, v) (BIT_CLEAR_HEAD_PKT_Q0_8733B(x) | BIT_HEAD_PKT_Q0_8733B(v))

/* 2 REG_Q1_INFO_8733B */

#define BIT_SHIFT_QUEUEMACID_Q1_V1_8733B 25
#define BIT_MASK_QUEUEMACID_Q1_V1_8733B 0x7f
#define BIT_QUEUEMACID_Q1_V1_8733B(x) (((x) & BIT_MASK_QUEUEMACID_Q1_V1_8733B) << BIT_SHIFT_QUEUEMACID_Q1_V1_8733B)
#define BITS_QUEUEMACID_Q1_V1_8733B (BIT_MASK_QUEUEMACID_Q1_V1_8733B << BIT_SHIFT_QUEUEMACID_Q1_V1_8733B)
#define BIT_CLEAR_QUEUEMACID_Q1_V1_8733B(x) ((x) & (~BITS_QUEUEMACID_Q1_V1_8733B))
#define BIT_GET_QUEUEMACID_Q1_V1_8733B(x) (((x) >> BIT_SHIFT_QUEUEMACID_Q1_V1_8733B) & BIT_MASK_QUEUEMACID_Q1_V1_8733B)
#define BIT_SET_QUEUEMACID_Q1_V1_8733B(x, v) (BIT_CLEAR_QUEUEMACID_Q1_V1_8733B(x) | BIT_QUEUEMACID_Q1_V1_8733B(v))

#define BIT_SHIFT_QUEUEAC_Q1_V1_8733B 23
#define BIT_MASK_QUEUEAC_Q1_V1_8733B 0x3
#define BIT_QUEUEAC_Q1_V1_8733B(x) (((x) & BIT_MASK_QUEUEAC_Q1_V1_8733B) << BIT_SHIFT_QUEUEAC_Q1_V1_8733B)
#define BITS_QUEUEAC_Q1_V1_8733B (BIT_MASK_QUEUEAC_Q1_V1_8733B << BIT_SHIFT_QUEUEAC_Q1_V1_8733B)
#define BIT_CLEAR_QUEUEAC_Q1_V1_8733B(x) ((x) & (~BITS_QUEUEAC_Q1_V1_8733B))
#define BIT_GET_QUEUEAC_Q1_V1_8733B(x) (((x) >> BIT_SHIFT_QUEUEAC_Q1_V1_8733B) & BIT_MASK_QUEUEAC_Q1_V1_8733B)
#define BIT_SET_QUEUEAC_Q1_V1_8733B(x, v) (BIT_CLEAR_QUEUEAC_Q1_V1_8733B(x) | BIT_QUEUEAC_Q1_V1_8733B(v))

#define BIT_SHIFT_TAIL_PKT_Q1_V1_8733B 15
#define BIT_MASK_TAIL_PKT_Q1_V1_8733B 0xff
#define BIT_TAIL_PKT_Q1_V1_8733B(x) (((x) & BIT_MASK_TAIL_PKT_Q1_V1_8733B) << BIT_SHIFT_TAIL_PKT_Q1_V1_8733B)
#define BITS_TAIL_PKT_Q1_V1_8733B (BIT_MASK_TAIL_PKT_Q1_V1_8733B << BIT_SHIFT_TAIL_PKT_Q1_V1_8733B)
#define BIT_CLEAR_TAIL_PKT_Q1_V1_8733B(x) ((x) & (~BITS_TAIL_PKT_Q1_V1_8733B))
#define BIT_GET_TAIL_PKT_Q1_V1_8733B(x) (((x) >> BIT_SHIFT_TAIL_PKT_Q1_V1_8733B) & BIT_MASK_TAIL_PKT_Q1_V1_8733B)
#define BIT_SET_TAIL_PKT_Q1_V1_8733B(x, v) (BIT_CLEAR_TAIL_PKT_Q1_V1_8733B(x) | BIT_TAIL_PKT_Q1_V1_8733B(v))

#define BIT_SHIFT_PKT_NUM_Q1_V1_8733B 8
#define BIT_MASK_PKT_NUM_Q1_V1_8733B 0x7f
#define BIT_PKT_NUM_Q1_V1_8733B(x) (((x) & BIT_MASK_PKT_NUM_Q1_V1_8733B) << BIT_SHIFT_PKT_NUM_Q1_V1_8733B)
#define BITS_PKT_NUM_Q1_V1_8733B (BIT_MASK_PKT_NUM_Q1_V1_8733B << BIT_SHIFT_PKT_NUM_Q1_V1_8733B)
#define BIT_CLEAR_PKT_NUM_Q1_V1_8733B(x) ((x) & (~BITS_PKT_NUM_Q1_V1_8733B))
#define BIT_GET_PKT_NUM_Q1_V1_8733B(x) (((x) >> BIT_SHIFT_PKT_NUM_Q1_V1_8733B) & BIT_MASK_PKT_NUM_Q1_V1_8733B)
#define BIT_SET_PKT_NUM_Q1_V1_8733B(x, v) (BIT_CLEAR_PKT_NUM_Q1_V1_8733B(x) | BIT_PKT_NUM_Q1_V1_8733B(v))

#define BIT_SHIFT_HEAD_PKT_Q1_8733B 0
#define BIT_MASK_HEAD_PKT_Q1_8733B 0xff
#define BIT_HEAD_PKT_Q1_8733B(x) (((x) & BIT_MASK_HEAD_PKT_Q1_8733B) << BIT_SHIFT_HEAD_PKT_Q1_8733B)
#define BITS_HEAD_PKT_Q1_8733B (BIT_MASK_HEAD_PKT_Q1_8733B << BIT_SHIFT_HEAD_PKT_Q1_8733B)
#define BIT_CLEAR_HEAD_PKT_Q1_8733B(x) ((x) & (~BITS_HEAD_PKT_Q1_8733B))
#define BIT_GET_HEAD_PKT_Q1_8733B(x) (((x) >> BIT_SHIFT_HEAD_PKT_Q1_8733B) & BIT_MASK_HEAD_PKT_Q1_8733B)
#define BIT_SET_HEAD_PKT_Q1_8733B(x, v) (BIT_CLEAR_HEAD_PKT_Q1_8733B(x) | BIT_HEAD_PKT_Q1_8733B(v))

/* 2 REG_Q2_INFO_8733B */

#define BIT_SHIFT_QUEUEMACID_Q2_V1_8733B 25
#define BIT_MASK_QUEUEMACID_Q2_V1_8733B 0x7f
#define BIT_QUEUEMACID_Q2_V1_8733B(x) (((x) & BIT_MASK_QUEUEMACID_Q2_V1_8733B) << BIT_SHIFT_QUEUEMACID_Q2_V1_8733B)
#define BITS_QUEUEMACID_Q2_V1_8733B (BIT_MASK_QUEUEMACID_Q2_V1_8733B << BIT_SHIFT_QUEUEMACID_Q2_V1_8733B)
#define BIT_CLEAR_QUEUEMACID_Q2_V1_8733B(x) ((x) & (~BITS_QUEUEMACID_Q2_V1_8733B))
#define BIT_GET_QUEUEMACID_Q2_V1_8733B(x) (((x) >> BIT_SHIFT_QUEUEMACID_Q2_V1_8733B) & BIT_MASK_QUEUEMACID_Q2_V1_8733B)
#define BIT_SET_QUEUEMACID_Q2_V1_8733B(x, v) (BIT_CLEAR_QUEUEMACID_Q2_V1_8733B(x) | BIT_QUEUEMACID_Q2_V1_8733B(v))

#define BIT_SHIFT_QUEUEAC_Q2_V1_8733B 23
#define BIT_MASK_QUEUEAC_Q2_V1_8733B 0x3
#define BIT_QUEUEAC_Q2_V1_8733B(x) (((x) & BIT_MASK_QUEUEAC_Q2_V1_8733B) << BIT_SHIFT_QUEUEAC_Q2_V1_8733B)
#define BITS_QUEUEAC_Q2_V1_8733B (BIT_MASK_QUEUEAC_Q2_V1_8733B << BIT_SHIFT_QUEUEAC_Q2_V1_8733B)
#define BIT_CLEAR_QUEUEAC_Q2_V1_8733B(x) ((x) & (~BITS_QUEUEAC_Q2_V1_8733B))
#define BIT_GET_QUEUEAC_Q2_V1_8733B(x) (((x) >> BIT_SHIFT_QUEUEAC_Q2_V1_8733B) & BIT_MASK_QUEUEAC_Q2_V1_8733B)
#define BIT_SET_QUEUEAC_Q2_V1_8733B(x, v) (BIT_CLEAR_QUEUEAC_Q2_V1_8733B(x) | BIT_QUEUEAC_Q2_V1_8733B(v))

#define BIT_SHIFT_TAIL_PKT_Q2_V1_8733B 15
#define BIT_MASK_TAIL_PKT_Q2_V1_8733B 0xff
#define BIT_TAIL_PKT_Q2_V1_8733B(x) (((x) & BIT_MASK_TAIL_PKT_Q2_V1_8733B) << BIT_SHIFT_TAIL_PKT_Q2_V1_8733B)
#define BITS_TAIL_PKT_Q2_V1_8733B (BIT_MASK_TAIL_PKT_Q2_V1_8733B << BIT_SHIFT_TAIL_PKT_Q2_V1_8733B)
#define BIT_CLEAR_TAIL_PKT_Q2_V1_8733B(x) ((x) & (~BITS_TAIL_PKT_Q2_V1_8733B))
#define BIT_GET_TAIL_PKT_Q2_V1_8733B(x) (((x) >> BIT_SHIFT_TAIL_PKT_Q2_V1_8733B) & BIT_MASK_TAIL_PKT_Q2_V1_8733B)
#define BIT_SET_TAIL_PKT_Q2_V1_8733B(x, v) (BIT_CLEAR_TAIL_PKT_Q2_V1_8733B(x) | BIT_TAIL_PKT_Q2_V1_8733B(v))

#define BIT_SHIFT_PKT_NUM_Q2_V1_8733B 8
#define BIT_MASK_PKT_NUM_Q2_V1_8733B 0x7f
#define BIT_PKT_NUM_Q2_V1_8733B(x) (((x) & BIT_MASK_PKT_NUM_Q2_V1_8733B) << BIT_SHIFT_PKT_NUM_Q2_V1_8733B)
#define BITS_PKT_NUM_Q2_V1_8733B (BIT_MASK_PKT_NUM_Q2_V1_8733B << BIT_SHIFT_PKT_NUM_Q2_V1_8733B)
#define BIT_CLEAR_PKT_NUM_Q2_V1_8733B(x) ((x) & (~BITS_PKT_NUM_Q2_V1_8733B))
#define BIT_GET_PKT_NUM_Q2_V1_8733B(x) (((x) >> BIT_SHIFT_PKT_NUM_Q2_V1_8733B) & BIT_MASK_PKT_NUM_Q2_V1_8733B)
#define BIT_SET_PKT_NUM_Q2_V1_8733B(x, v) (BIT_CLEAR_PKT_NUM_Q2_V1_8733B(x) | BIT_PKT_NUM_Q2_V1_8733B(v))

#define BIT_SHIFT_HEAD_PKT_Q2_8733B 0
#define BIT_MASK_HEAD_PKT_Q2_8733B 0xff
#define BIT_HEAD_PKT_Q2_8733B(x) (((x) & BIT_MASK_HEAD_PKT_Q2_8733B) << BIT_SHIFT_HEAD_PKT_Q2_8733B)
#define BITS_HEAD_PKT_Q2_8733B (BIT_MASK_HEAD_PKT_Q2_8733B << BIT_SHIFT_HEAD_PKT_Q2_8733B)
#define BIT_CLEAR_HEAD_PKT_Q2_8733B(x) ((x) & (~BITS_HEAD_PKT_Q2_8733B))
#define BIT_GET_HEAD_PKT_Q2_8733B(x) (((x) >> BIT_SHIFT_HEAD_PKT_Q2_8733B) & BIT_MASK_HEAD_PKT_Q2_8733B)
#define BIT_SET_HEAD_PKT_Q2_8733B(x, v) (BIT_CLEAR_HEAD_PKT_Q2_8733B(x) | BIT_HEAD_PKT_Q2_8733B(v))

/* 2 REG_Q3_INFO_8733B */

#define BIT_SHIFT_QUEUEMACID_Q3_V1_8733B 25
#define BIT_MASK_QUEUEMACID_Q3_V1_8733B 0x7f
#define BIT_QUEUEMACID_Q3_V1_8733B(x) (((x) & BIT_MASK_QUEUEMACID_Q3_V1_8733B) << BIT_SHIFT_QUEUEMACID_Q3_V1_8733B)
#define BITS_QUEUEMACID_Q3_V1_8733B (BIT_MASK_QUEUEMACID_Q3_V1_8733B << BIT_SHIFT_QUEUEMACID_Q3_V1_8733B)
#define BIT_CLEAR_QUEUEMACID_Q3_V1_8733B(x) ((x) & (~BITS_QUEUEMACID_Q3_V1_8733B))
#define BIT_GET_QUEUEMACID_Q3_V1_8733B(x) (((x) >> BIT_SHIFT_QUEUEMACID_Q3_V1_8733B) & BIT_MASK_QUEUEMACID_Q3_V1_8733B)
#define BIT_SET_QUEUEMACID_Q3_V1_8733B(x, v) (BIT_CLEAR_QUEUEMACID_Q3_V1_8733B(x) | BIT_QUEUEMACID_Q3_V1_8733B(v))

#define BIT_SHIFT_QUEUEAC_Q3_V1_8733B 23
#define BIT_MASK_QUEUEAC_Q3_V1_8733B 0x3
#define BIT_QUEUEAC_Q3_V1_8733B(x) (((x) & BIT_MASK_QUEUEAC_Q3_V1_8733B) << BIT_SHIFT_QUEUEAC_Q3_V1_8733B)
#define BITS_QUEUEAC_Q3_V1_8733B (BIT_MASK_QUEUEAC_Q3_V1_8733B << BIT_SHIFT_QUEUEAC_Q3_V1_8733B)
#define BIT_CLEAR_QUEUEAC_Q3_V1_8733B(x) ((x) & (~BITS_QUEUEAC_Q3_V1_8733B))
#define BIT_GET_QUEUEAC_Q3_V1_8733B(x) (((x) >> BIT_SHIFT_QUEUEAC_Q3_V1_8733B) & BIT_MASK_QUEUEAC_Q3_V1_8733B)
#define BIT_SET_QUEUEAC_Q3_V1_8733B(x, v) (BIT_CLEAR_QUEUEAC_Q3_V1_8733B(x) | BIT_QUEUEAC_Q3_V1_8733B(v))

#define BIT_SHIFT_TAIL_PKT_Q3_V1_8733B 15
#define BIT_MASK_TAIL_PKT_Q3_V1_8733B 0xff
#define BIT_TAIL_PKT_Q3_V1_8733B(x) (((x) & BIT_MASK_TAIL_PKT_Q3_V1_8733B) << BIT_SHIFT_TAIL_PKT_Q3_V1_8733B)
#define BITS_TAIL_PKT_Q3_V1_8733B (BIT_MASK_TAIL_PKT_Q3_V1_8733B << BIT_SHIFT_TAIL_PKT_Q3_V1_8733B)
#define BIT_CLEAR_TAIL_PKT_Q3_V1_8733B(x) ((x) & (~BITS_TAIL_PKT_Q3_V1_8733B))
#define BIT_GET_TAIL_PKT_Q3_V1_8733B(x) (((x) >> BIT_SHIFT_TAIL_PKT_Q3_V1_8733B) & BIT_MASK_TAIL_PKT_Q3_V1_8733B)
#define BIT_SET_TAIL_PKT_Q3_V1_8733B(x, v) (BIT_CLEAR_TAIL_PKT_Q3_V1_8733B(x) | BIT_TAIL_PKT_Q3_V1_8733B(v))

#define BIT_SHIFT_PKT_NUM_Q3_V1_8733B 8
#define BIT_MASK_PKT_NUM_Q3_V1_8733B 0x7f
#define BIT_PKT_NUM_Q3_V1_8733B(x) (((x) & BIT_MASK_PKT_NUM_Q3_V1_8733B) << BIT_SHIFT_PKT_NUM_Q3_V1_8733B)
#define BITS_PKT_NUM_Q3_V1_8733B (BIT_MASK_PKT_NUM_Q3_V1_8733B << BIT_SHIFT_PKT_NUM_Q3_V1_8733B)
#define BIT_CLEAR_PKT_NUM_Q3_V1_8733B(x) ((x) & (~BITS_PKT_NUM_Q3_V1_8733B))
#define BIT_GET_PKT_NUM_Q3_V1_8733B(x) (((x) >> BIT_SHIFT_PKT_NUM_Q3_V1_8733B) & BIT_MASK_PKT_NUM_Q3_V1_8733B)
#define BIT_SET_PKT_NUM_Q3_V1_8733B(x, v) (BIT_CLEAR_PKT_NUM_Q3_V1_8733B(x) | BIT_PKT_NUM_Q3_V1_8733B(v))

#define BIT_SHIFT_HEAD_PKT_Q3_8733B 0
#define BIT_MASK_HEAD_PKT_Q3_8733B 0xff
#define BIT_HEAD_PKT_Q3_8733B(x) (((x) & BIT_MASK_HEAD_PKT_Q3_8733B) << BIT_SHIFT_HEAD_PKT_Q3_8733B)
#define BITS_HEAD_PKT_Q3_8733B (BIT_MASK_HEAD_PKT_Q3_8733B << BIT_SHIFT_HEAD_PKT_Q3_8733B)
#define BIT_CLEAR_HEAD_PKT_Q3_8733B(x) ((x) & (~BITS_HEAD_PKT_Q3_8733B))
#define BIT_GET_HEAD_PKT_Q3_8733B(x) (((x) >> BIT_SHIFT_HEAD_PKT_Q3_8733B) & BIT_MASK_HEAD_PKT_Q3_8733B)
#define BIT_SET_HEAD_PKT_Q3_8733B(x, v) (BIT_CLEAR_HEAD_PKT_Q3_8733B(x) | BIT_HEAD_PKT_Q3_8733B(v))

/* 2 REG_MGQ_INFO_8733B */

#define BIT_SHIFT_QUEUEMACID_MGQ_V1_8733B 25
#define BIT_MASK_QUEUEMACID_MGQ_V1_8733B 0x7f
#define BIT_QUEUEMACID_MGQ_V1_8733B(x) (((x) & BIT_MASK_QUEUEMACID_MGQ_V1_8733B) << BIT_SHIFT_QUEUEMACID_MGQ_V1_8733B)
#define BITS_QUEUEMACID_MGQ_V1_8733B (BIT_MASK_QUEUEMACID_MGQ_V1_8733B << BIT_SHIFT_QUEUEMACID_MGQ_V1_8733B)
#define BIT_CLEAR_QUEUEMACID_MGQ_V1_8733B(x) ((x) & (~BITS_QUEUEMACID_MGQ_V1_8733B))
#define BIT_GET_QUEUEMACID_MGQ_V1_8733B(x) (((x) >> BIT_SHIFT_QUEUEMACID_MGQ_V1_8733B) & BIT_MASK_QUEUEMACID_MGQ_V1_8733B)
#define BIT_SET_QUEUEMACID_MGQ_V1_8733B(x, v) (BIT_CLEAR_QUEUEMACID_MGQ_V1_8733B(x) | BIT_QUEUEMACID_MGQ_V1_8733B(v))

#define BIT_SHIFT_QUEUEAC_MGQ_V1_8733B 23
#define BIT_MASK_QUEUEAC_MGQ_V1_8733B 0x3
#define BIT_QUEUEAC_MGQ_V1_8733B(x) (((x) & BIT_MASK_QUEUEAC_MGQ_V1_8733B) << BIT_SHIFT_QUEUEAC_MGQ_V1_8733B)
#define BITS_QUEUEAC_MGQ_V1_8733B (BIT_MASK_QUEUEAC_MGQ_V1_8733B << BIT_SHIFT_QUEUEAC_MGQ_V1_8733B)
#define BIT_CLEAR_QUEUEAC_MGQ_V1_8733B(x) ((x) & (~BITS_QUEUEAC_MGQ_V1_8733B))
#define BIT_GET_QUEUEAC_MGQ_V1_8733B(x) (((x) >> BIT_SHIFT_QUEUEAC_MGQ_V1_8733B) & BIT_MASK_QUEUEAC_MGQ_V1_8733B)
#define BIT_SET_QUEUEAC_MGQ_V1_8733B(x, v) (BIT_CLEAR_QUEUEAC_MGQ_V1_8733B(x) | BIT_QUEUEAC_MGQ_V1_8733B(v))

#define BIT_SHIFT_TAIL_PKT_MGQ_V1_8733B 15
#define BIT_MASK_TAIL_PKT_MGQ_V1_8733B 0xff
#define BIT_TAIL_PKT_MGQ_V1_8733B(x) (((x) & BIT_MASK_TAIL_PKT_MGQ_V1_8733B) << BIT_SHIFT_TAIL_PKT_MGQ_V1_8733B)
#define BITS_TAIL_PKT_MGQ_V1_8733B (BIT_MASK_TAIL_PKT_MGQ_V1_8733B << BIT_SHIFT_TAIL_PKT_MGQ_V1_8733B)
#define BIT_CLEAR_TAIL_PKT_MGQ_V1_8733B(x) ((x) & (~BITS_TAIL_PKT_MGQ_V1_8733B))
#define BIT_GET_TAIL_PKT_MGQ_V1_8733B(x) (((x) >> BIT_SHIFT_TAIL_PKT_MGQ_V1_8733B) & BIT_MASK_TAIL_PKT_MGQ_V1_8733B)
#define BIT_SET_TAIL_PKT_MGQ_V1_8733B(x, v) (BIT_CLEAR_TAIL_PKT_MGQ_V1_8733B(x) | BIT_TAIL_PKT_MGQ_V1_8733B(v))

#define BIT_SHIFT_PKT_NUM_MGQ_V1_8733B 8
#define BIT_MASK_PKT_NUM_MGQ_V1_8733B 0x7f
#define BIT_PKT_NUM_MGQ_V1_8733B(x) (((x) & BIT_MASK_PKT_NUM_MGQ_V1_8733B) << BIT_SHIFT_PKT_NUM_MGQ_V1_8733B)
#define BITS_PKT_NUM_MGQ_V1_8733B (BIT_MASK_PKT_NUM_MGQ_V1_8733B << BIT_SHIFT_PKT_NUM_MGQ_V1_8733B)
#define BIT_CLEAR_PKT_NUM_MGQ_V1_8733B(x) ((x) & (~BITS_PKT_NUM_MGQ_V1_8733B))
#define BIT_GET_PKT_NUM_MGQ_V1_8733B(x) (((x) >> BIT_SHIFT_PKT_NUM_MGQ_V1_8733B) & BIT_MASK_PKT_NUM_MGQ_V1_8733B)
#define BIT_SET_PKT_NUM_MGQ_V1_8733B(x, v) (BIT_CLEAR_PKT_NUM_MGQ_V1_8733B(x) | BIT_PKT_NUM_MGQ_V1_8733B(v))

#define BIT_SHIFT_HEAD_PKT_MGQ_8733B 0
#define BIT_MASK_HEAD_PKT_MGQ_8733B 0xff
#define BIT_HEAD_PKT_MGQ_8733B(x) (((x) & BIT_MASK_HEAD_PKT_MGQ_8733B) << BIT_SHIFT_HEAD_PKT_MGQ_8733B)
#define BITS_HEAD_PKT_MGQ_8733B (BIT_MASK_HEAD_PKT_MGQ_8733B << BIT_SHIFT_HEAD_PKT_MGQ_8733B)
#define BIT_CLEAR_HEAD_PKT_MGQ_8733B(x) ((x) & (~BITS_HEAD_PKT_MGQ_8733B))
#define BIT_GET_HEAD_PKT_MGQ_8733B(x) (((x) >> BIT_SHIFT_HEAD_PKT_MGQ_8733B) & BIT_MASK_HEAD_PKT_MGQ_8733B)
#define BIT_SET_HEAD_PKT_MGQ_8733B(x, v) (BIT_CLEAR_HEAD_PKT_MGQ_8733B(x) | BIT_HEAD_PKT_MGQ_8733B(v))

/* 2 REG_HIQ_INFO_8733B */

#define BIT_SHIFT_QUEUEMACID_HIQ_V1_8733B 25
#define BIT_MASK_QUEUEMACID_HIQ_V1_8733B 0x7f
#define BIT_QUEUEMACID_HIQ_V1_8733B(x) (((x) & BIT_MASK_QUEUEMACID_HIQ_V1_8733B) << BIT_SHIFT_QUEUEMACID_HIQ_V1_8733B)
#define BITS_QUEUEMACID_HIQ_V1_8733B (BIT_MASK_QUEUEMACID_HIQ_V1_8733B << BIT_SHIFT_QUEUEMACID_HIQ_V1_8733B)
#define BIT_CLEAR_QUEUEMACID_HIQ_V1_8733B(x) ((x) & (~BITS_QUEUEMACID_HIQ_V1_8733B))
#define BIT_GET_QUEUEMACID_HIQ_V1_8733B(x) (((x) >> BIT_SHIFT_QUEUEMACID_HIQ_V1_8733B) & BIT_MASK_QUEUEMACID_HIQ_V1_8733B)
#define BIT_SET_QUEUEMACID_HIQ_V1_8733B(x, v) (BIT_CLEAR_QUEUEMACID_HIQ_V1_8733B(x) | BIT_QUEUEMACID_HIQ_V1_8733B(v))

#define BIT_SHIFT_QUEUEAC_HIQ_V1_8733B 23
#define BIT_MASK_QUEUEAC_HIQ_V1_8733B 0x3
#define BIT_QUEUEAC_HIQ_V1_8733B(x) (((x) & BIT_MASK_QUEUEAC_HIQ_V1_8733B) << BIT_SHIFT_QUEUEAC_HIQ_V1_8733B)
#define BITS_QUEUEAC_HIQ_V1_8733B (BIT_MASK_QUEUEAC_HIQ_V1_8733B << BIT_SHIFT_QUEUEAC_HIQ_V1_8733B)
#define BIT_CLEAR_QUEUEAC_HIQ_V1_8733B(x) ((x) & (~BITS_QUEUEAC_HIQ_V1_8733B))
#define BIT_GET_QUEUEAC_HIQ_V1_8733B(x) (((x) >> BIT_SHIFT_QUEUEAC_HIQ_V1_8733B) & BIT_MASK_QUEUEAC_HIQ_V1_8733B)
#define BIT_SET_QUEUEAC_HIQ_V1_8733B(x, v) (BIT_CLEAR_QUEUEAC_HIQ_V1_8733B(x) | BIT_QUEUEAC_HIQ_V1_8733B(v))

#define BIT_SHIFT_TAIL_PKT_HIQ_V1_8733B 15
#define BIT_MASK_TAIL_PKT_HIQ_V1_8733B 0xff
#define BIT_TAIL_PKT_HIQ_V1_8733B(x) (((x) & BIT_MASK_TAIL_PKT_HIQ_V1_8733B) << BIT_SHIFT_TAIL_PKT_HIQ_V1_8733B)
#define BITS_TAIL_PKT_HIQ_V1_8733B (BIT_MASK_TAIL_PKT_HIQ_V1_8733B << BIT_SHIFT_TAIL_PKT_HIQ_V1_8733B)
#define BIT_CLEAR_TAIL_PKT_HIQ_V1_8733B(x) ((x) & (~BITS_TAIL_PKT_HIQ_V1_8733B))
#define BIT_GET_TAIL_PKT_HIQ_V1_8733B(x) (((x) >> BIT_SHIFT_TAIL_PKT_HIQ_V1_8733B) & BIT_MASK_TAIL_PKT_HIQ_V1_8733B)
#define BIT_SET_TAIL_PKT_HIQ_V1_8733B(x, v) (BIT_CLEAR_TAIL_PKT_HIQ_V1_8733B(x) | BIT_TAIL_PKT_HIQ_V1_8733B(v))

#define BIT_SHIFT_PKT_NUM_HIQ_V1_8733B 8
#define BIT_MASK_PKT_NUM_HIQ_V1_8733B 0x7f
#define BIT_PKT_NUM_HIQ_V1_8733B(x) (((x) & BIT_MASK_PKT_NUM_HIQ_V1_8733B) << BIT_SHIFT_PKT_NUM_HIQ_V1_8733B)
#define BITS_PKT_NUM_HIQ_V1_8733B (BIT_MASK_PKT_NUM_HIQ_V1_8733B << BIT_SHIFT_PKT_NUM_HIQ_V1_8733B)
#define BIT_CLEAR_PKT_NUM_HIQ_V1_8733B(x) ((x) & (~BITS_PKT_NUM_HIQ_V1_8733B))
#define BIT_GET_PKT_NUM_HIQ_V1_8733B(x) (((x) >> BIT_SHIFT_PKT_NUM_HIQ_V1_8733B) & BIT_MASK_PKT_NUM_HIQ_V1_8733B)
#define BIT_SET_PKT_NUM_HIQ_V1_8733B(x, v) (BIT_CLEAR_PKT_NUM_HIQ_V1_8733B(x) | BIT_PKT_NUM_HIQ_V1_8733B(v))

#define BIT_SHIFT_HEAD_PKT_HIQ_8733B 0
#define BIT_MASK_HEAD_PKT_HIQ_8733B 0xff
#define BIT_HEAD_PKT_HIQ_8733B(x) (((x) & BIT_MASK_HEAD_PKT_HIQ_8733B) << BIT_SHIFT_HEAD_PKT_HIQ_8733B)
#define BITS_HEAD_PKT_HIQ_8733B (BIT_MASK_HEAD_PKT_HIQ_8733B << BIT_SHIFT_HEAD_PKT_HIQ_8733B)
#define BIT_CLEAR_HEAD_PKT_HIQ_8733B(x) ((x) & (~BITS_HEAD_PKT_HIQ_8733B))
#define BIT_GET_HEAD_PKT_HIQ_8733B(x) (((x) >> BIT_SHIFT_HEAD_PKT_HIQ_8733B) & BIT_MASK_HEAD_PKT_HIQ_8733B)
#define BIT_SET_HEAD_PKT_HIQ_8733B(x, v) (BIT_CLEAR_HEAD_PKT_HIQ_8733B(x) | BIT_HEAD_PKT_HIQ_8733B(v))

/* 2 REG_BCNQ_INFO_8733B */

#define BIT_SHIFT_PKT_NUM_BCNQ_8733B 8
#define BIT_MASK_PKT_NUM_BCNQ_8733B 0xff
#define BIT_PKT_NUM_BCNQ_8733B(x) (((x) & BIT_MASK_PKT_NUM_BCNQ_8733B) << BIT_SHIFT_PKT_NUM_BCNQ_8733B)
#define BITS_PKT_NUM_BCNQ_8733B (BIT_MASK_PKT_NUM_BCNQ_8733B << BIT_SHIFT_PKT_NUM_BCNQ_8733B)
#define BIT_CLEAR_PKT_NUM_BCNQ_8733B(x) ((x) & (~BITS_PKT_NUM_BCNQ_8733B))
#define BIT_GET_PKT_NUM_BCNQ_8733B(x) (((x) >> BIT_SHIFT_PKT_NUM_BCNQ_8733B) & BIT_MASK_PKT_NUM_BCNQ_8733B)
#define BIT_SET_PKT_NUM_BCNQ_8733B(x, v) (BIT_CLEAR_PKT_NUM_BCNQ_8733B(x) | BIT_PKT_NUM_BCNQ_8733B(v))

#define BIT_SHIFT_BCNQ_HEAD_PG_8733B 0
#define BIT_MASK_BCNQ_HEAD_PG_8733B 0xff
#define BIT_BCNQ_HEAD_PG_8733B(x) (((x) & BIT_MASK_BCNQ_HEAD_PG_8733B) << BIT_SHIFT_BCNQ_HEAD_PG_8733B)
#define BITS_BCNQ_HEAD_PG_8733B (BIT_MASK_BCNQ_HEAD_PG_8733B << BIT_SHIFT_BCNQ_HEAD_PG_8733B)
#define BIT_CLEAR_BCNQ_HEAD_PG_8733B(x) ((x) & (~BITS_BCNQ_HEAD_PG_8733B))
#define BIT_GET_BCNQ_HEAD_PG_8733B(x) (((x) >> BIT_SHIFT_BCNQ_HEAD_PG_8733B) & BIT_MASK_BCNQ_HEAD_PG_8733B)
#define BIT_SET_BCNQ_HEAD_PG_8733B(x, v) (BIT_CLEAR_BCNQ_HEAD_PG_8733B(x) | BIT_BCNQ_HEAD_PG_8733B(v))

/* 2 REG_TXPKT_EMPTY_8733B */
#define BIT_BCNQ_EMPTY_8733B BIT(11)
#define BIT_HQQ_EMPTY_8733B BIT(10)
#define BIT_MQQ_EMPTY_8733B BIT(9)
#define BIT_MGQ_CPU_EMPTY_8733B BIT(8)
#define BIT_AC7Q_EMPTY_8733B BIT(7)
#define BIT_AC6Q_EMPTY_8733B BIT(6)
#define BIT_AC5Q_EMPTY_8733B BIT(5)
#define BIT_AC4Q_EMPTY_8733B BIT(4)
#define BIT_AC3Q_EMPTY_8733B BIT(3)
#define BIT_AC2Q_EMPTY_8733B BIT(2)
#define BIT_AC1Q_EMPTY_8733B BIT(1)
#define BIT_AC0Q_EMPTY_8733B BIT(0)

/* 2 REG_CPU_MGQ_INFO_8733B */
#define BIT_BCN_POLL2_8733B BIT(31)
#define BIT_BCN_POLL1_8733B BIT(30)
#define BIT_CPUMGT_POLL_SET_8733B BIT(29)
#define BIT_BCN_POLL_8733B BIT(28)
#define BIT_CPUMGT_POLL_CLR_8733B BIT(27)
#define BIT_CPUMGQ_FW_NUM_8733B BIT(8)

#define BIT_SHIFT_CPUMGQ_HEAD_PG_8733B 0
#define BIT_MASK_CPUMGQ_HEAD_PG_8733B 0xff
#define BIT_CPUMGQ_HEAD_PG_8733B(x) (((x) & BIT_MASK_CPUMGQ_HEAD_PG_8733B) << BIT_SHIFT_CPUMGQ_HEAD_PG_8733B)
#define BITS_CPUMGQ_HEAD_PG_8733B (BIT_MASK_CPUMGQ_HEAD_PG_8733B << BIT_SHIFT_CPUMGQ_HEAD_PG_8733B)
#define BIT_CLEAR_CPUMGQ_HEAD_PG_8733B(x) ((x) & (~BITS_CPUMGQ_HEAD_PG_8733B))
#define BIT_GET_CPUMGQ_HEAD_PG_8733B(x) (((x) >> BIT_SHIFT_CPUMGQ_HEAD_PG_8733B) & BIT_MASK_CPUMGQ_HEAD_PG_8733B)
#define BIT_SET_CPUMGQ_HEAD_PG_8733B(x, v) (BIT_CLEAR_CPUMGQ_HEAD_PG_8733B(x) | BIT_CPUMGQ_HEAD_PG_8733B(v))

/* 2 REG_FWHW_TXQ_CTRL_8733B */
#define BIT_RTS_LIMIT_IN_OFDM_8733B BIT(23)
#define BIT_EN_BCNQ_DL_8733B BIT(22)
#define BIT_EN_RD_RESP_NAV_BK_8733B BIT(21)
#define BIT_EN_WR_FREE_TAIL_8733B BIT(20)
#define BIT_TXRPT_DIS_8733B BIT(19)
#define BIT_TXFAILRPT_DIS_8733B BIT(18)
#define BIT_EN_RTY_BC_8733B BIT(17)
#define BIT_EN_RTY_BK_COND_8733B BIT(16)

#define BIT_SHIFT_EN_QUEUE_RPT_8733B 8
#define BIT_MASK_EN_QUEUE_RPT_8733B 0xff
#define BIT_EN_QUEUE_RPT_8733B(x) (((x) & BIT_MASK_EN_QUEUE_RPT_8733B) << BIT_SHIFT_EN_QUEUE_RPT_8733B)
#define BITS_EN_QUEUE_RPT_8733B (BIT_MASK_EN_QUEUE_RPT_8733B << BIT_SHIFT_EN_QUEUE_RPT_8733B)
#define BIT_CLEAR_EN_QUEUE_RPT_8733B(x) ((x) & (~BITS_EN_QUEUE_RPT_8733B))
#define BIT_GET_EN_QUEUE_RPT_8733B(x) (((x) >> BIT_SHIFT_EN_QUEUE_RPT_8733B) & BIT_MASK_EN_QUEUE_RPT_8733B)
#define BIT_SET_EN_QUEUE_RPT_8733B(x, v) (BIT_CLEAR_EN_QUEUE_RPT_8733B(x) | BIT_EN_QUEUE_RPT_8733B(v))

#define BIT_EN_RTY_BK_8733B BIT(7)
#define BIT_EN_USE_INI_RAT_8733B BIT(6)
#define BIT_EN_RTS_NAV_BK_8733B BIT(5)
#define BIT_DIS_SSN_CHECK_8733B BIT(4)
#define BIT_MACID_MATCH_RTS_8733B BIT(3)
#define BIT_EN_BCN_TRXRPT_8733B BIT(2)
#define BIT_EN_FTM_RPT_8733B BIT(1)
#define BIT_PROTECT_BMC_NAV_8733B BIT(0)

/* 2 REG_HWSEQ_CTRL_8733B */

#define BIT_SHIFT_HW_SSN_EN_8733B 0
#define BIT_MASK_HW_SSN_EN_8733B 0xff
#define BIT_HW_SSN_EN_8733B(x) (((x) & BIT_MASK_HW_SSN_EN_8733B) << BIT_SHIFT_HW_SSN_EN_8733B)
#define BITS_HW_SSN_EN_8733B (BIT_MASK_HW_SSN_EN_8733B << BIT_SHIFT_HW_SSN_EN_8733B)
#define BIT_CLEAR_HW_SSN_EN_8733B(x) ((x) & (~BITS_HW_SSN_EN_8733B))
#define BIT_GET_HW_SSN_EN_8733B(x) (((x) >> BIT_SHIFT_HW_SSN_EN_8733B) & BIT_MASK_HW_SSN_EN_8733B)
#define BIT_SET_HW_SSN_EN_8733B(x, v) (BIT_CLEAR_HW_SSN_EN_8733B(x) | BIT_HW_SSN_EN_8733B(v))

/* 2 REG_BCNQ_BDNY_8733B */

#define BIT_SHIFT_MGQ_PGBNDY_8733B 8
#define BIT_MASK_MGQ_PGBNDY_8733B 0xff
#define BIT_MGQ_PGBNDY_8733B(x) (((x) & BIT_MASK_MGQ_PGBNDY_8733B) << BIT_SHIFT_MGQ_PGBNDY_8733B)
#define BITS_MGQ_PGBNDY_8733B (BIT_MASK_MGQ_PGBNDY_8733B << BIT_SHIFT_MGQ_PGBNDY_8733B)
#define BIT_CLEAR_MGQ_PGBNDY_8733B(x) ((x) & (~BITS_MGQ_PGBNDY_8733B))
#define BIT_GET_MGQ_PGBNDY_8733B(x) (((x) >> BIT_SHIFT_MGQ_PGBNDY_8733B) & BIT_MASK_MGQ_PGBNDY_8733B)
#define BIT_SET_MGQ_PGBNDY_8733B(x, v) (BIT_CLEAR_MGQ_PGBNDY_8733B(x) | BIT_MGQ_PGBNDY_8733B(v))

#define BIT_SHIFT_BCNQ_PGBNDY_8733B 0
#define BIT_MASK_BCNQ_PGBNDY_8733B 0xff
#define BIT_BCNQ_PGBNDY_8733B(x) (((x) & BIT_MASK_BCNQ_PGBNDY_8733B) << BIT_SHIFT_BCNQ_PGBNDY_8733B)
#define BITS_BCNQ_PGBNDY_8733B (BIT_MASK_BCNQ_PGBNDY_8733B << BIT_SHIFT_BCNQ_PGBNDY_8733B)
#define BIT_CLEAR_BCNQ_PGBNDY_8733B(x) ((x) & (~BITS_BCNQ_PGBNDY_8733B))
#define BIT_GET_BCNQ_PGBNDY_8733B(x) (((x) >> BIT_SHIFT_BCNQ_PGBNDY_8733B) & BIT_MASK_BCNQ_PGBNDY_8733B)
#define BIT_SET_BCNQ_PGBNDY_8733B(x, v) (BIT_CLEAR_BCNQ_PGBNDY_8733B(x) | BIT_BCNQ_PGBNDY_8733B(v))

/* 2 REG_LIFETIME_EN_8733B */

#define BIT_SHIFT_BT_INT_TYPE_8733B 6
#define BIT_MASK_BT_INT_TYPE_8733B 0x3
#define BIT_BT_INT_TYPE_8733B(x) (((x) & BIT_MASK_BT_INT_TYPE_8733B) << BIT_SHIFT_BT_INT_TYPE_8733B)
#define BITS_BT_INT_TYPE_8733B (BIT_MASK_BT_INT_TYPE_8733B << BIT_SHIFT_BT_INT_TYPE_8733B)
#define BIT_CLEAR_BT_INT_TYPE_8733B(x) ((x) & (~BITS_BT_INT_TYPE_8733B))
#define BIT_GET_BT_INT_TYPE_8733B(x) (((x) >> BIT_SHIFT_BT_INT_TYPE_8733B) & BIT_MASK_BT_INT_TYPE_8733B)
#define BIT_SET_BT_INT_TYPE_8733B(x, v) (BIT_CLEAR_BT_INT_TYPE_8733B(x) | BIT_BT_INT_TYPE_8733B(v))

/* 2 REG_NOT_VALID_8733B */
#define BIT_RTYBIT_CTRL_EN_8733B BIT(4)
#define BIT_LIFETIME_BK_EN_8733B BIT(3)
#define BIT_LIFETIME_BE_EN_8733B BIT(2)
#define BIT_LIFETIME_VI_EN_8733B BIT(1)
#define BIT_LIFETIME_VO_EN_8733B BIT(0)

/* 2 REG_FW_FREE_TAIL_8733B */

#define BIT_SHIFT_FW_FREE_TAIL_8733B 0
#define BIT_MASK_FW_FREE_TAIL_8733B 0xff
#define BIT_FW_FREE_TAIL_8733B(x) (((x) & BIT_MASK_FW_FREE_TAIL_8733B) << BIT_SHIFT_FW_FREE_TAIL_8733B)
#define BITS_FW_FREE_TAIL_8733B (BIT_MASK_FW_FREE_TAIL_8733B << BIT_SHIFT_FW_FREE_TAIL_8733B)
#define BIT_CLEAR_FW_FREE_TAIL_8733B(x) ((x) & (~BITS_FW_FREE_TAIL_8733B))
#define BIT_GET_FW_FREE_TAIL_8733B(x) (((x) >> BIT_SHIFT_FW_FREE_TAIL_8733B) & BIT_MASK_FW_FREE_TAIL_8733B)
#define BIT_SET_FW_FREE_TAIL_8733B(x, v) (BIT_CLEAR_FW_FREE_TAIL_8733B(x) | BIT_FW_FREE_TAIL_8733B(v))

/* 2 REG_SPEC_SIFS_8733B */

#define BIT_SHIFT_SPEC_SIFS_OFDM_PTCL_8733B 8
#define BIT_MASK_SPEC_SIFS_OFDM_PTCL_8733B 0xff
#define BIT_SPEC_SIFS_OFDM_PTCL_8733B(x) (((x) & BIT_MASK_SPEC_SIFS_OFDM_PTCL_8733B) << BIT_SHIFT_SPEC_SIFS_OFDM_PTCL_8733B)
#define BITS_SPEC_SIFS_OFDM_PTCL_8733B (BIT_MASK_SPEC_SIFS_OFDM_PTCL_8733B << BIT_SHIFT_SPEC_SIFS_OFDM_PTCL_8733B)
#define BIT_CLEAR_SPEC_SIFS_OFDM_PTCL_8733B(x) ((x) & (~BITS_SPEC_SIFS_OFDM_PTCL_8733B))
#define BIT_GET_SPEC_SIFS_OFDM_PTCL_8733B(x) (((x) >> BIT_SHIFT_SPEC_SIFS_OFDM_PTCL_8733B) & BIT_MASK_SPEC_SIFS_OFDM_PTCL_8733B)
#define BIT_SET_SPEC_SIFS_OFDM_PTCL_8733B(x, v) (BIT_CLEAR_SPEC_SIFS_OFDM_PTCL_8733B(x) | BIT_SPEC_SIFS_OFDM_PTCL_8733B(v))

#define BIT_SHIFT_SPEC_SIFS_CCK_PTCL_8733B 0
#define BIT_MASK_SPEC_SIFS_CCK_PTCL_8733B 0xff
#define BIT_SPEC_SIFS_CCK_PTCL_8733B(x) (((x) & BIT_MASK_SPEC_SIFS_CCK_PTCL_8733B) << BIT_SHIFT_SPEC_SIFS_CCK_PTCL_8733B)
#define BITS_SPEC_SIFS_CCK_PTCL_8733B (BIT_MASK_SPEC_SIFS_CCK_PTCL_8733B << BIT_SHIFT_SPEC_SIFS_CCK_PTCL_8733B)
#define BIT_CLEAR_SPEC_SIFS_CCK_PTCL_8733B(x) ((x) & (~BITS_SPEC_SIFS_CCK_PTCL_8733B))
#define BIT_GET_SPEC_SIFS_CCK_PTCL_8733B(x) (((x) >> BIT_SHIFT_SPEC_SIFS_CCK_PTCL_8733B) & BIT_MASK_SPEC_SIFS_CCK_PTCL_8733B)
#define BIT_SET_SPEC_SIFS_CCK_PTCL_8733B(x, v) (BIT_CLEAR_SPEC_SIFS_CCK_PTCL_8733B(x) | BIT_SPEC_SIFS_CCK_PTCL_8733B(v))

/* 2 REG_RETRY_LIMIT_8733B */

/* 2 REG_NOT_VALID_8733B */

#define BIT_SHIFT_SRL_8733B 8
#define BIT_MASK_SRL_8733B 0x3f
#define BIT_SRL_8733B(x) (((x) & BIT_MASK_SRL_8733B) << BIT_SHIFT_SRL_8733B)
#define BITS_SRL_8733B (BIT_MASK_SRL_8733B << BIT_SHIFT_SRL_8733B)
#define BIT_CLEAR_SRL_8733B(x) ((x) & (~BITS_SRL_8733B))
#define BIT_GET_SRL_8733B(x) (((x) >> BIT_SHIFT_SRL_8733B) & BIT_MASK_SRL_8733B)
#define BIT_SET_SRL_8733B(x, v) (BIT_CLEAR_SRL_8733B(x) | BIT_SRL_8733B(v))

#define BIT_SHIFT_LRL_8733B 0
#define BIT_MASK_LRL_8733B 0x3f
#define BIT_LRL_8733B(x) (((x) & BIT_MASK_LRL_8733B) << BIT_SHIFT_LRL_8733B)
#define BITS_LRL_8733B (BIT_MASK_LRL_8733B << BIT_SHIFT_LRL_8733B)
#define BIT_CLEAR_LRL_8733B(x) ((x) & (~BITS_LRL_8733B))
#define BIT_GET_LRL_8733B(x) (((x) >> BIT_SHIFT_LRL_8733B) & BIT_MASK_LRL_8733B)
#define BIT_SET_LRL_8733B(x, v) (BIT_CLEAR_LRL_8733B(x) | BIT_LRL_8733B(v))

/* 2 REG_TXBF_CTRL_8733B */
#define BIT_R_ENABLE_NDPA_8733B BIT(31)
#define BIT_USE_NDPA_PARAMETER_8733B BIT(30)
#define BIT_R_PROP_TXBF_8733B BIT(29)
#define BIT_R_EN_NDPA_INT_8733B BIT(28)
#define BIT_R_TXBF1_80M_8733B BIT(27)
#define BIT_R_TXBF1_40M_8733B BIT(26)
#define BIT_R_TXBF1_20M_8733B BIT(25)

#define BIT_SHIFT_R_TXBF1_AID_8733B 16
#define BIT_MASK_R_TXBF1_AID_8733B 0x1ff
#define BIT_R_TXBF1_AID_8733B(x) (((x) & BIT_MASK_R_TXBF1_AID_8733B) << BIT_SHIFT_R_TXBF1_AID_8733B)
#define BITS_R_TXBF1_AID_8733B (BIT_MASK_R_TXBF1_AID_8733B << BIT_SHIFT_R_TXBF1_AID_8733B)
#define BIT_CLEAR_R_TXBF1_AID_8733B(x) ((x) & (~BITS_R_TXBF1_AID_8733B))
#define BIT_GET_R_TXBF1_AID_8733B(x) (((x) >> BIT_SHIFT_R_TXBF1_AID_8733B) & BIT_MASK_R_TXBF1_AID_8733B)
#define BIT_SET_R_TXBF1_AID_8733B(x, v) (BIT_CLEAR_R_TXBF1_AID_8733B(x) | BIT_R_TXBF1_AID_8733B(v))

#define BIT_NDP_BFEN_DIS_8733B BIT(15)
#define BIT_BCN_NOBLOCK_NDP_8733B BIT(14)
#define BIT_R_TXBF0_80M_8733B BIT(11)
#define BIT_R_TXBF0_40M_8733B BIT(10)
#define BIT_R_TXBF0_20M_8733B BIT(9)

#define BIT_SHIFT_R_TXBF0_AID_8733B 0
#define BIT_MASK_R_TXBF0_AID_8733B 0x1ff
#define BIT_R_TXBF0_AID_8733B(x) (((x) & BIT_MASK_R_TXBF0_AID_8733B) << BIT_SHIFT_R_TXBF0_AID_8733B)
#define BITS_R_TXBF0_AID_8733B (BIT_MASK_R_TXBF0_AID_8733B << BIT_SHIFT_R_TXBF0_AID_8733B)
#define BIT_CLEAR_R_TXBF0_AID_8733B(x) ((x) & (~BITS_R_TXBF0_AID_8733B))
#define BIT_GET_R_TXBF0_AID_8733B(x) (((x) >> BIT_SHIFT_R_TXBF0_AID_8733B) & BIT_MASK_R_TXBF0_AID_8733B)
#define BIT_SET_R_TXBF0_AID_8733B(x, v) (BIT_CLEAR_R_TXBF0_AID_8733B(x) | BIT_R_TXBF0_AID_8733B(v))

/* 2 REG_DARFRC_8733B */

#define BIT_SHIFT_DATA_FALLBACK_RC4_8733B 24
#define BIT_MASK_DATA_FALLBACK_RC4_8733B 0x1f
#define BIT_DATA_FALLBACK_RC4_8733B(x) (((x) & BIT_MASK_DATA_FALLBACK_RC4_8733B) << BIT_SHIFT_DATA_FALLBACK_RC4_8733B)
#define BITS_DATA_FALLBACK_RC4_8733B (BIT_MASK_DATA_FALLBACK_RC4_8733B << BIT_SHIFT_DATA_FALLBACK_RC4_8733B)
#define BIT_CLEAR_DATA_FALLBACK_RC4_8733B(x) ((x) & (~BITS_DATA_FALLBACK_RC4_8733B))
#define BIT_GET_DATA_FALLBACK_RC4_8733B(x) (((x) >> BIT_SHIFT_DATA_FALLBACK_RC4_8733B) & BIT_MASK_DATA_FALLBACK_RC4_8733B)
#define BIT_SET_DATA_FALLBACK_RC4_8733B(x, v) (BIT_CLEAR_DATA_FALLBACK_RC4_8733B(x) | BIT_DATA_FALLBACK_RC4_8733B(v))

#define BIT_SHIFT_DATA_FALLBACK_RC3_8733B 16
#define BIT_MASK_DATA_FALLBACK_RC3_8733B 0x1f
#define BIT_DATA_FALLBACK_RC3_8733B(x) (((x) & BIT_MASK_DATA_FALLBACK_RC3_8733B) << BIT_SHIFT_DATA_FALLBACK_RC3_8733B)
#define BITS_DATA_FALLBACK_RC3_8733B (BIT_MASK_DATA_FALLBACK_RC3_8733B << BIT_SHIFT_DATA_FALLBACK_RC3_8733B)
#define BIT_CLEAR_DATA_FALLBACK_RC3_8733B(x) ((x) & (~BITS_DATA_FALLBACK_RC3_8733B))
#define BIT_GET_DATA_FALLBACK_RC3_8733B(x) (((x) >> BIT_SHIFT_DATA_FALLBACK_RC3_8733B) & BIT_MASK_DATA_FALLBACK_RC3_8733B)
#define BIT_SET_DATA_FALLBACK_RC3_8733B(x, v) (BIT_CLEAR_DATA_FALLBACK_RC3_8733B(x) | BIT_DATA_FALLBACK_RC3_8733B(v))

#define BIT_SHIFT_DATA_FALLBACK_RC2_8733B 8
#define BIT_MASK_DATA_FALLBACK_RC2_8733B 0x1f
#define BIT_DATA_FALLBACK_RC2_8733B(x) (((x) & BIT_MASK_DATA_FALLBACK_RC2_8733B) << BIT_SHIFT_DATA_FALLBACK_RC2_8733B)
#define BITS_DATA_FALLBACK_RC2_8733B (BIT_MASK_DATA_FALLBACK_RC2_8733B << BIT_SHIFT_DATA_FALLBACK_RC2_8733B)
#define BIT_CLEAR_DATA_FALLBACK_RC2_8733B(x) ((x) & (~BITS_DATA_FALLBACK_RC2_8733B))
#define BIT_GET_DATA_FALLBACK_RC2_8733B(x) (((x) >> BIT_SHIFT_DATA_FALLBACK_RC2_8733B) & BIT_MASK_DATA_FALLBACK_RC2_8733B)
#define BIT_SET_DATA_FALLBACK_RC2_8733B(x, v) (BIT_CLEAR_DATA_FALLBACK_RC2_8733B(x) | BIT_DATA_FALLBACK_RC2_8733B(v))

#define BIT_SHIFT_DATA_FALLBACK_RC1_8733B 0
#define BIT_MASK_DATA_FALLBACK_RC1_8733B 0x1f
#define BIT_DATA_FALLBACK_RC1_8733B(x) (((x) & BIT_MASK_DATA_FALLBACK_RC1_8733B) << BIT_SHIFT_DATA_FALLBACK_RC1_8733B)
#define BITS_DATA_FALLBACK_RC1_8733B (BIT_MASK_DATA_FALLBACK_RC1_8733B << BIT_SHIFT_DATA_FALLBACK_RC1_8733B)
#define BIT_CLEAR_DATA_FALLBACK_RC1_8733B(x) ((x) & (~BITS_DATA_FALLBACK_RC1_8733B))
#define BIT_GET_DATA_FALLBACK_RC1_8733B(x) (((x) >> BIT_SHIFT_DATA_FALLBACK_RC1_8733B) & BIT_MASK_DATA_FALLBACK_RC1_8733B)
#define BIT_SET_DATA_FALLBACK_RC1_8733B(x, v) (BIT_CLEAR_DATA_FALLBACK_RC1_8733B(x) | BIT_DATA_FALLBACK_RC1_8733B(v))

/* 2 REG_DARFRCH_8733B */

#define BIT_SHIFT_DATA_FALLBACK_RC8_8733B 24
#define BIT_MASK_DATA_FALLBACK_RC8_8733B 0x1f
#define BIT_DATA_FALLBACK_RC8_8733B(x) (((x) & BIT_MASK_DATA_FALLBACK_RC8_8733B) << BIT_SHIFT_DATA_FALLBACK_RC8_8733B)
#define BITS_DATA_FALLBACK_RC8_8733B (BIT_MASK_DATA_FALLBACK_RC8_8733B << BIT_SHIFT_DATA_FALLBACK_RC8_8733B)
#define BIT_CLEAR_DATA_FALLBACK_RC8_8733B(x) ((x) & (~BITS_DATA_FALLBACK_RC8_8733B))
#define BIT_GET_DATA_FALLBACK_RC8_8733B(x) (((x) >> BIT_SHIFT_DATA_FALLBACK_RC8_8733B) & BIT_MASK_DATA_FALLBACK_RC8_8733B)
#define BIT_SET_DATA_FALLBACK_RC8_8733B(x, v) (BIT_CLEAR_DATA_FALLBACK_RC8_8733B(x) | BIT_DATA_FALLBACK_RC8_8733B(v))

#define BIT_SHIFT_DATA_FALLBACK_RC7_8733B 16
#define BIT_MASK_DATA_FALLBACK_RC7_8733B 0x1f
#define BIT_DATA_FALLBACK_RC7_8733B(x) (((x) & BIT_MASK_DATA_FALLBACK_RC7_8733B) << BIT_SHIFT_DATA_FALLBACK_RC7_8733B)
#define BITS_DATA_FALLBACK_RC7_8733B (BIT_MASK_DATA_FALLBACK_RC7_8733B << BIT_SHIFT_DATA_FALLBACK_RC7_8733B)
#define BIT_CLEAR_DATA_FALLBACK_RC7_8733B(x) ((x) & (~BITS_DATA_FALLBACK_RC7_8733B))
#define BIT_GET_DATA_FALLBACK_RC7_8733B(x) (((x) >> BIT_SHIFT_DATA_FALLBACK_RC7_8733B) & BIT_MASK_DATA_FALLBACK_RC7_8733B)
#define BIT_SET_DATA_FALLBACK_RC7_8733B(x, v) (BIT_CLEAR_DATA_FALLBACK_RC7_8733B(x) | BIT_DATA_FALLBACK_RC7_8733B(v))

#define BIT_SHIFT_DATA_FALLBACK_RC6_8733B 8
#define BIT_MASK_DATA_FALLBACK_RC6_8733B 0x1f
#define BIT_DATA_FALLBACK_RC6_8733B(x) (((x) & BIT_MASK_DATA_FALLBACK_RC6_8733B) << BIT_SHIFT_DATA_FALLBACK_RC6_8733B)
#define BITS_DATA_FALLBACK_RC6_8733B (BIT_MASK_DATA_FALLBACK_RC6_8733B << BIT_SHIFT_DATA_FALLBACK_RC6_8733B)
#define BIT_CLEAR_DATA_FALLBACK_RC6_8733B(x) ((x) & (~BITS_DATA_FALLBACK_RC6_8733B))
#define BIT_GET_DATA_FALLBACK_RC6_8733B(x) (((x) >> BIT_SHIFT_DATA_FALLBACK_RC6_8733B) & BIT_MASK_DATA_FALLBACK_RC6_8733B)
#define BIT_SET_DATA_FALLBACK_RC6_8733B(x, v) (BIT_CLEAR_DATA_FALLBACK_RC6_8733B(x) | BIT_DATA_FALLBACK_RC6_8733B(v))

#define BIT_SHIFT_DATA_FALLBACK_RC5_8733B 0
#define BIT_MASK_DATA_FALLBACK_RC5_8733B 0x1f
#define BIT_DATA_FALLBACK_RC5_8733B(x) (((x) & BIT_MASK_DATA_FALLBACK_RC5_8733B) << BIT_SHIFT_DATA_FALLBACK_RC5_8733B)
#define BITS_DATA_FALLBACK_RC5_8733B (BIT_MASK_DATA_FALLBACK_RC5_8733B << BIT_SHIFT_DATA_FALLBACK_RC5_8733B)
#define BIT_CLEAR_DATA_FALLBACK_RC5_8733B(x) ((x) & (~BITS_DATA_FALLBACK_RC5_8733B))
#define BIT_GET_DATA_FALLBACK_RC5_8733B(x) (((x) >> BIT_SHIFT_DATA_FALLBACK_RC5_8733B) & BIT_MASK_DATA_FALLBACK_RC5_8733B)
#define BIT_SET_DATA_FALLBACK_RC5_8733B(x, v) (BIT_CLEAR_DATA_FALLBACK_RC5_8733B(x) | BIT_DATA_FALLBACK_RC5_8733B(v))

/* 2 REG_RARFRC_8733B */

#define BIT_SHIFT_CTRL_FALLBACK_RC4_8733B 24
#define BIT_MASK_CTRL_FALLBACK_RC4_8733B 0x1f
#define BIT_CTRL_FALLBACK_RC4_8733B(x) (((x) & BIT_MASK_CTRL_FALLBACK_RC4_8733B) << BIT_SHIFT_CTRL_FALLBACK_RC4_8733B)
#define BITS_CTRL_FALLBACK_RC4_8733B (BIT_MASK_CTRL_FALLBACK_RC4_8733B << BIT_SHIFT_CTRL_FALLBACK_RC4_8733B)
#define BIT_CLEAR_CTRL_FALLBACK_RC4_8733B(x) ((x) & (~BITS_CTRL_FALLBACK_RC4_8733B))
#define BIT_GET_CTRL_FALLBACK_RC4_8733B(x) (((x) >> BIT_SHIFT_CTRL_FALLBACK_RC4_8733B) & BIT_MASK_CTRL_FALLBACK_RC4_8733B)
#define BIT_SET_CTRL_FALLBACK_RC4_8733B(x, v) (BIT_CLEAR_CTRL_FALLBACK_RC4_8733B(x) | BIT_CTRL_FALLBACK_RC4_8733B(v))

#define BIT_SHIFT_CTRL_FALLBACK_RC3_8733B 16
#define BIT_MASK_CTRL_FALLBACK_RC3_8733B 0x1f
#define BIT_CTRL_FALLBACK_RC3_8733B(x) (((x) & BIT_MASK_CTRL_FALLBACK_RC3_8733B) << BIT_SHIFT_CTRL_FALLBACK_RC3_8733B)
#define BITS_CTRL_FALLBACK_RC3_8733B (BIT_MASK_CTRL_FALLBACK_RC3_8733B << BIT_SHIFT_CTRL_FALLBACK_RC3_8733B)
#define BIT_CLEAR_CTRL_FALLBACK_RC3_8733B(x) ((x) & (~BITS_CTRL_FALLBACK_RC3_8733B))
#define BIT_GET_CTRL_FALLBACK_RC3_8733B(x) (((x) >> BIT_SHIFT_CTRL_FALLBACK_RC3_8733B) & BIT_MASK_CTRL_FALLBACK_RC3_8733B)
#define BIT_SET_CTRL_FALLBACK_RC3_8733B(x, v) (BIT_CLEAR_CTRL_FALLBACK_RC3_8733B(x) | BIT_CTRL_FALLBACK_RC3_8733B(v))

#define BIT_SHIFT_CTRL_FALLBACK_RC2_8733B 8
#define BIT_MASK_CTRL_FALLBACK_RC2_8733B 0x1f
#define BIT_CTRL_FALLBACK_RC2_8733B(x) (((x) & BIT_MASK_CTRL_FALLBACK_RC2_8733B) << BIT_SHIFT_CTRL_FALLBACK_RC2_8733B)
#define BITS_CTRL_FALLBACK_RC2_8733B (BIT_MASK_CTRL_FALLBACK_RC2_8733B << BIT_SHIFT_CTRL_FALLBACK_RC2_8733B)
#define BIT_CLEAR_CTRL_FALLBACK_RC2_8733B(x) ((x) & (~BITS_CTRL_FALLBACK_RC2_8733B))
#define BIT_GET_CTRL_FALLBACK_RC2_8733B(x) (((x) >> BIT_SHIFT_CTRL_FALLBACK_RC2_8733B) & BIT_MASK_CTRL_FALLBACK_RC2_8733B)
#define BIT_SET_CTRL_FALLBACK_RC2_8733B(x, v) (BIT_CLEAR_CTRL_FALLBACK_RC2_8733B(x) | BIT_CTRL_FALLBACK_RC2_8733B(v))

#define BIT_SHIFT_CTRL_FALLBACK_RC1_8733B 0
#define BIT_MASK_CTRL_FALLBACK_RC1_8733B 0x1f
#define BIT_CTRL_FALLBACK_RC1_8733B(x) (((x) & BIT_MASK_CTRL_FALLBACK_RC1_8733B) << BIT_SHIFT_CTRL_FALLBACK_RC1_8733B)
#define BITS_CTRL_FALLBACK_RC1_8733B (BIT_MASK_CTRL_FALLBACK_RC1_8733B << BIT_SHIFT_CTRL_FALLBACK_RC1_8733B)
#define BIT_CLEAR_CTRL_FALLBACK_RC1_8733B(x) ((x) & (~BITS_CTRL_FALLBACK_RC1_8733B))
#define BIT_GET_CTRL_FALLBACK_RC1_8733B(x) (((x) >> BIT_SHIFT_CTRL_FALLBACK_RC1_8733B) & BIT_MASK_CTRL_FALLBACK_RC1_8733B)
#define BIT_SET_CTRL_FALLBACK_RC1_8733B(x, v) (BIT_CLEAR_CTRL_FALLBACK_RC1_8733B(x) | BIT_CTRL_FALLBACK_RC1_8733B(v))

/* 2 REG_RARFRCH_8733B */

#define BIT_SHIFT_CTRL_FALLBACK_RC8_8733B 24
#define BIT_MASK_CTRL_FALLBACK_RC8_8733B 0x1f
#define BIT_CTRL_FALLBACK_RC8_8733B(x) (((x) & BIT_MASK_CTRL_FALLBACK_RC8_8733B) << BIT_SHIFT_CTRL_FALLBACK_RC8_8733B)
#define BITS_CTRL_FALLBACK_RC8_8733B (BIT_MASK_CTRL_FALLBACK_RC8_8733B << BIT_SHIFT_CTRL_FALLBACK_RC8_8733B)
#define BIT_CLEAR_CTRL_FALLBACK_RC8_8733B(x) ((x) & (~BITS_CTRL_FALLBACK_RC8_8733B))
#define BIT_GET_CTRL_FALLBACK_RC8_8733B(x) (((x) >> BIT_SHIFT_CTRL_FALLBACK_RC8_8733B) & BIT_MASK_CTRL_FALLBACK_RC8_8733B)
#define BIT_SET_CTRL_FALLBACK_RC8_8733B(x, v) (BIT_CLEAR_CTRL_FALLBACK_RC8_8733B(x) | BIT_CTRL_FALLBACK_RC8_8733B(v))

#define BIT_SHIFT_CTRL_FALLBACK_RC7_8733B 16
#define BIT_MASK_CTRL_FALLBACK_RC7_8733B 0x1f
#define BIT_CTRL_FALLBACK_RC7_8733B(x) (((x) & BIT_MASK_CTRL_FALLBACK_RC7_8733B) << BIT_SHIFT_CTRL_FALLBACK_RC7_8733B)
#define BITS_CTRL_FALLBACK_RC7_8733B (BIT_MASK_CTRL_FALLBACK_RC7_8733B << BIT_SHIFT_CTRL_FALLBACK_RC7_8733B)
#define BIT_CLEAR_CTRL_FALLBACK_RC7_8733B(x) ((x) & (~BITS_CTRL_FALLBACK_RC7_8733B))
#define BIT_GET_CTRL_FALLBACK_RC7_8733B(x) (((x) >> BIT_SHIFT_CTRL_FALLBACK_RC7_8733B) & BIT_MASK_CTRL_FALLBACK_RC7_8733B)
#define BIT_SET_CTRL_FALLBACK_RC7_8733B(x, v) (BIT_CLEAR_CTRL_FALLBACK_RC7_8733B(x) | BIT_CTRL_FALLBACK_RC7_8733B(v))

#define BIT_SHIFT_CTRL_FALLBACK_RC6_8733B 8
#define BIT_MASK_CTRL_FALLBACK_RC6_8733B 0x1f
#define BIT_CTRL_FALLBACK_RC6_8733B(x) (((x) & BIT_MASK_CTRL_FALLBACK_RC6_8733B) << BIT_SHIFT_CTRL_FALLBACK_RC6_8733B)
#define BITS_CTRL_FALLBACK_RC6_8733B (BIT_MASK_CTRL_FALLBACK_RC6_8733B << BIT_SHIFT_CTRL_FALLBACK_RC6_8733B)
#define BIT_CLEAR_CTRL_FALLBACK_RC6_8733B(x) ((x) & (~BITS_CTRL_FALLBACK_RC6_8733B))
#define BIT_GET_CTRL_FALLBACK_RC6_8733B(x) (((x) >> BIT_SHIFT_CTRL_FALLBACK_RC6_8733B) & BIT_MASK_CTRL_FALLBACK_RC6_8733B)
#define BIT_SET_CTRL_FALLBACK_RC6_8733B(x, v) (BIT_CLEAR_CTRL_FALLBACK_RC6_8733B(x) | BIT_CTRL_FALLBACK_RC6_8733B(v))

#define BIT_SHIFT_CTRL_FALLBACK_RC5_8733B 0
#define BIT_MASK_CTRL_FALLBACK_RC5_8733B 0x1f
#define BIT_CTRL_FALLBACK_RC5_8733B(x) (((x) & BIT_MASK_CTRL_FALLBACK_RC5_8733B) << BIT_SHIFT_CTRL_FALLBACK_RC5_8733B)
#define BITS_CTRL_FALLBACK_RC5_8733B (BIT_MASK_CTRL_FALLBACK_RC5_8733B << BIT_SHIFT_CTRL_FALLBACK_RC5_8733B)
#define BIT_CLEAR_CTRL_FALLBACK_RC5_8733B(x) ((x) & (~BITS_CTRL_FALLBACK_RC5_8733B))
#define BIT_GET_CTRL_FALLBACK_RC5_8733B(x) (((x) >> BIT_SHIFT_CTRL_FALLBACK_RC5_8733B) & BIT_MASK_CTRL_FALLBACK_RC5_8733B)
#define BIT_SET_CTRL_FALLBACK_RC5_8733B(x, v) (BIT_CLEAR_CTRL_FALLBACK_RC5_8733B(x) | BIT_CTRL_FALLBACK_RC5_8733B(v))

/* 2 REG_RRSR_8733B */

#define BIT_SHIFT_RRSR_RSC_8733B 21
#define BIT_MASK_RRSR_RSC_8733B 0xf
#define BIT_RRSR_RSC_8733B(x) (((x) & BIT_MASK_RRSR_RSC_8733B) << BIT_SHIFT_RRSR_RSC_8733B)
#define BITS_RRSR_RSC_8733B (BIT_MASK_RRSR_RSC_8733B << BIT_SHIFT_RRSR_RSC_8733B)
#define BIT_CLEAR_RRSR_RSC_8733B(x) ((x) & (~BITS_RRSR_RSC_8733B))
#define BIT_GET_RRSR_RSC_8733B(x) (((x) >> BIT_SHIFT_RRSR_RSC_8733B) & BIT_MASK_RRSR_RSC_8733B)
#define BIT_SET_RRSR_RSC_8733B(x, v) (BIT_CLEAR_RRSR_RSC_8733B(x) | BIT_RRSR_RSC_8733B(v))

#define BIT_SHIFT_R_RATE_CTRL_TABLE_8733B 0
#define BIT_MASK_R_RATE_CTRL_TABLE_8733B 0xfffff
#define BIT_R_RATE_CTRL_TABLE_8733B(x) (((x) & BIT_MASK_R_RATE_CTRL_TABLE_8733B) << BIT_SHIFT_R_RATE_CTRL_TABLE_8733B)
#define BITS_R_RATE_CTRL_TABLE_8733B (BIT_MASK_R_RATE_CTRL_TABLE_8733B << BIT_SHIFT_R_RATE_CTRL_TABLE_8733B)
#define BIT_CLEAR_R_RATE_CTRL_TABLE_8733B(x) ((x) & (~BITS_R_RATE_CTRL_TABLE_8733B))
#define BIT_GET_R_RATE_CTRL_TABLE_8733B(x) (((x) >> BIT_SHIFT_R_RATE_CTRL_TABLE_8733B) & BIT_MASK_R_RATE_CTRL_TABLE_8733B)
#define BIT_SET_R_RATE_CTRL_TABLE_8733B(x, v) (BIT_CLEAR_R_RATE_CTRL_TABLE_8733B(x) | BIT_R_RATE_CTRL_TABLE_8733B(v))

/* 2 REG_ARFRL0_8733B */

#define BIT_SHIFT_ADPT_RATE_TABLE_L0_8733B 0
#define BIT_MASK_ADPT_RATE_TABLE_L0_8733B 0xffffffffL
#define BIT_ADPT_RATE_TABLE_L0_8733B(x) (((x) & BIT_MASK_ADPT_RATE_TABLE_L0_8733B) << BIT_SHIFT_ADPT_RATE_TABLE_L0_8733B)
#define BITS_ADPT_RATE_TABLE_L0_8733B (BIT_MASK_ADPT_RATE_TABLE_L0_8733B << BIT_SHIFT_ADPT_RATE_TABLE_L0_8733B)
#define BIT_CLEAR_ADPT_RATE_TABLE_L0_8733B(x) ((x) & (~BITS_ADPT_RATE_TABLE_L0_8733B))
#define BIT_GET_ADPT_RATE_TABLE_L0_8733B(x) (((x) >> BIT_SHIFT_ADPT_RATE_TABLE_L0_8733B) & BIT_MASK_ADPT_RATE_TABLE_L0_8733B)
#define BIT_SET_ADPT_RATE_TABLE_L0_8733B(x, v) (BIT_CLEAR_ADPT_RATE_TABLE_L0_8733B(x) | BIT_ADPT_RATE_TABLE_L0_8733B(v))

/* 2 REG_ARFRH0_8733B */

#define BIT_SHIFT_ADPT_RATE_TABLE_H0_8733B 0
#define BIT_MASK_ADPT_RATE_TABLE_H0_8733B 0xffffffffL
#define BIT_ADPT_RATE_TABLE_H0_8733B(x) (((x) & BIT_MASK_ADPT_RATE_TABLE_H0_8733B) << BIT_SHIFT_ADPT_RATE_TABLE_H0_8733B)
#define BITS_ADPT_RATE_TABLE_H0_8733B (BIT_MASK_ADPT_RATE_TABLE_H0_8733B << BIT_SHIFT_ADPT_RATE_TABLE_H0_8733B)
#define BIT_CLEAR_ADPT_RATE_TABLE_H0_8733B(x) ((x) & (~BITS_ADPT_RATE_TABLE_H0_8733B))
#define BIT_GET_ADPT_RATE_TABLE_H0_8733B(x) (((x) >> BIT_SHIFT_ADPT_RATE_TABLE_H0_8733B) & BIT_MASK_ADPT_RATE_TABLE_H0_8733B)
#define BIT_SET_ADPT_RATE_TABLE_H0_8733B(x, v) (BIT_CLEAR_ADPT_RATE_TABLE_H0_8733B(x) | BIT_ADPT_RATE_TABLE_H0_8733B(v))

/* 2 REG_ARFR1_V1_8733B */

#define BIT_SHIFT_ADPT_RATE_TABLE_L1_8733B 0
#define BIT_MASK_ADPT_RATE_TABLE_L1_8733B 0xffffffffL
#define BIT_ADPT_RATE_TABLE_L1_8733B(x) (((x) & BIT_MASK_ADPT_RATE_TABLE_L1_8733B) << BIT_SHIFT_ADPT_RATE_TABLE_L1_8733B)
#define BITS_ADPT_RATE_TABLE_L1_8733B (BIT_MASK_ADPT_RATE_TABLE_L1_8733B << BIT_SHIFT_ADPT_RATE_TABLE_L1_8733B)
#define BIT_CLEAR_ADPT_RATE_TABLE_L1_8733B(x) ((x) & (~BITS_ADPT_RATE_TABLE_L1_8733B))
#define BIT_GET_ADPT_RATE_TABLE_L1_8733B(x) (((x) >> BIT_SHIFT_ADPT_RATE_TABLE_L1_8733B) & BIT_MASK_ADPT_RATE_TABLE_L1_8733B)
#define BIT_SET_ADPT_RATE_TABLE_L1_8733B(x, v) (BIT_CLEAR_ADPT_RATE_TABLE_L1_8733B(x) | BIT_ADPT_RATE_TABLE_L1_8733B(v))

/* 2 REG_ARFRH1_V1_8733B */

#define BIT_SHIFT_ADPT_RATE_TABLE_H1_8733B 0
#define BIT_MASK_ADPT_RATE_TABLE_H1_8733B 0xffffffffL
#define BIT_ADPT_RATE_TABLE_H1_8733B(x) (((x) & BIT_MASK_ADPT_RATE_TABLE_H1_8733B) << BIT_SHIFT_ADPT_RATE_TABLE_H1_8733B)
#define BITS_ADPT_RATE_TABLE_H1_8733B (BIT_MASK_ADPT_RATE_TABLE_H1_8733B << BIT_SHIFT_ADPT_RATE_TABLE_H1_8733B)
#define BIT_CLEAR_ADPT_RATE_TABLE_H1_8733B(x) ((x) & (~BITS_ADPT_RATE_TABLE_H1_8733B))
#define BIT_GET_ADPT_RATE_TABLE_H1_8733B(x) (((x) >> BIT_SHIFT_ADPT_RATE_TABLE_H1_8733B) & BIT_MASK_ADPT_RATE_TABLE_H1_8733B)
#define BIT_SET_ADPT_RATE_TABLE_H1_8733B(x, v) (BIT_CLEAR_ADPT_RATE_TABLE_H1_8733B(x) | BIT_ADPT_RATE_TABLE_H1_8733B(v))

/* 2 REG_CCK_CHECK_8733B */
#define BIT_CHECK_CCK_EN_8733B BIT(7)
#define BIT_EN_BCN_PKT_REL_8733B BIT(6)
#define BIT_BCN_PORT_SEL_8733B BIT(5)
#define BIT_MOREDATA_BYPASS_8733B BIT(4)
#define BIT_EN_CLR_CMD_REL_BCN_PKT_8733B BIT(3)
#define BIT_EN_SET_MOREDATA_8733B BIT(2)
#define BIT_DIS_CLEAR_MACID_RELEASE_8733B BIT(1)
#define BIT_EN_MACID_RELEASE_8733B BIT(0)

/* 2 REG_BCNQ2_BDNY_8733B */

#define BIT_SHIFT_BCNQ2_HEAD_8733B 0
#define BIT_MASK_BCNQ2_HEAD_8733B 0xff
#define BIT_BCNQ2_HEAD_8733B(x) (((x) & BIT_MASK_BCNQ2_HEAD_8733B) << BIT_SHIFT_BCNQ2_HEAD_8733B)
#define BITS_BCNQ2_HEAD_8733B (BIT_MASK_BCNQ2_HEAD_8733B << BIT_SHIFT_BCNQ2_HEAD_8733B)
#define BIT_CLEAR_BCNQ2_HEAD_8733B(x) ((x) & (~BITS_BCNQ2_HEAD_8733B))
#define BIT_GET_BCNQ2_HEAD_8733B(x) (((x) >> BIT_SHIFT_BCNQ2_HEAD_8733B) & BIT_MASK_BCNQ2_HEAD_8733B)
#define BIT_SET_BCNQ2_HEAD_8733B(x, v) (BIT_CLEAR_BCNQ2_HEAD_8733B(x) | BIT_BCNQ2_HEAD_8733B(v))

/* 2 REG_AMPDU_MAX_TIME_8733B */

#define BIT_SHIFT_AMPDU_MAX_TIME_8733B 0
#define BIT_MASK_AMPDU_MAX_TIME_8733B 0xff
#define BIT_AMPDU_MAX_TIME_8733B(x) (((x) & BIT_MASK_AMPDU_MAX_TIME_8733B) << BIT_SHIFT_AMPDU_MAX_TIME_8733B)
#define BITS_AMPDU_MAX_TIME_8733B (BIT_MASK_AMPDU_MAX_TIME_8733B << BIT_SHIFT_AMPDU_MAX_TIME_8733B)
#define BIT_CLEAR_AMPDU_MAX_TIME_8733B(x) ((x) & (~BITS_AMPDU_MAX_TIME_8733B))
#define BIT_GET_AMPDU_MAX_TIME_8733B(x) (((x) >> BIT_SHIFT_AMPDU_MAX_TIME_8733B) & BIT_MASK_AMPDU_MAX_TIME_8733B)
#define BIT_SET_AMPDU_MAX_TIME_8733B(x, v) (BIT_CLEAR_AMPDU_MAX_TIME_8733B(x) | BIT_AMPDU_MAX_TIME_8733B(v))

/* 2 REG_BCNQ1_BDNY_8733B */

#define BIT_SHIFT_BCNQ1_HEAD_8733B 0
#define BIT_MASK_BCNQ1_HEAD_8733B 0xff
#define BIT_BCNQ1_HEAD_8733B(x) (((x) & BIT_MASK_BCNQ1_HEAD_8733B) << BIT_SHIFT_BCNQ1_HEAD_8733B)
#define BITS_BCNQ1_HEAD_8733B (BIT_MASK_BCNQ1_HEAD_8733B << BIT_SHIFT_BCNQ1_HEAD_8733B)
#define BIT_CLEAR_BCNQ1_HEAD_8733B(x) ((x) & (~BITS_BCNQ1_HEAD_8733B))
#define BIT_GET_BCNQ1_HEAD_8733B(x) (((x) >> BIT_SHIFT_BCNQ1_HEAD_8733B) & BIT_MASK_BCNQ1_HEAD_8733B)
#define BIT_SET_BCNQ1_HEAD_8733B(x, v) (BIT_CLEAR_BCNQ1_HEAD_8733B(x) | BIT_BCNQ1_HEAD_8733B(v))

/* 2 REG_AMPDU_MAX_LENGTH_8733B */

#define BIT_SHIFT_AMPDU_MAX_LENGTH_8733B 0
#define BIT_MASK_AMPDU_MAX_LENGTH_8733B 0xffffffffL
#define BIT_AMPDU_MAX_LENGTH_8733B(x) (((x) & BIT_MASK_AMPDU_MAX_LENGTH_8733B) << BIT_SHIFT_AMPDU_MAX_LENGTH_8733B)
#define BITS_AMPDU_MAX_LENGTH_8733B (BIT_MASK_AMPDU_MAX_LENGTH_8733B << BIT_SHIFT_AMPDU_MAX_LENGTH_8733B)
#define BIT_CLEAR_AMPDU_MAX_LENGTH_8733B(x) ((x) & (~BITS_AMPDU_MAX_LENGTH_8733B))
#define BIT_GET_AMPDU_MAX_LENGTH_8733B(x) (((x) >> BIT_SHIFT_AMPDU_MAX_LENGTH_8733B) & BIT_MASK_AMPDU_MAX_LENGTH_8733B)
#define BIT_SET_AMPDU_MAX_LENGTH_8733B(x, v) (BIT_CLEAR_AMPDU_MAX_LENGTH_8733B(x) | BIT_AMPDU_MAX_LENGTH_8733B(v))

/* 2 REG_ACQ_STOP_8733B */
#define BIT_AC7Q_STOP_8733B BIT(7)
#define BIT_AC6Q_STOP_8733B BIT(6)
#define BIT_AC5Q_STOP_8733B BIT(5)
#define BIT_AC4Q_STOP_8733B BIT(4)
#define BIT_AC3Q_STOP_8733B BIT(3)
#define BIT_AC2Q_STOP_8733B BIT(2)
#define BIT_AC1Q_STOP_8733B BIT(1)
#define BIT_AC0Q_STOP_8733B BIT(0)

/* 2 REG_WMAC_LBK_BUF_HD_8733B */

#define BIT_SHIFT_WMAC_LBK_BUF_HEAD_8733B 0
#define BIT_MASK_WMAC_LBK_BUF_HEAD_8733B 0xff
#define BIT_WMAC_LBK_BUF_HEAD_8733B(x) (((x) & BIT_MASK_WMAC_LBK_BUF_HEAD_8733B) << BIT_SHIFT_WMAC_LBK_BUF_HEAD_8733B)
#define BITS_WMAC_LBK_BUF_HEAD_8733B (BIT_MASK_WMAC_LBK_BUF_HEAD_8733B << BIT_SHIFT_WMAC_LBK_BUF_HEAD_8733B)
#define BIT_CLEAR_WMAC_LBK_BUF_HEAD_8733B(x) ((x) & (~BITS_WMAC_LBK_BUF_HEAD_8733B))
#define BIT_GET_WMAC_LBK_BUF_HEAD_8733B(x) (((x) >> BIT_SHIFT_WMAC_LBK_BUF_HEAD_8733B) & BIT_MASK_WMAC_LBK_BUF_HEAD_8733B)
#define BIT_SET_WMAC_LBK_BUF_HEAD_8733B(x, v) (BIT_CLEAR_WMAC_LBK_BUF_HEAD_8733B(x) | BIT_WMAC_LBK_BUF_HEAD_8733B(v))

/* 2 REG_TX_HANG_CTRL_8733B */

#define BIT_SHIFT_R_SIGTA_BW_8733B 6
#define BIT_MASK_R_SIGTA_BW_8733B 0x3
#define BIT_R_SIGTA_BW_8733B(x) (((x) & BIT_MASK_R_SIGTA_BW_8733B) << BIT_SHIFT_R_SIGTA_BW_8733B)
#define BITS_R_SIGTA_BW_8733B (BIT_MASK_R_SIGTA_BW_8733B << BIT_SHIFT_R_SIGTA_BW_8733B)
#define BIT_CLEAR_R_SIGTA_BW_8733B(x) ((x) & (~BITS_R_SIGTA_BW_8733B))
#define BIT_GET_R_SIGTA_BW_8733B(x) (((x) >> BIT_SHIFT_R_SIGTA_BW_8733B) & BIT_MASK_R_SIGTA_BW_8733B)
#define BIT_SET_R_SIGTA_BW_8733B(x, v) (BIT_CLEAR_R_SIGTA_BW_8733B(x) | BIT_R_SIGTA_BW_8733B(v))

#define BIT_R_SIGTA_BAR_8733B BIT(5)
#define BIT_R_EOF_EN_8733B BIT(4)
#define BIT_R_EN_GNT_BT_AWAKE_8733B BIT(3)
#define BIT_DIS_RELEASE_RETRY_8733B BIT(2)
#define BIT_DIS_OQT_BLOCK_8733B BIT(1)
#define BIT_SEARCH_QUEUE_EN_8733B BIT(0)

/* 2 REG_NDPA_OPT_CTRL_8733B */

#define BIT_SHIFT_R_NDPA_RATE_8733B 2
#define BIT_MASK_R_NDPA_RATE_8733B 0x3f
#define BIT_R_NDPA_RATE_8733B(x) (((x) & BIT_MASK_R_NDPA_RATE_8733B) << BIT_SHIFT_R_NDPA_RATE_8733B)
#define BITS_R_NDPA_RATE_8733B (BIT_MASK_R_NDPA_RATE_8733B << BIT_SHIFT_R_NDPA_RATE_8733B)
#define BIT_CLEAR_R_NDPA_RATE_8733B(x) ((x) & (~BITS_R_NDPA_RATE_8733B))
#define BIT_GET_R_NDPA_RATE_8733B(x) (((x) >> BIT_SHIFT_R_NDPA_RATE_8733B) & BIT_MASK_R_NDPA_RATE_8733B)
#define BIT_SET_R_NDPA_RATE_8733B(x, v) (BIT_CLEAR_R_NDPA_RATE_8733B(x) | BIT_R_NDPA_RATE_8733B(v))

#define BIT_SHIFT_R_NDPA_BW_8733B 0
#define BIT_MASK_R_NDPA_BW_8733B 0x3
#define BIT_R_NDPA_BW_8733B(x) (((x) & BIT_MASK_R_NDPA_BW_8733B) << BIT_SHIFT_R_NDPA_BW_8733B)
#define BITS_R_NDPA_BW_8733B (BIT_MASK_R_NDPA_BW_8733B << BIT_SHIFT_R_NDPA_BW_8733B)
#define BIT_CLEAR_R_NDPA_BW_8733B(x) ((x) & (~BITS_R_NDPA_BW_8733B))
#define BIT_GET_R_NDPA_BW_8733B(x) (((x) >> BIT_SHIFT_R_NDPA_BW_8733B) & BIT_MASK_R_NDPA_BW_8733B)
#define BIT_SET_R_NDPA_BW_8733B(x, v) (BIT_CLEAR_R_NDPA_BW_8733B(x) | BIT_R_NDPA_BW_8733B(v))

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_RD_RESP_PKT_TH_8733B */

#define BIT_SHIFT_RD_RESP_PKT_TH_8733B 0
#define BIT_MASK_RD_RESP_PKT_TH_8733B 0x3f
#define BIT_RD_RESP_PKT_TH_8733B(x) (((x) & BIT_MASK_RD_RESP_PKT_TH_8733B) << BIT_SHIFT_RD_RESP_PKT_TH_8733B)
#define BITS_RD_RESP_PKT_TH_8733B (BIT_MASK_RD_RESP_PKT_TH_8733B << BIT_SHIFT_RD_RESP_PKT_TH_8733B)
#define BIT_CLEAR_RD_RESP_PKT_TH_8733B(x) ((x) & (~BITS_RD_RESP_PKT_TH_8733B))
#define BIT_GET_RD_RESP_PKT_TH_8733B(x) (((x) >> BIT_SHIFT_RD_RESP_PKT_TH_8733B) & BIT_MASK_RD_RESP_PKT_TH_8733B)
#define BIT_SET_RD_RESP_PKT_TH_8733B(x, v) (BIT_CLEAR_RD_RESP_PKT_TH_8733B(x) | BIT_RD_RESP_PKT_TH_8733B(v))

/* 2 REG_CMDQ_INFO_8733B */

#define BIT_SHIFT_PKT_NUM_CMDQ_V2_8733B 24
#define BIT_MASK_PKT_NUM_CMDQ_V2_8733B 0xff
#define BIT_PKT_NUM_CMDQ_V2_8733B(x) (((x) & BIT_MASK_PKT_NUM_CMDQ_V2_8733B) << BIT_SHIFT_PKT_NUM_CMDQ_V2_8733B)
#define BITS_PKT_NUM_CMDQ_V2_8733B (BIT_MASK_PKT_NUM_CMDQ_V2_8733B << BIT_SHIFT_PKT_NUM_CMDQ_V2_8733B)
#define BIT_CLEAR_PKT_NUM_CMDQ_V2_8733B(x) ((x) & (~BITS_PKT_NUM_CMDQ_V2_8733B))
#define BIT_GET_PKT_NUM_CMDQ_V2_8733B(x) (((x) >> BIT_SHIFT_PKT_NUM_CMDQ_V2_8733B) & BIT_MASK_PKT_NUM_CMDQ_V2_8733B)
#define BIT_SET_PKT_NUM_CMDQ_V2_8733B(x, v) (BIT_CLEAR_PKT_NUM_CMDQ_V2_8733B(x) | BIT_PKT_NUM_CMDQ_V2_8733B(v))

#define BIT_SHIFT_TAIL_PKT_CMDQ_8733B 16
#define BIT_MASK_TAIL_PKT_CMDQ_8733B 0xff
#define BIT_TAIL_PKT_CMDQ_8733B(x) (((x) & BIT_MASK_TAIL_PKT_CMDQ_8733B) << BIT_SHIFT_TAIL_PKT_CMDQ_8733B)
#define BITS_TAIL_PKT_CMDQ_8733B (BIT_MASK_TAIL_PKT_CMDQ_8733B << BIT_SHIFT_TAIL_PKT_CMDQ_8733B)
#define BIT_CLEAR_TAIL_PKT_CMDQ_8733B(x) ((x) & (~BITS_TAIL_PKT_CMDQ_8733B))
#define BIT_GET_TAIL_PKT_CMDQ_8733B(x) (((x) >> BIT_SHIFT_TAIL_PKT_CMDQ_8733B) & BIT_MASK_TAIL_PKT_CMDQ_8733B)
#define BIT_SET_TAIL_PKT_CMDQ_8733B(x, v) (BIT_CLEAR_TAIL_PKT_CMDQ_8733B(x) | BIT_TAIL_PKT_CMDQ_8733B(v))

#define BIT_SHIFT_PKT_NUM_CMDQ_8733B 8
#define BIT_MASK_PKT_NUM_CMDQ_8733B 0xff
#define BIT_PKT_NUM_CMDQ_8733B(x) (((x) & BIT_MASK_PKT_NUM_CMDQ_8733B) << BIT_SHIFT_PKT_NUM_CMDQ_8733B)
#define BITS_PKT_NUM_CMDQ_8733B (BIT_MASK_PKT_NUM_CMDQ_8733B << BIT_SHIFT_PKT_NUM_CMDQ_8733B)
#define BIT_CLEAR_PKT_NUM_CMDQ_8733B(x) ((x) & (~BITS_PKT_NUM_CMDQ_8733B))
#define BIT_GET_PKT_NUM_CMDQ_8733B(x) (((x) >> BIT_SHIFT_PKT_NUM_CMDQ_8733B) & BIT_MASK_PKT_NUM_CMDQ_8733B)
#define BIT_SET_PKT_NUM_CMDQ_8733B(x, v) (BIT_CLEAR_PKT_NUM_CMDQ_8733B(x) | BIT_PKT_NUM_CMDQ_8733B(v))

#define BIT_SHIFT_HEAD_PKT_CMDQ_8733B 0
#define BIT_MASK_HEAD_PKT_CMDQ_8733B 0xff
#define BIT_HEAD_PKT_CMDQ_8733B(x) (((x) & BIT_MASK_HEAD_PKT_CMDQ_8733B) << BIT_SHIFT_HEAD_PKT_CMDQ_8733B)
#define BITS_HEAD_PKT_CMDQ_8733B (BIT_MASK_HEAD_PKT_CMDQ_8733B << BIT_SHIFT_HEAD_PKT_CMDQ_8733B)
#define BIT_CLEAR_HEAD_PKT_CMDQ_8733B(x) ((x) & (~BITS_HEAD_PKT_CMDQ_8733B))
#define BIT_GET_HEAD_PKT_CMDQ_8733B(x) (((x) >> BIT_SHIFT_HEAD_PKT_CMDQ_8733B) & BIT_MASK_HEAD_PKT_CMDQ_8733B)
#define BIT_SET_HEAD_PKT_CMDQ_8733B(x, v) (BIT_CLEAR_HEAD_PKT_CMDQ_8733B(x) | BIT_HEAD_PKT_CMDQ_8733B(v))

/* 2 REG_Q4_INFO_8733B */

#define BIT_SHIFT_QUEUEMACID_Q4_V1_8733B 25
#define BIT_MASK_QUEUEMACID_Q4_V1_8733B 0x7f
#define BIT_QUEUEMACID_Q4_V1_8733B(x) (((x) & BIT_MASK_QUEUEMACID_Q4_V1_8733B) << BIT_SHIFT_QUEUEMACID_Q4_V1_8733B)
#define BITS_QUEUEMACID_Q4_V1_8733B (BIT_MASK_QUEUEMACID_Q4_V1_8733B << BIT_SHIFT_QUEUEMACID_Q4_V1_8733B)
#define BIT_CLEAR_QUEUEMACID_Q4_V1_8733B(x) ((x) & (~BITS_QUEUEMACID_Q4_V1_8733B))
#define BIT_GET_QUEUEMACID_Q4_V1_8733B(x) (((x) >> BIT_SHIFT_QUEUEMACID_Q4_V1_8733B) & BIT_MASK_QUEUEMACID_Q4_V1_8733B)
#define BIT_SET_QUEUEMACID_Q4_V1_8733B(x, v) (BIT_CLEAR_QUEUEMACID_Q4_V1_8733B(x) | BIT_QUEUEMACID_Q4_V1_8733B(v))

#define BIT_SHIFT_QUEUEAC_Q4_V1_8733B 23
#define BIT_MASK_QUEUEAC_Q4_V1_8733B 0x3
#define BIT_QUEUEAC_Q4_V1_8733B(x) (((x) & BIT_MASK_QUEUEAC_Q4_V1_8733B) << BIT_SHIFT_QUEUEAC_Q4_V1_8733B)
#define BITS_QUEUEAC_Q4_V1_8733B (BIT_MASK_QUEUEAC_Q4_V1_8733B << BIT_SHIFT_QUEUEAC_Q4_V1_8733B)
#define BIT_CLEAR_QUEUEAC_Q4_V1_8733B(x) ((x) & (~BITS_QUEUEAC_Q4_V1_8733B))
#define BIT_GET_QUEUEAC_Q4_V1_8733B(x) (((x) >> BIT_SHIFT_QUEUEAC_Q4_V1_8733B) & BIT_MASK_QUEUEAC_Q4_V1_8733B)
#define BIT_SET_QUEUEAC_Q4_V1_8733B(x, v) (BIT_CLEAR_QUEUEAC_Q4_V1_8733B(x) | BIT_QUEUEAC_Q4_V1_8733B(v))

#define BIT_SHIFT_TAIL_PKT_Q4_V1_8733B 15
#define BIT_MASK_TAIL_PKT_Q4_V1_8733B 0xff
#define BIT_TAIL_PKT_Q4_V1_8733B(x) (((x) & BIT_MASK_TAIL_PKT_Q4_V1_8733B) << BIT_SHIFT_TAIL_PKT_Q4_V1_8733B)
#define BITS_TAIL_PKT_Q4_V1_8733B (BIT_MASK_TAIL_PKT_Q4_V1_8733B << BIT_SHIFT_TAIL_PKT_Q4_V1_8733B)
#define BIT_CLEAR_TAIL_PKT_Q4_V1_8733B(x) ((x) & (~BITS_TAIL_PKT_Q4_V1_8733B))
#define BIT_GET_TAIL_PKT_Q4_V1_8733B(x) (((x) >> BIT_SHIFT_TAIL_PKT_Q4_V1_8733B) & BIT_MASK_TAIL_PKT_Q4_V1_8733B)
#define BIT_SET_TAIL_PKT_Q4_V1_8733B(x, v) (BIT_CLEAR_TAIL_PKT_Q4_V1_8733B(x) | BIT_TAIL_PKT_Q4_V1_8733B(v))

#define BIT_SHIFT_PKT_NUM_Q4_V1_8733B 8
#define BIT_MASK_PKT_NUM_Q4_V1_8733B 0x7f
#define BIT_PKT_NUM_Q4_V1_8733B(x) (((x) & BIT_MASK_PKT_NUM_Q4_V1_8733B) << BIT_SHIFT_PKT_NUM_Q4_V1_8733B)
#define BITS_PKT_NUM_Q4_V1_8733B (BIT_MASK_PKT_NUM_Q4_V1_8733B << BIT_SHIFT_PKT_NUM_Q4_V1_8733B)
#define BIT_CLEAR_PKT_NUM_Q4_V1_8733B(x) ((x) & (~BITS_PKT_NUM_Q4_V1_8733B))
#define BIT_GET_PKT_NUM_Q4_V1_8733B(x) (((x) >> BIT_SHIFT_PKT_NUM_Q4_V1_8733B) & BIT_MASK_PKT_NUM_Q4_V1_8733B)
#define BIT_SET_PKT_NUM_Q4_V1_8733B(x, v) (BIT_CLEAR_PKT_NUM_Q4_V1_8733B(x) | BIT_PKT_NUM_Q4_V1_8733B(v))

#define BIT_SHIFT_HEAD_PKT_Q4_8733B 0
#define BIT_MASK_HEAD_PKT_Q4_8733B 0xff
#define BIT_HEAD_PKT_Q4_8733B(x) (((x) & BIT_MASK_HEAD_PKT_Q4_8733B) << BIT_SHIFT_HEAD_PKT_Q4_8733B)
#define BITS_HEAD_PKT_Q4_8733B (BIT_MASK_HEAD_PKT_Q4_8733B << BIT_SHIFT_HEAD_PKT_Q4_8733B)
#define BIT_CLEAR_HEAD_PKT_Q4_8733B(x) ((x) & (~BITS_HEAD_PKT_Q4_8733B))
#define BIT_GET_HEAD_PKT_Q4_8733B(x) (((x) >> BIT_SHIFT_HEAD_PKT_Q4_8733B) & BIT_MASK_HEAD_PKT_Q4_8733B)
#define BIT_SET_HEAD_PKT_Q4_8733B(x, v) (BIT_CLEAR_HEAD_PKT_Q4_8733B(x) | BIT_HEAD_PKT_Q4_8733B(v))

/* 2 REG_Q5_INFO_8733B */

#define BIT_SHIFT_QUEUEMACID_Q5_V1_8733B 25
#define BIT_MASK_QUEUEMACID_Q5_V1_8733B 0x7f
#define BIT_QUEUEMACID_Q5_V1_8733B(x) (((x) & BIT_MASK_QUEUEMACID_Q5_V1_8733B) << BIT_SHIFT_QUEUEMACID_Q5_V1_8733B)
#define BITS_QUEUEMACID_Q5_V1_8733B (BIT_MASK_QUEUEMACID_Q5_V1_8733B << BIT_SHIFT_QUEUEMACID_Q5_V1_8733B)
#define BIT_CLEAR_QUEUEMACID_Q5_V1_8733B(x) ((x) & (~BITS_QUEUEMACID_Q5_V1_8733B))
#define BIT_GET_QUEUEMACID_Q5_V1_8733B(x) (((x) >> BIT_SHIFT_QUEUEMACID_Q5_V1_8733B) & BIT_MASK_QUEUEMACID_Q5_V1_8733B)
#define BIT_SET_QUEUEMACID_Q5_V1_8733B(x, v) (BIT_CLEAR_QUEUEMACID_Q5_V1_8733B(x) | BIT_QUEUEMACID_Q5_V1_8733B(v))

#define BIT_SHIFT_QUEUEAC_Q5_V1_8733B 23
#define BIT_MASK_QUEUEAC_Q5_V1_8733B 0x3
#define BIT_QUEUEAC_Q5_V1_8733B(x) (((x) & BIT_MASK_QUEUEAC_Q5_V1_8733B) << BIT_SHIFT_QUEUEAC_Q5_V1_8733B)
#define BITS_QUEUEAC_Q5_V1_8733B (BIT_MASK_QUEUEAC_Q5_V1_8733B << BIT_SHIFT_QUEUEAC_Q5_V1_8733B)
#define BIT_CLEAR_QUEUEAC_Q5_V1_8733B(x) ((x) & (~BITS_QUEUEAC_Q5_V1_8733B))
#define BIT_GET_QUEUEAC_Q5_V1_8733B(x) (((x) >> BIT_SHIFT_QUEUEAC_Q5_V1_8733B) & BIT_MASK_QUEUEAC_Q5_V1_8733B)
#define BIT_SET_QUEUEAC_Q5_V1_8733B(x, v) (BIT_CLEAR_QUEUEAC_Q5_V1_8733B(x) | BIT_QUEUEAC_Q5_V1_8733B(v))

#define BIT_SHIFT_TAIL_PKT_Q5_V1_8733B 15
#define BIT_MASK_TAIL_PKT_Q5_V1_8733B 0xff
#define BIT_TAIL_PKT_Q5_V1_8733B(x) (((x) & BIT_MASK_TAIL_PKT_Q5_V1_8733B) << BIT_SHIFT_TAIL_PKT_Q5_V1_8733B)
#define BITS_TAIL_PKT_Q5_V1_8733B (BIT_MASK_TAIL_PKT_Q5_V1_8733B << BIT_SHIFT_TAIL_PKT_Q5_V1_8733B)
#define BIT_CLEAR_TAIL_PKT_Q5_V1_8733B(x) ((x) & (~BITS_TAIL_PKT_Q5_V1_8733B))
#define BIT_GET_TAIL_PKT_Q5_V1_8733B(x) (((x) >> BIT_SHIFT_TAIL_PKT_Q5_V1_8733B) & BIT_MASK_TAIL_PKT_Q5_V1_8733B)
#define BIT_SET_TAIL_PKT_Q5_V1_8733B(x, v) (BIT_CLEAR_TAIL_PKT_Q5_V1_8733B(x) | BIT_TAIL_PKT_Q5_V1_8733B(v))

#define BIT_SHIFT_PKT_NUM_Q5_V1_8733B 8
#define BIT_MASK_PKT_NUM_Q5_V1_8733B 0x7f
#define BIT_PKT_NUM_Q5_V1_8733B(x) (((x) & BIT_MASK_PKT_NUM_Q5_V1_8733B) << BIT_SHIFT_PKT_NUM_Q5_V1_8733B)
#define BITS_PKT_NUM_Q5_V1_8733B (BIT_MASK_PKT_NUM_Q5_V1_8733B << BIT_SHIFT_PKT_NUM_Q5_V1_8733B)
#define BIT_CLEAR_PKT_NUM_Q5_V1_8733B(x) ((x) & (~BITS_PKT_NUM_Q5_V1_8733B))
#define BIT_GET_PKT_NUM_Q5_V1_8733B(x) (((x) >> BIT_SHIFT_PKT_NUM_Q5_V1_8733B) & BIT_MASK_PKT_NUM_Q5_V1_8733B)
#define BIT_SET_PKT_NUM_Q5_V1_8733B(x, v) (BIT_CLEAR_PKT_NUM_Q5_V1_8733B(x) | BIT_PKT_NUM_Q5_V1_8733B(v))

#define BIT_SHIFT_HEAD_PKT_Q5_8733B 0
#define BIT_MASK_HEAD_PKT_Q5_8733B 0xff
#define BIT_HEAD_PKT_Q5_8733B(x) (((x) & BIT_MASK_HEAD_PKT_Q5_8733B) << BIT_SHIFT_HEAD_PKT_Q5_8733B)
#define BITS_HEAD_PKT_Q5_8733B (BIT_MASK_HEAD_PKT_Q5_8733B << BIT_SHIFT_HEAD_PKT_Q5_8733B)
#define BIT_CLEAR_HEAD_PKT_Q5_8733B(x) ((x) & (~BITS_HEAD_PKT_Q5_8733B))
#define BIT_GET_HEAD_PKT_Q5_8733B(x) (((x) >> BIT_SHIFT_HEAD_PKT_Q5_8733B) & BIT_MASK_HEAD_PKT_Q5_8733B)
#define BIT_SET_HEAD_PKT_Q5_8733B(x, v) (BIT_CLEAR_HEAD_PKT_Q5_8733B(x) | BIT_HEAD_PKT_Q5_8733B(v))

/* 2 REG_Q6_INFO_8733B */

#define BIT_SHIFT_QUEUEMACID_Q6_V1_8733B 25
#define BIT_MASK_QUEUEMACID_Q6_V1_8733B 0x7f
#define BIT_QUEUEMACID_Q6_V1_8733B(x) (((x) & BIT_MASK_QUEUEMACID_Q6_V1_8733B) << BIT_SHIFT_QUEUEMACID_Q6_V1_8733B)
#define BITS_QUEUEMACID_Q6_V1_8733B (BIT_MASK_QUEUEMACID_Q6_V1_8733B << BIT_SHIFT_QUEUEMACID_Q6_V1_8733B)
#define BIT_CLEAR_QUEUEMACID_Q6_V1_8733B(x) ((x) & (~BITS_QUEUEMACID_Q6_V1_8733B))
#define BIT_GET_QUEUEMACID_Q6_V1_8733B(x) (((x) >> BIT_SHIFT_QUEUEMACID_Q6_V1_8733B) & BIT_MASK_QUEUEMACID_Q6_V1_8733B)
#define BIT_SET_QUEUEMACID_Q6_V1_8733B(x, v) (BIT_CLEAR_QUEUEMACID_Q6_V1_8733B(x) | BIT_QUEUEMACID_Q6_V1_8733B(v))

#define BIT_SHIFT_QUEUEAC_Q6_V1_8733B 23
#define BIT_MASK_QUEUEAC_Q6_V1_8733B 0x3
#define BIT_QUEUEAC_Q6_V1_8733B(x) (((x) & BIT_MASK_QUEUEAC_Q6_V1_8733B) << BIT_SHIFT_QUEUEAC_Q6_V1_8733B)
#define BITS_QUEUEAC_Q6_V1_8733B (BIT_MASK_QUEUEAC_Q6_V1_8733B << BIT_SHIFT_QUEUEAC_Q6_V1_8733B)
#define BIT_CLEAR_QUEUEAC_Q6_V1_8733B(x) ((x) & (~BITS_QUEUEAC_Q6_V1_8733B))
#define BIT_GET_QUEUEAC_Q6_V1_8733B(x) (((x) >> BIT_SHIFT_QUEUEAC_Q6_V1_8733B) & BIT_MASK_QUEUEAC_Q6_V1_8733B)
#define BIT_SET_QUEUEAC_Q6_V1_8733B(x, v) (BIT_CLEAR_QUEUEAC_Q6_V1_8733B(x) | BIT_QUEUEAC_Q6_V1_8733B(v))

#define BIT_SHIFT_TAIL_PKT_Q6_V1_8733B 15
#define BIT_MASK_TAIL_PKT_Q6_V1_8733B 0xff
#define BIT_TAIL_PKT_Q6_V1_8733B(x) (((x) & BIT_MASK_TAIL_PKT_Q6_V1_8733B) << BIT_SHIFT_TAIL_PKT_Q6_V1_8733B)
#define BITS_TAIL_PKT_Q6_V1_8733B (BIT_MASK_TAIL_PKT_Q6_V1_8733B << BIT_SHIFT_TAIL_PKT_Q6_V1_8733B)
#define BIT_CLEAR_TAIL_PKT_Q6_V1_8733B(x) ((x) & (~BITS_TAIL_PKT_Q6_V1_8733B))
#define BIT_GET_TAIL_PKT_Q6_V1_8733B(x) (((x) >> BIT_SHIFT_TAIL_PKT_Q6_V1_8733B) & BIT_MASK_TAIL_PKT_Q6_V1_8733B)
#define BIT_SET_TAIL_PKT_Q6_V1_8733B(x, v) (BIT_CLEAR_TAIL_PKT_Q6_V1_8733B(x) | BIT_TAIL_PKT_Q6_V1_8733B(v))

#define BIT_SHIFT_PKT_NUM_Q6_V1_8733B 8
#define BIT_MASK_PKT_NUM_Q6_V1_8733B 0x7f
#define BIT_PKT_NUM_Q6_V1_8733B(x) (((x) & BIT_MASK_PKT_NUM_Q6_V1_8733B) << BIT_SHIFT_PKT_NUM_Q6_V1_8733B)
#define BITS_PKT_NUM_Q6_V1_8733B (BIT_MASK_PKT_NUM_Q6_V1_8733B << BIT_SHIFT_PKT_NUM_Q6_V1_8733B)
#define BIT_CLEAR_PKT_NUM_Q6_V1_8733B(x) ((x) & (~BITS_PKT_NUM_Q6_V1_8733B))
#define BIT_GET_PKT_NUM_Q6_V1_8733B(x) (((x) >> BIT_SHIFT_PKT_NUM_Q6_V1_8733B) & BIT_MASK_PKT_NUM_Q6_V1_8733B)
#define BIT_SET_PKT_NUM_Q6_V1_8733B(x, v) (BIT_CLEAR_PKT_NUM_Q6_V1_8733B(x) | BIT_PKT_NUM_Q6_V1_8733B(v))

#define BIT_SHIFT_HEAD_PKT_Q6_8733B 0
#define BIT_MASK_HEAD_PKT_Q6_8733B 0xff
#define BIT_HEAD_PKT_Q6_8733B(x) (((x) & BIT_MASK_HEAD_PKT_Q6_8733B) << BIT_SHIFT_HEAD_PKT_Q6_8733B)
#define BITS_HEAD_PKT_Q6_8733B (BIT_MASK_HEAD_PKT_Q6_8733B << BIT_SHIFT_HEAD_PKT_Q6_8733B)
#define BIT_CLEAR_HEAD_PKT_Q6_8733B(x) ((x) & (~BITS_HEAD_PKT_Q6_8733B))
#define BIT_GET_HEAD_PKT_Q6_8733B(x) (((x) >> BIT_SHIFT_HEAD_PKT_Q6_8733B) & BIT_MASK_HEAD_PKT_Q6_8733B)
#define BIT_SET_HEAD_PKT_Q6_8733B(x, v) (BIT_CLEAR_HEAD_PKT_Q6_8733B(x) | BIT_HEAD_PKT_Q6_8733B(v))

/* 2 REG_Q7_INFO_8733B */

#define BIT_SHIFT_QUEUEMACID_Q7_V1_8733B 25
#define BIT_MASK_QUEUEMACID_Q7_V1_8733B 0x7f
#define BIT_QUEUEMACID_Q7_V1_8733B(x) (((x) & BIT_MASK_QUEUEMACID_Q7_V1_8733B) << BIT_SHIFT_QUEUEMACID_Q7_V1_8733B)
#define BITS_QUEUEMACID_Q7_V1_8733B (BIT_MASK_QUEUEMACID_Q7_V1_8733B << BIT_SHIFT_QUEUEMACID_Q7_V1_8733B)
#define BIT_CLEAR_QUEUEMACID_Q7_V1_8733B(x) ((x) & (~BITS_QUEUEMACID_Q7_V1_8733B))
#define BIT_GET_QUEUEMACID_Q7_V1_8733B(x) (((x) >> BIT_SHIFT_QUEUEMACID_Q7_V1_8733B) & BIT_MASK_QUEUEMACID_Q7_V1_8733B)
#define BIT_SET_QUEUEMACID_Q7_V1_8733B(x, v) (BIT_CLEAR_QUEUEMACID_Q7_V1_8733B(x) | BIT_QUEUEMACID_Q7_V1_8733B(v))

#define BIT_SHIFT_QUEUEAC_Q7_V1_8733B 23
#define BIT_MASK_QUEUEAC_Q7_V1_8733B 0x3
#define BIT_QUEUEAC_Q7_V1_8733B(x) (((x) & BIT_MASK_QUEUEAC_Q7_V1_8733B) << BIT_SHIFT_QUEUEAC_Q7_V1_8733B)
#define BITS_QUEUEAC_Q7_V1_8733B (BIT_MASK_QUEUEAC_Q7_V1_8733B << BIT_SHIFT_QUEUEAC_Q7_V1_8733B)
#define BIT_CLEAR_QUEUEAC_Q7_V1_8733B(x) ((x) & (~BITS_QUEUEAC_Q7_V1_8733B))
#define BIT_GET_QUEUEAC_Q7_V1_8733B(x) (((x) >> BIT_SHIFT_QUEUEAC_Q7_V1_8733B) & BIT_MASK_QUEUEAC_Q7_V1_8733B)
#define BIT_SET_QUEUEAC_Q7_V1_8733B(x, v) (BIT_CLEAR_QUEUEAC_Q7_V1_8733B(x) | BIT_QUEUEAC_Q7_V1_8733B(v))

#define BIT_SHIFT_TAIL_PKT_Q7_V1_8733B 15
#define BIT_MASK_TAIL_PKT_Q7_V1_8733B 0xff
#define BIT_TAIL_PKT_Q7_V1_8733B(x) (((x) & BIT_MASK_TAIL_PKT_Q7_V1_8733B) << BIT_SHIFT_TAIL_PKT_Q7_V1_8733B)
#define BITS_TAIL_PKT_Q7_V1_8733B (BIT_MASK_TAIL_PKT_Q7_V1_8733B << BIT_SHIFT_TAIL_PKT_Q7_V1_8733B)
#define BIT_CLEAR_TAIL_PKT_Q7_V1_8733B(x) ((x) & (~BITS_TAIL_PKT_Q7_V1_8733B))
#define BIT_GET_TAIL_PKT_Q7_V1_8733B(x) (((x) >> BIT_SHIFT_TAIL_PKT_Q7_V1_8733B) & BIT_MASK_TAIL_PKT_Q7_V1_8733B)
#define BIT_SET_TAIL_PKT_Q7_V1_8733B(x, v) (BIT_CLEAR_TAIL_PKT_Q7_V1_8733B(x) | BIT_TAIL_PKT_Q7_V1_8733B(v))

#define BIT_SHIFT_PKT_NUM_Q7_V1_8733B 8
#define BIT_MASK_PKT_NUM_Q7_V1_8733B 0x7f
#define BIT_PKT_NUM_Q7_V1_8733B(x) (((x) & BIT_MASK_PKT_NUM_Q7_V1_8733B) << BIT_SHIFT_PKT_NUM_Q7_V1_8733B)
#define BITS_PKT_NUM_Q7_V1_8733B (BIT_MASK_PKT_NUM_Q7_V1_8733B << BIT_SHIFT_PKT_NUM_Q7_V1_8733B)
#define BIT_CLEAR_PKT_NUM_Q7_V1_8733B(x) ((x) & (~BITS_PKT_NUM_Q7_V1_8733B))
#define BIT_GET_PKT_NUM_Q7_V1_8733B(x) (((x) >> BIT_SHIFT_PKT_NUM_Q7_V1_8733B) & BIT_MASK_PKT_NUM_Q7_V1_8733B)
#define BIT_SET_PKT_NUM_Q7_V1_8733B(x, v) (BIT_CLEAR_PKT_NUM_Q7_V1_8733B(x) | BIT_PKT_NUM_Q7_V1_8733B(v))

#define BIT_SHIFT_HEAD_PKT_Q7_8733B 0
#define BIT_MASK_HEAD_PKT_Q7_8733B 0xff
#define BIT_HEAD_PKT_Q7_8733B(x) (((x) & BIT_MASK_HEAD_PKT_Q7_8733B) << BIT_SHIFT_HEAD_PKT_Q7_8733B)
#define BITS_HEAD_PKT_Q7_8733B (BIT_MASK_HEAD_PKT_Q7_8733B << BIT_SHIFT_HEAD_PKT_Q7_8733B)
#define BIT_CLEAR_HEAD_PKT_Q7_8733B(x) ((x) & (~BITS_HEAD_PKT_Q7_8733B))
#define BIT_GET_HEAD_PKT_Q7_8733B(x) (((x) >> BIT_SHIFT_HEAD_PKT_Q7_8733B) & BIT_MASK_HEAD_PKT_Q7_8733B)
#define BIT_SET_HEAD_PKT_Q7_8733B(x, v) (BIT_CLEAR_HEAD_PKT_Q7_8733B(x) | BIT_HEAD_PKT_Q7_8733B(v))

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_TXRPT_CTRL_8733B */

#define BIT_SHIFT_AMPDU_TXRPT_TIME_THRS_8733B 24
#define BIT_MASK_AMPDU_TXRPT_TIME_THRS_8733B 0xff
#define BIT_AMPDU_TXRPT_TIME_THRS_8733B(x) (((x) & BIT_MASK_AMPDU_TXRPT_TIME_THRS_8733B) << BIT_SHIFT_AMPDU_TXRPT_TIME_THRS_8733B)
#define BITS_AMPDU_TXRPT_TIME_THRS_8733B (BIT_MASK_AMPDU_TXRPT_TIME_THRS_8733B << BIT_SHIFT_AMPDU_TXRPT_TIME_THRS_8733B)
#define BIT_CLEAR_AMPDU_TXRPT_TIME_THRS_8733B(x) ((x) & (~BITS_AMPDU_TXRPT_TIME_THRS_8733B))
#define BIT_GET_AMPDU_TXRPT_TIME_THRS_8733B(x) (((x) >> BIT_SHIFT_AMPDU_TXRPT_TIME_THRS_8733B) & BIT_MASK_AMPDU_TXRPT_TIME_THRS_8733B)
#define BIT_SET_AMPDU_TXRPT_TIME_THRS_8733B(x, v) (BIT_CLEAR_AMPDU_TXRPT_TIME_THRS_8733B(x) | BIT_AMPDU_TXRPT_TIME_THRS_8733B(v))

#define BIT_SHIFT_AMPDU_TXRPT_LEN_THRS_8733B 16
#define BIT_MASK_AMPDU_TXRPT_LEN_THRS_8733B 0xff
#define BIT_AMPDU_TXRPT_LEN_THRS_8733B(x) (((x) & BIT_MASK_AMPDU_TXRPT_LEN_THRS_8733B) << BIT_SHIFT_AMPDU_TXRPT_LEN_THRS_8733B)
#define BITS_AMPDU_TXRPT_LEN_THRS_8733B (BIT_MASK_AMPDU_TXRPT_LEN_THRS_8733B << BIT_SHIFT_AMPDU_TXRPT_LEN_THRS_8733B)
#define BIT_CLEAR_AMPDU_TXRPT_LEN_THRS_8733B(x) ((x) & (~BITS_AMPDU_TXRPT_LEN_THRS_8733B))
#define BIT_GET_AMPDU_TXRPT_LEN_THRS_8733B(x) (((x) >> BIT_SHIFT_AMPDU_TXRPT_LEN_THRS_8733B) & BIT_MASK_AMPDU_TXRPT_LEN_THRS_8733B)
#define BIT_SET_AMPDU_TXRPT_LEN_THRS_8733B(x, v) (BIT_CLEAR_AMPDU_TXRPT_LEN_THRS_8733B(x) | BIT_AMPDU_TXRPT_LEN_THRS_8733B(v))

#define BIT_SHIFT_AMPDU_TXRPT_R_PTR_8733B 8
#define BIT_MASK_AMPDU_TXRPT_R_PTR_8733B 0xff
#define BIT_AMPDU_TXRPT_R_PTR_8733B(x) (((x) & BIT_MASK_AMPDU_TXRPT_R_PTR_8733B) << BIT_SHIFT_AMPDU_TXRPT_R_PTR_8733B)
#define BITS_AMPDU_TXRPT_R_PTR_8733B (BIT_MASK_AMPDU_TXRPT_R_PTR_8733B << BIT_SHIFT_AMPDU_TXRPT_R_PTR_8733B)
#define BIT_CLEAR_AMPDU_TXRPT_R_PTR_8733B(x) ((x) & (~BITS_AMPDU_TXRPT_R_PTR_8733B))
#define BIT_GET_AMPDU_TXRPT_R_PTR_8733B(x) (((x) >> BIT_SHIFT_AMPDU_TXRPT_R_PTR_8733B) & BIT_MASK_AMPDU_TXRPT_R_PTR_8733B)
#define BIT_SET_AMPDU_TXRPT_R_PTR_8733B(x, v) (BIT_CLEAR_AMPDU_TXRPT_R_PTR_8733B(x) | BIT_AMPDU_TXRPT_R_PTR_8733B(v))

#define BIT_SHIFT_AMPDU_TXRPT_W_PTR_8733B 0
#define BIT_MASK_AMPDU_TXRPT_W_PTR_8733B 0xff
#define BIT_AMPDU_TXRPT_W_PTR_8733B(x) (((x) & BIT_MASK_AMPDU_TXRPT_W_PTR_8733B) << BIT_SHIFT_AMPDU_TXRPT_W_PTR_8733B)
#define BITS_AMPDU_TXRPT_W_PTR_8733B (BIT_MASK_AMPDU_TXRPT_W_PTR_8733B << BIT_SHIFT_AMPDU_TXRPT_W_PTR_8733B)
#define BIT_CLEAR_AMPDU_TXRPT_W_PTR_8733B(x) ((x) & (~BITS_AMPDU_TXRPT_W_PTR_8733B))
#define BIT_GET_AMPDU_TXRPT_W_PTR_8733B(x) (((x) >> BIT_SHIFT_AMPDU_TXRPT_W_PTR_8733B) & BIT_MASK_AMPDU_TXRPT_W_PTR_8733B)
#define BIT_SET_AMPDU_TXRPT_W_PTR_8733B(x, v) (BIT_CLEAR_AMPDU_TXRPT_W_PTR_8733B(x) | BIT_AMPDU_TXRPT_W_PTR_8733B(v))

/* 2 REG_INIRTS_RATE_SEL_8733B */
#define BIT_LEAG_RTS_BW_DUP_8733B BIT(5)

/* 2 REG_BASIC_CFEND_RATE_8733B */

#define BIT_SHIFT_BASIC_CFEND_RATE_8733B 0
#define BIT_MASK_BASIC_CFEND_RATE_8733B 0x1f
#define BIT_BASIC_CFEND_RATE_8733B(x) (((x) & BIT_MASK_BASIC_CFEND_RATE_8733B) << BIT_SHIFT_BASIC_CFEND_RATE_8733B)
#define BITS_BASIC_CFEND_RATE_8733B (BIT_MASK_BASIC_CFEND_RATE_8733B << BIT_SHIFT_BASIC_CFEND_RATE_8733B)
#define BIT_CLEAR_BASIC_CFEND_RATE_8733B(x) ((x) & (~BITS_BASIC_CFEND_RATE_8733B))
#define BIT_GET_BASIC_CFEND_RATE_8733B(x) (((x) >> BIT_SHIFT_BASIC_CFEND_RATE_8733B) & BIT_MASK_BASIC_CFEND_RATE_8733B)
#define BIT_SET_BASIC_CFEND_RATE_8733B(x, v) (BIT_CLEAR_BASIC_CFEND_RATE_8733B(x) | BIT_BASIC_CFEND_RATE_8733B(v))

/* 2 REG_STBC_CFEND_RATE_8733B */

#define BIT_SHIFT_STBC_CFEND_RATE_8733B 0
#define BIT_MASK_STBC_CFEND_RATE_8733B 0x1f
#define BIT_STBC_CFEND_RATE_8733B(x) (((x) & BIT_MASK_STBC_CFEND_RATE_8733B) << BIT_SHIFT_STBC_CFEND_RATE_8733B)
#define BITS_STBC_CFEND_RATE_8733B (BIT_MASK_STBC_CFEND_RATE_8733B << BIT_SHIFT_STBC_CFEND_RATE_8733B)
#define BIT_CLEAR_STBC_CFEND_RATE_8733B(x) ((x) & (~BITS_STBC_CFEND_RATE_8733B))
#define BIT_GET_STBC_CFEND_RATE_8733B(x) (((x) >> BIT_SHIFT_STBC_CFEND_RATE_8733B) & BIT_MASK_STBC_CFEND_RATE_8733B)
#define BIT_SET_STBC_CFEND_RATE_8733B(x, v) (BIT_CLEAR_STBC_CFEND_RATE_8733B(x) | BIT_STBC_CFEND_RATE_8733B(v))

/* 2 REG_DATA_SC_8733B */

#define BIT_SHIFT_TXSC_40M_8733B 4
#define BIT_MASK_TXSC_40M_8733B 0xf
#define BIT_TXSC_40M_8733B(x) (((x) & BIT_MASK_TXSC_40M_8733B) << BIT_SHIFT_TXSC_40M_8733B)
#define BITS_TXSC_40M_8733B (BIT_MASK_TXSC_40M_8733B << BIT_SHIFT_TXSC_40M_8733B)
#define BIT_CLEAR_TXSC_40M_8733B(x) ((x) & (~BITS_TXSC_40M_8733B))
#define BIT_GET_TXSC_40M_8733B(x) (((x) >> BIT_SHIFT_TXSC_40M_8733B) & BIT_MASK_TXSC_40M_8733B)
#define BIT_SET_TXSC_40M_8733B(x, v) (BIT_CLEAR_TXSC_40M_8733B(x) | BIT_TXSC_40M_8733B(v))

#define BIT_SHIFT_TXSC_20M_8733B 0
#define BIT_MASK_TXSC_20M_8733B 0xf
#define BIT_TXSC_20M_8733B(x) (((x) & BIT_MASK_TXSC_20M_8733B) << BIT_SHIFT_TXSC_20M_8733B)
#define BITS_TXSC_20M_8733B (BIT_MASK_TXSC_20M_8733B << BIT_SHIFT_TXSC_20M_8733B)
#define BIT_CLEAR_TXSC_20M_8733B(x) ((x) & (~BITS_TXSC_20M_8733B))
#define BIT_GET_TXSC_20M_8733B(x) (((x) >> BIT_SHIFT_TXSC_20M_8733B) & BIT_MASK_TXSC_20M_8733B)
#define BIT_SET_TXSC_20M_8733B(x, v) (BIT_CLEAR_TXSC_20M_8733B(x) | BIT_TXSC_20M_8733B(v))

/* 2 REG_MACID_SLEEP3_8733B */

#define BIT_SHIFT_MACID127_96_PKTSLEEP_8733B 0
#define BIT_MASK_MACID127_96_PKTSLEEP_8733B 0xffffffffL
#define BIT_MACID127_96_PKTSLEEP_8733B(x) (((x) & BIT_MASK_MACID127_96_PKTSLEEP_8733B) << BIT_SHIFT_MACID127_96_PKTSLEEP_8733B)
#define BITS_MACID127_96_PKTSLEEP_8733B (BIT_MASK_MACID127_96_PKTSLEEP_8733B << BIT_SHIFT_MACID127_96_PKTSLEEP_8733B)
#define BIT_CLEAR_MACID127_96_PKTSLEEP_8733B(x) ((x) & (~BITS_MACID127_96_PKTSLEEP_8733B))
#define BIT_GET_MACID127_96_PKTSLEEP_8733B(x) (((x) >> BIT_SHIFT_MACID127_96_PKTSLEEP_8733B) & BIT_MASK_MACID127_96_PKTSLEEP_8733B)
#define BIT_SET_MACID127_96_PKTSLEEP_8733B(x, v) (BIT_CLEAR_MACID127_96_PKTSLEEP_8733B(x) | BIT_MACID127_96_PKTSLEEP_8733B(v))

/* 2 REG_MACID_SLEEP1_8733B */

#define BIT_SHIFT_MACID63_32_PKTSLEEP_8733B 0
#define BIT_MASK_MACID63_32_PKTSLEEP_8733B 0xffffffffL
#define BIT_MACID63_32_PKTSLEEP_8733B(x) (((x) & BIT_MASK_MACID63_32_PKTSLEEP_8733B) << BIT_SHIFT_MACID63_32_PKTSLEEP_8733B)
#define BITS_MACID63_32_PKTSLEEP_8733B (BIT_MASK_MACID63_32_PKTSLEEP_8733B << BIT_SHIFT_MACID63_32_PKTSLEEP_8733B)
#define BIT_CLEAR_MACID63_32_PKTSLEEP_8733B(x) ((x) & (~BITS_MACID63_32_PKTSLEEP_8733B))
#define BIT_GET_MACID63_32_PKTSLEEP_8733B(x) (((x) >> BIT_SHIFT_MACID63_32_PKTSLEEP_8733B) & BIT_MASK_MACID63_32_PKTSLEEP_8733B)
#define BIT_SET_MACID63_32_PKTSLEEP_8733B(x, v) (BIT_CLEAR_MACID63_32_PKTSLEEP_8733B(x) | BIT_MACID63_32_PKTSLEEP_8733B(v))

/* 2 REG_ARFR2_V1_8733B */

#define BIT_SHIFT_ADPT_RATE_TABLE_L2_8733B 0
#define BIT_MASK_ADPT_RATE_TABLE_L2_8733B 0xffffffffL
#define BIT_ADPT_RATE_TABLE_L2_8733B(x) (((x) & BIT_MASK_ADPT_RATE_TABLE_L2_8733B) << BIT_SHIFT_ADPT_RATE_TABLE_L2_8733B)
#define BITS_ADPT_RATE_TABLE_L2_8733B (BIT_MASK_ADPT_RATE_TABLE_L2_8733B << BIT_SHIFT_ADPT_RATE_TABLE_L2_8733B)
#define BIT_CLEAR_ADPT_RATE_TABLE_L2_8733B(x) ((x) & (~BITS_ADPT_RATE_TABLE_L2_8733B))
#define BIT_GET_ADPT_RATE_TABLE_L2_8733B(x) (((x) >> BIT_SHIFT_ADPT_RATE_TABLE_L2_8733B) & BIT_MASK_ADPT_RATE_TABLE_L2_8733B)
#define BIT_SET_ADPT_RATE_TABLE_L2_8733B(x, v) (BIT_CLEAR_ADPT_RATE_TABLE_L2_8733B(x) | BIT_ADPT_RATE_TABLE_L2_8733B(v))

/* 2 REG_ARFRH2_V1_H_8733B */

#define BIT_SHIFT_ADPT_RATE_TABLE_H2_8733B 0
#define BIT_MASK_ADPT_RATE_TABLE_H2_8733B 0xffffffffL
#define BIT_ADPT_RATE_TABLE_H2_8733B(x) (((x) & BIT_MASK_ADPT_RATE_TABLE_H2_8733B) << BIT_SHIFT_ADPT_RATE_TABLE_H2_8733B)
#define BITS_ADPT_RATE_TABLE_H2_8733B (BIT_MASK_ADPT_RATE_TABLE_H2_8733B << BIT_SHIFT_ADPT_RATE_TABLE_H2_8733B)
#define BIT_CLEAR_ADPT_RATE_TABLE_H2_8733B(x) ((x) & (~BITS_ADPT_RATE_TABLE_H2_8733B))
#define BIT_GET_ADPT_RATE_TABLE_H2_8733B(x) (((x) >> BIT_SHIFT_ADPT_RATE_TABLE_H2_8733B) & BIT_MASK_ADPT_RATE_TABLE_H2_8733B)
#define BIT_SET_ADPT_RATE_TABLE_H2_8733B(x, v) (BIT_CLEAR_ADPT_RATE_TABLE_H2_8733B(x) | BIT_ADPT_RATE_TABLE_H2_8733B(v))

/* 2 REG_ARFR3_V1_8733B */

#define BIT_SHIFT_ADPT_RATE_TABLE_L3_8733B 0
#define BIT_MASK_ADPT_RATE_TABLE_L3_8733B 0xffffffffL
#define BIT_ADPT_RATE_TABLE_L3_8733B(x) (((x) & BIT_MASK_ADPT_RATE_TABLE_L3_8733B) << BIT_SHIFT_ADPT_RATE_TABLE_L3_8733B)
#define BITS_ADPT_RATE_TABLE_L3_8733B (BIT_MASK_ADPT_RATE_TABLE_L3_8733B << BIT_SHIFT_ADPT_RATE_TABLE_L3_8733B)
#define BIT_CLEAR_ADPT_RATE_TABLE_L3_8733B(x) ((x) & (~BITS_ADPT_RATE_TABLE_L3_8733B))
#define BIT_GET_ADPT_RATE_TABLE_L3_8733B(x) (((x) >> BIT_SHIFT_ADPT_RATE_TABLE_L3_8733B) & BIT_MASK_ADPT_RATE_TABLE_L3_8733B)
#define BIT_SET_ADPT_RATE_TABLE_L3_8733B(x, v) (BIT_CLEAR_ADPT_RATE_TABLE_L3_8733B(x) | BIT_ADPT_RATE_TABLE_L3_8733B(v))

/* 2 REG_ARFRH3_V1_H_8733B */

#define BIT_SHIFT_ADPT_RATE_TABLE_H3_8733B 0
#define BIT_MASK_ADPT_RATE_TABLE_H3_8733B 0xffffffffL
#define BIT_ADPT_RATE_TABLE_H3_8733B(x) (((x) & BIT_MASK_ADPT_RATE_TABLE_H3_8733B) << BIT_SHIFT_ADPT_RATE_TABLE_H3_8733B)
#define BITS_ADPT_RATE_TABLE_H3_8733B (BIT_MASK_ADPT_RATE_TABLE_H3_8733B << BIT_SHIFT_ADPT_RATE_TABLE_H3_8733B)
#define BIT_CLEAR_ADPT_RATE_TABLE_H3_8733B(x) ((x) & (~BITS_ADPT_RATE_TABLE_H3_8733B))
#define BIT_GET_ADPT_RATE_TABLE_H3_8733B(x) (((x) >> BIT_SHIFT_ADPT_RATE_TABLE_H3_8733B) & BIT_MASK_ADPT_RATE_TABLE_H3_8733B)
#define BIT_SET_ADPT_RATE_TABLE_H3_8733B(x, v) (BIT_CLEAR_ADPT_RATE_TABLE_H3_8733B(x) | BIT_ADPT_RATE_TABLE_H3_8733B(v))

/* 2 REG_ARFR4_8733B */

#define BIT_SHIFT_ADPT_RATE_TABLE_L4_8733B 0
#define BIT_MASK_ADPT_RATE_TABLE_L4_8733B 0xffffffffL
#define BIT_ADPT_RATE_TABLE_L4_8733B(x) (((x) & BIT_MASK_ADPT_RATE_TABLE_L4_8733B) << BIT_SHIFT_ADPT_RATE_TABLE_L4_8733B)
#define BITS_ADPT_RATE_TABLE_L4_8733B (BIT_MASK_ADPT_RATE_TABLE_L4_8733B << BIT_SHIFT_ADPT_RATE_TABLE_L4_8733B)
#define BIT_CLEAR_ADPT_RATE_TABLE_L4_8733B(x) ((x) & (~BITS_ADPT_RATE_TABLE_L4_8733B))
#define BIT_GET_ADPT_RATE_TABLE_L4_8733B(x) (((x) >> BIT_SHIFT_ADPT_RATE_TABLE_L4_8733B) & BIT_MASK_ADPT_RATE_TABLE_L4_8733B)
#define BIT_SET_ADPT_RATE_TABLE_L4_8733B(x, v) (BIT_CLEAR_ADPT_RATE_TABLE_L4_8733B(x) | BIT_ADPT_RATE_TABLE_L4_8733B(v))

/* 2 REG_ARFRH4_H_8733B */

#define BIT_SHIFT_ADPT_RATE_TABLE_H4_8733B 0
#define BIT_MASK_ADPT_RATE_TABLE_H4_8733B 0xffffffffL
#define BIT_ADPT_RATE_TABLE_H4_8733B(x) (((x) & BIT_MASK_ADPT_RATE_TABLE_H4_8733B) << BIT_SHIFT_ADPT_RATE_TABLE_H4_8733B)
#define BITS_ADPT_RATE_TABLE_H4_8733B (BIT_MASK_ADPT_RATE_TABLE_H4_8733B << BIT_SHIFT_ADPT_RATE_TABLE_H4_8733B)
#define BIT_CLEAR_ADPT_RATE_TABLE_H4_8733B(x) ((x) & (~BITS_ADPT_RATE_TABLE_H4_8733B))
#define BIT_GET_ADPT_RATE_TABLE_H4_8733B(x) (((x) >> BIT_SHIFT_ADPT_RATE_TABLE_H4_8733B) & BIT_MASK_ADPT_RATE_TABLE_H4_8733B)
#define BIT_SET_ADPT_RATE_TABLE_H4_8733B(x, v) (BIT_CLEAR_ADPT_RATE_TABLE_H4_8733B(x) | BIT_ADPT_RATE_TABLE_H4_8733B(v))

/* 2 REG_ARFR5_8733B */

#define BIT_SHIFT_ADPT_RATE_TABLE_L5_8733B 0
#define BIT_MASK_ADPT_RATE_TABLE_L5_8733B 0xffffffffL
#define BIT_ADPT_RATE_TABLE_L5_8733B(x) (((x) & BIT_MASK_ADPT_RATE_TABLE_L5_8733B) << BIT_SHIFT_ADPT_RATE_TABLE_L5_8733B)
#define BITS_ADPT_RATE_TABLE_L5_8733B (BIT_MASK_ADPT_RATE_TABLE_L5_8733B << BIT_SHIFT_ADPT_RATE_TABLE_L5_8733B)
#define BIT_CLEAR_ADPT_RATE_TABLE_L5_8733B(x) ((x) & (~BITS_ADPT_RATE_TABLE_L5_8733B))
#define BIT_GET_ADPT_RATE_TABLE_L5_8733B(x) (((x) >> BIT_SHIFT_ADPT_RATE_TABLE_L5_8733B) & BIT_MASK_ADPT_RATE_TABLE_L5_8733B)
#define BIT_SET_ADPT_RATE_TABLE_L5_8733B(x, v) (BIT_CLEAR_ADPT_RATE_TABLE_L5_8733B(x) | BIT_ADPT_RATE_TABLE_L5_8733B(v))

/* 2 REG_ARFRH5_8733B */

#define BIT_SHIFT_ADPT_RATE_TABLE_H5_8733B 0
#define BIT_MASK_ADPT_RATE_TABLE_H5_8733B 0xffffffffL
#define BIT_ADPT_RATE_TABLE_H5_8733B(x) (((x) & BIT_MASK_ADPT_RATE_TABLE_H5_8733B) << BIT_SHIFT_ADPT_RATE_TABLE_H5_8733B)
#define BITS_ADPT_RATE_TABLE_H5_8733B (BIT_MASK_ADPT_RATE_TABLE_H5_8733B << BIT_SHIFT_ADPT_RATE_TABLE_H5_8733B)
#define BIT_CLEAR_ADPT_RATE_TABLE_H5_8733B(x) ((x) & (~BITS_ADPT_RATE_TABLE_H5_8733B))
#define BIT_GET_ADPT_RATE_TABLE_H5_8733B(x) (((x) >> BIT_SHIFT_ADPT_RATE_TABLE_H5_8733B) & BIT_MASK_ADPT_RATE_TABLE_H5_8733B)
#define BIT_SET_ADPT_RATE_TABLE_H5_8733B(x, v) (BIT_CLEAR_ADPT_RATE_TABLE_H5_8733B(x) | BIT_ADPT_RATE_TABLE_H5_8733B(v))

/* 2 REG_TXRPT_START_OFFSET_8733B */
#define BIT_RPTFIFO_1K_8733B BIT(16)

#define BIT_SHIFT_MACID_CTRL_OFFSET_8733B 8
#define BIT_MASK_MACID_CTRL_OFFSET_8733B 0xff
#define BIT_MACID_CTRL_OFFSET_8733B(x) (((x) & BIT_MASK_MACID_CTRL_OFFSET_8733B) << BIT_SHIFT_MACID_CTRL_OFFSET_8733B)
#define BITS_MACID_CTRL_OFFSET_8733B (BIT_MASK_MACID_CTRL_OFFSET_8733B << BIT_SHIFT_MACID_CTRL_OFFSET_8733B)
#define BIT_CLEAR_MACID_CTRL_OFFSET_8733B(x) ((x) & (~BITS_MACID_CTRL_OFFSET_8733B))
#define BIT_GET_MACID_CTRL_OFFSET_8733B(x) (((x) >> BIT_SHIFT_MACID_CTRL_OFFSET_8733B) & BIT_MASK_MACID_CTRL_OFFSET_8733B)
#define BIT_SET_MACID_CTRL_OFFSET_8733B(x, v) (BIT_CLEAR_MACID_CTRL_OFFSET_8733B(x) | BIT_MACID_CTRL_OFFSET_8733B(v))

#define BIT_SHIFT_AMPDU_TXRPT_OFFSET_8733B 0
#define BIT_MASK_AMPDU_TXRPT_OFFSET_8733B 0xff
#define BIT_AMPDU_TXRPT_OFFSET_8733B(x) (((x) & BIT_MASK_AMPDU_TXRPT_OFFSET_8733B) << BIT_SHIFT_AMPDU_TXRPT_OFFSET_8733B)
#define BITS_AMPDU_TXRPT_OFFSET_8733B (BIT_MASK_AMPDU_TXRPT_OFFSET_8733B << BIT_SHIFT_AMPDU_TXRPT_OFFSET_8733B)
#define BIT_CLEAR_AMPDU_TXRPT_OFFSET_8733B(x) ((x) & (~BITS_AMPDU_TXRPT_OFFSET_8733B))
#define BIT_GET_AMPDU_TXRPT_OFFSET_8733B(x) (((x) >> BIT_SHIFT_AMPDU_TXRPT_OFFSET_8733B) & BIT_MASK_AMPDU_TXRPT_OFFSET_8733B)
#define BIT_SET_AMPDU_TXRPT_OFFSET_8733B(x, v) (BIT_CLEAR_AMPDU_TXRPT_OFFSET_8733B(x) | BIT_AMPDU_TXRPT_OFFSET_8733B(v))

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_POWER_STAGE1_8733B */
#define BIT_PTA_WL_PRI_MASK_CPU_MGQ_8733B BIT(31)
#define BIT_PTA_WL_PRI_MASK_BCNQ_8733B BIT(30)
#define BIT_PTA_WL_PRI_MASK_HIQ_8733B BIT(29)
#define BIT_PTA_WL_PRI_MASK_MGQ_8733B BIT(28)
#define BIT_PTA_WL_PRI_MASK_BK_8733B BIT(27)
#define BIT_PTA_WL_PRI_MASK_BE_8733B BIT(26)
#define BIT_PTA_WL_PRI_MASK_VI_8733B BIT(25)
#define BIT_PTA_WL_PRI_MASK_VO_8733B BIT(24)

#define BIT_SHIFT_POWER_STAGE1_8733B 0
#define BIT_MASK_POWER_STAGE1_8733B 0xffffff
#define BIT_POWER_STAGE1_8733B(x) (((x) & BIT_MASK_POWER_STAGE1_8733B) << BIT_SHIFT_POWER_STAGE1_8733B)
#define BITS_POWER_STAGE1_8733B (BIT_MASK_POWER_STAGE1_8733B << BIT_SHIFT_POWER_STAGE1_8733B)
#define BIT_CLEAR_POWER_STAGE1_8733B(x) ((x) & (~BITS_POWER_STAGE1_8733B))
#define BIT_GET_POWER_STAGE1_8733B(x) (((x) >> BIT_SHIFT_POWER_STAGE1_8733B) & BIT_MASK_POWER_STAGE1_8733B)
#define BIT_SET_POWER_STAGE1_8733B(x, v) (BIT_CLEAR_POWER_STAGE1_8733B(x) | BIT_POWER_STAGE1_8733B(v))

/* 2 REG_POWER_STAGE2_8733B */
#define BIT_PTA_WL_PRI_MASK_EVT_8733B BIT(25)
#define BIT_CTRL_PKT_PWR_ADJ_EN_8733B BIT(24)

#define BIT_SHIFT_POWER_STAGE2_8733B 0
#define BIT_MASK_POWER_STAGE2_8733B 0xffffff
#define BIT_POWER_STAGE2_8733B(x) (((x) & BIT_MASK_POWER_STAGE2_8733B) << BIT_SHIFT_POWER_STAGE2_8733B)
#define BITS_POWER_STAGE2_8733B (BIT_MASK_POWER_STAGE2_8733B << BIT_SHIFT_POWER_STAGE2_8733B)
#define BIT_CLEAR_POWER_STAGE2_8733B(x) ((x) & (~BITS_POWER_STAGE2_8733B))
#define BIT_GET_POWER_STAGE2_8733B(x) (((x) >> BIT_SHIFT_POWER_STAGE2_8733B) & BIT_MASK_POWER_STAGE2_8733B)
#define BIT_SET_POWER_STAGE2_8733B(x, v) (BIT_CLEAR_POWER_STAGE2_8733B(x) | BIT_POWER_STAGE2_8733B(v))

/* 2 REG_SW_AMPDU_BURST_MODE_CTRL_8733B */

/* 2 REG_NOT_VALID_8733B */

#define BIT_SHIFT_DMA_THIS_QUEUE_8733B 20
#define BIT_MASK_DMA_THIS_QUEUE_8733B 0xf
#define BIT_DMA_THIS_QUEUE_8733B(x) (((x) & BIT_MASK_DMA_THIS_QUEUE_8733B) << BIT_SHIFT_DMA_THIS_QUEUE_8733B)
#define BITS_DMA_THIS_QUEUE_8733B (BIT_MASK_DMA_THIS_QUEUE_8733B << BIT_SHIFT_DMA_THIS_QUEUE_8733B)
#define BIT_CLEAR_DMA_THIS_QUEUE_8733B(x) ((x) & (~BITS_DMA_THIS_QUEUE_8733B))
#define BIT_GET_DMA_THIS_QUEUE_8733B(x) (((x) >> BIT_SHIFT_DMA_THIS_QUEUE_8733B) & BIT_MASK_DMA_THIS_QUEUE_8733B)
#define BIT_SET_DMA_THIS_QUEUE_8733B(x, v) (BIT_CLEAR_DMA_THIS_QUEUE_8733B(x) | BIT_DMA_THIS_QUEUE_8733B(v))

#define BIT_SHIFT_TOTAL_LEN_THRS_8733B 8
#define BIT_MASK_TOTAL_LEN_THRS_8733B 0xfff
#define BIT_TOTAL_LEN_THRS_8733B(x) (((x) & BIT_MASK_TOTAL_LEN_THRS_8733B) << BIT_SHIFT_TOTAL_LEN_THRS_8733B)
#define BITS_TOTAL_LEN_THRS_8733B (BIT_MASK_TOTAL_LEN_THRS_8733B << BIT_SHIFT_TOTAL_LEN_THRS_8733B)
#define BIT_CLEAR_TOTAL_LEN_THRS_8733B(x) ((x) & (~BITS_TOTAL_LEN_THRS_8733B))
#define BIT_GET_TOTAL_LEN_THRS_8733B(x) (((x) >> BIT_SHIFT_TOTAL_LEN_THRS_8733B) & BIT_MASK_TOTAL_LEN_THRS_8733B)
#define BIT_SET_TOTAL_LEN_THRS_8733B(x, v) (BIT_CLEAR_TOTAL_LEN_THRS_8733B(x) | BIT_TOTAL_LEN_THRS_8733B(v))

#define BIT_WEP_PRETX_EN_8733B BIT(7)
#define BIT_PRE_TX_CMD_8733B BIT(6)

#define BIT_SHIFT_NUM_SCL_EN_8733B 4
#define BIT_MASK_NUM_SCL_EN_8733B 0x3
#define BIT_NUM_SCL_EN_8733B(x) (((x) & BIT_MASK_NUM_SCL_EN_8733B) << BIT_SHIFT_NUM_SCL_EN_8733B)
#define BITS_NUM_SCL_EN_8733B (BIT_MASK_NUM_SCL_EN_8733B << BIT_SHIFT_NUM_SCL_EN_8733B)
#define BIT_CLEAR_NUM_SCL_EN_8733B(x) ((x) & (~BITS_NUM_SCL_EN_8733B))
#define BIT_GET_NUM_SCL_EN_8733B(x) (((x) >> BIT_SHIFT_NUM_SCL_EN_8733B) & BIT_MASK_NUM_SCL_EN_8733B)
#define BIT_SET_NUM_SCL_EN_8733B(x, v) (BIT_CLEAR_NUM_SCL_EN_8733B(x) | BIT_NUM_SCL_EN_8733B(v))

#define BIT_BK_EN_8733B BIT(3)
#define BIT_BE_EN_8733B BIT(2)
#define BIT_VI_EN_8733B BIT(1)
#define BIT_VO_EN_8733B BIT(0)

/* 2 REG_PKT_LIFE_TIME_8733B */

#define BIT_SHIFT_PKT_LIFTIME_BEBK_8733B 16
#define BIT_MASK_PKT_LIFTIME_BEBK_8733B 0xffff
#define BIT_PKT_LIFTIME_BEBK_8733B(x) (((x) & BIT_MASK_PKT_LIFTIME_BEBK_8733B) << BIT_SHIFT_PKT_LIFTIME_BEBK_8733B)
#define BITS_PKT_LIFTIME_BEBK_8733B (BIT_MASK_PKT_LIFTIME_BEBK_8733B << BIT_SHIFT_PKT_LIFTIME_BEBK_8733B)
#define BIT_CLEAR_PKT_LIFTIME_BEBK_8733B(x) ((x) & (~BITS_PKT_LIFTIME_BEBK_8733B))
#define BIT_GET_PKT_LIFTIME_BEBK_8733B(x) (((x) >> BIT_SHIFT_PKT_LIFTIME_BEBK_8733B) & BIT_MASK_PKT_LIFTIME_BEBK_8733B)
#define BIT_SET_PKT_LIFTIME_BEBK_8733B(x, v) (BIT_CLEAR_PKT_LIFTIME_BEBK_8733B(x) | BIT_PKT_LIFTIME_BEBK_8733B(v))

#define BIT_SHIFT_PKT_LIFTIME_VOVI_8733B 0
#define BIT_MASK_PKT_LIFTIME_VOVI_8733B 0xffff
#define BIT_PKT_LIFTIME_VOVI_8733B(x) (((x) & BIT_MASK_PKT_LIFTIME_VOVI_8733B) << BIT_SHIFT_PKT_LIFTIME_VOVI_8733B)
#define BITS_PKT_LIFTIME_VOVI_8733B (BIT_MASK_PKT_LIFTIME_VOVI_8733B << BIT_SHIFT_PKT_LIFTIME_VOVI_8733B)
#define BIT_CLEAR_PKT_LIFTIME_VOVI_8733B(x) ((x) & (~BITS_PKT_LIFTIME_VOVI_8733B))
#define BIT_GET_PKT_LIFTIME_VOVI_8733B(x) (((x) >> BIT_SHIFT_PKT_LIFTIME_VOVI_8733B) & BIT_MASK_PKT_LIFTIME_VOVI_8733B)
#define BIT_SET_PKT_LIFTIME_VOVI_8733B(x, v) (BIT_CLEAR_PKT_LIFTIME_VOVI_8733B(x) | BIT_PKT_LIFTIME_VOVI_8733B(v))

/* 2 REG_STBC_SETTING_8733B */

#define BIT_SHIFT_CDEND_TXTIME_L_8733B 4
#define BIT_MASK_CDEND_TXTIME_L_8733B 0xf
#define BIT_CDEND_TXTIME_L_8733B(x) (((x) & BIT_MASK_CDEND_TXTIME_L_8733B) << BIT_SHIFT_CDEND_TXTIME_L_8733B)
#define BITS_CDEND_TXTIME_L_8733B (BIT_MASK_CDEND_TXTIME_L_8733B << BIT_SHIFT_CDEND_TXTIME_L_8733B)
#define BIT_CLEAR_CDEND_TXTIME_L_8733B(x) ((x) & (~BITS_CDEND_TXTIME_L_8733B))
#define BIT_GET_CDEND_TXTIME_L_8733B(x) (((x) >> BIT_SHIFT_CDEND_TXTIME_L_8733B) & BIT_MASK_CDEND_TXTIME_L_8733B)
#define BIT_SET_CDEND_TXTIME_L_8733B(x, v) (BIT_CLEAR_CDEND_TXTIME_L_8733B(x) | BIT_CDEND_TXTIME_L_8733B(v))

#define BIT_SHIFT_NESS_8733B 2
#define BIT_MASK_NESS_8733B 0x3
#define BIT_NESS_8733B(x) (((x) & BIT_MASK_NESS_8733B) << BIT_SHIFT_NESS_8733B)
#define BITS_NESS_8733B (BIT_MASK_NESS_8733B << BIT_SHIFT_NESS_8733B)
#define BIT_CLEAR_NESS_8733B(x) ((x) & (~BITS_NESS_8733B))
#define BIT_GET_NESS_8733B(x) (((x) >> BIT_SHIFT_NESS_8733B) & BIT_MASK_NESS_8733B)
#define BIT_SET_NESS_8733B(x, v) (BIT_CLEAR_NESS_8733B(x) | BIT_NESS_8733B(v))

#define BIT_SHIFT_STBC_CFEND_8733B 0
#define BIT_MASK_STBC_CFEND_8733B 0x3
#define BIT_STBC_CFEND_8733B(x) (((x) & BIT_MASK_STBC_CFEND_8733B) << BIT_SHIFT_STBC_CFEND_8733B)
#define BITS_STBC_CFEND_8733B (BIT_MASK_STBC_CFEND_8733B << BIT_SHIFT_STBC_CFEND_8733B)
#define BIT_CLEAR_STBC_CFEND_8733B(x) ((x) & (~BITS_STBC_CFEND_8733B))
#define BIT_GET_STBC_CFEND_8733B(x) (((x) >> BIT_SHIFT_STBC_CFEND_8733B) & BIT_MASK_STBC_CFEND_8733B)
#define BIT_SET_STBC_CFEND_8733B(x, v) (BIT_CLEAR_STBC_CFEND_8733B(x) | BIT_STBC_CFEND_8733B(v))

/* 2 REG_STBC_SETTING2_8733B */

#define BIT_SHIFT_CDEND_TXTIME_H_8733B 0
#define BIT_MASK_CDEND_TXTIME_H_8733B 0x1f
#define BIT_CDEND_TXTIME_H_8733B(x) (((x) & BIT_MASK_CDEND_TXTIME_H_8733B) << BIT_SHIFT_CDEND_TXTIME_H_8733B)
#define BITS_CDEND_TXTIME_H_8733B (BIT_MASK_CDEND_TXTIME_H_8733B << BIT_SHIFT_CDEND_TXTIME_H_8733B)
#define BIT_CLEAR_CDEND_TXTIME_H_8733B(x) ((x) & (~BITS_CDEND_TXTIME_H_8733B))
#define BIT_GET_CDEND_TXTIME_H_8733B(x) (((x) >> BIT_SHIFT_CDEND_TXTIME_H_8733B) & BIT_MASK_CDEND_TXTIME_H_8733B)
#define BIT_SET_CDEND_TXTIME_H_8733B(x, v) (BIT_CLEAR_CDEND_TXTIME_H_8733B(x) | BIT_CDEND_TXTIME_H_8733B(v))

/* 2 REG_QUEUE_CTRL_8733B */

/* 2 REG_NOT_VALID_8733B */
#define BIT_FORCE_RND_PRI_8733B BIT(6)
#define BIT_PTA_EDCCA_EN_8733B BIT(5)
#define BIT_PTA_WL_TX_EN_8733B BIT(4)
#define BIT_R_USE_DATA_BW_8733B BIT(3)
#define BIT_TRI_PKT_STATUS_8733B BIT(2)
#define BIT_TRI_PKT_PKTIN_8733B BIT(1)
#define BIT_ACQ_MODE_SEL_8733B BIT(0)

/* 2 REG_SINGLE_AMPDU_CTRL_8733B */
#define BIT_EN_SINGLE_APMDU_8733B BIT(7)

/* 2 REG_PROT_MODE_CTRL_8733B */

#define BIT_SHIFT_RTS_MAX_AGG_NUM_8733B 24
#define BIT_MASK_RTS_MAX_AGG_NUM_8733B 0x3f
#define BIT_RTS_MAX_AGG_NUM_8733B(x) (((x) & BIT_MASK_RTS_MAX_AGG_NUM_8733B) << BIT_SHIFT_RTS_MAX_AGG_NUM_8733B)
#define BITS_RTS_MAX_AGG_NUM_8733B (BIT_MASK_RTS_MAX_AGG_NUM_8733B << BIT_SHIFT_RTS_MAX_AGG_NUM_8733B)
#define BIT_CLEAR_RTS_MAX_AGG_NUM_8733B(x) ((x) & (~BITS_RTS_MAX_AGG_NUM_8733B))
#define BIT_GET_RTS_MAX_AGG_NUM_8733B(x) (((x) >> BIT_SHIFT_RTS_MAX_AGG_NUM_8733B) & BIT_MASK_RTS_MAX_AGG_NUM_8733B)
#define BIT_SET_RTS_MAX_AGG_NUM_8733B(x, v) (BIT_CLEAR_RTS_MAX_AGG_NUM_8733B(x) | BIT_RTS_MAX_AGG_NUM_8733B(v))

#define BIT_SHIFT_MAX_AGG_NUM_8733B 16
#define BIT_MASK_MAX_AGG_NUM_8733B 0x3f
#define BIT_MAX_AGG_NUM_8733B(x) (((x) & BIT_MASK_MAX_AGG_NUM_8733B) << BIT_SHIFT_MAX_AGG_NUM_8733B)
#define BITS_MAX_AGG_NUM_8733B (BIT_MASK_MAX_AGG_NUM_8733B << BIT_SHIFT_MAX_AGG_NUM_8733B)
#define BIT_CLEAR_MAX_AGG_NUM_8733B(x) ((x) & (~BITS_MAX_AGG_NUM_8733B))
#define BIT_GET_MAX_AGG_NUM_8733B(x) (((x) >> BIT_SHIFT_MAX_AGG_NUM_8733B) & BIT_MASK_MAX_AGG_NUM_8733B)
#define BIT_SET_MAX_AGG_NUM_8733B(x, v) (BIT_CLEAR_MAX_AGG_NUM_8733B(x) | BIT_MAX_AGG_NUM_8733B(v))

#define BIT_SHIFT_RTS_TXTIME_TH_8733B 8
#define BIT_MASK_RTS_TXTIME_TH_8733B 0xff
#define BIT_RTS_TXTIME_TH_8733B(x) (((x) & BIT_MASK_RTS_TXTIME_TH_8733B) << BIT_SHIFT_RTS_TXTIME_TH_8733B)
#define BITS_RTS_TXTIME_TH_8733B (BIT_MASK_RTS_TXTIME_TH_8733B << BIT_SHIFT_RTS_TXTIME_TH_8733B)
#define BIT_CLEAR_RTS_TXTIME_TH_8733B(x) ((x) & (~BITS_RTS_TXTIME_TH_8733B))
#define BIT_GET_RTS_TXTIME_TH_8733B(x) (((x) >> BIT_SHIFT_RTS_TXTIME_TH_8733B) & BIT_MASK_RTS_TXTIME_TH_8733B)
#define BIT_SET_RTS_TXTIME_TH_8733B(x, v) (BIT_CLEAR_RTS_TXTIME_TH_8733B(x) | BIT_RTS_TXTIME_TH_8733B(v))

#define BIT_SHIFT_RTS_LEN_TH_8733B 0
#define BIT_MASK_RTS_LEN_TH_8733B 0xff
#define BIT_RTS_LEN_TH_8733B(x) (((x) & BIT_MASK_RTS_LEN_TH_8733B) << BIT_SHIFT_RTS_LEN_TH_8733B)
#define BITS_RTS_LEN_TH_8733B (BIT_MASK_RTS_LEN_TH_8733B << BIT_SHIFT_RTS_LEN_TH_8733B)
#define BIT_CLEAR_RTS_LEN_TH_8733B(x) ((x) & (~BITS_RTS_LEN_TH_8733B))
#define BIT_GET_RTS_LEN_TH_8733B(x) (((x) >> BIT_SHIFT_RTS_LEN_TH_8733B) & BIT_MASK_RTS_LEN_TH_8733B)
#define BIT_SET_RTS_LEN_TH_8733B(x, v) (BIT_CLEAR_RTS_LEN_TH_8733B(x) | BIT_RTS_LEN_TH_8733B(v))

/* 2 REG_BAR_MODE_CTRL_8733B */

#define BIT_SHIFT_RTY_PKT_LMT_8733B 24
#define BIT_MASK_RTY_PKT_LMT_8733B 0x3f
#define BIT_RTY_PKT_LMT_8733B(x) (((x) & BIT_MASK_RTY_PKT_LMT_8733B) << BIT_SHIFT_RTY_PKT_LMT_8733B)
#define BITS_RTY_PKT_LMT_8733B (BIT_MASK_RTY_PKT_LMT_8733B << BIT_SHIFT_RTY_PKT_LMT_8733B)
#define BIT_CLEAR_RTY_PKT_LMT_8733B(x) ((x) & (~BITS_RTY_PKT_LMT_8733B))
#define BIT_GET_RTY_PKT_LMT_8733B(x) (((x) >> BIT_SHIFT_RTY_PKT_LMT_8733B) & BIT_MASK_RTY_PKT_LMT_8733B)
#define BIT_SET_RTY_PKT_LMT_8733B(x, v) (BIT_CLEAR_RTY_PKT_LMT_8733B(x) | BIT_RTY_PKT_LMT_8733B(v))

#define BIT_SHIFT_BAR_RTY_LMT_8733B 16
#define BIT_MASK_BAR_RTY_LMT_8733B 0x3
#define BIT_BAR_RTY_LMT_8733B(x) (((x) & BIT_MASK_BAR_RTY_LMT_8733B) << BIT_SHIFT_BAR_RTY_LMT_8733B)
#define BITS_BAR_RTY_LMT_8733B (BIT_MASK_BAR_RTY_LMT_8733B << BIT_SHIFT_BAR_RTY_LMT_8733B)
#define BIT_CLEAR_BAR_RTY_LMT_8733B(x) ((x) & (~BITS_BAR_RTY_LMT_8733B))
#define BIT_GET_BAR_RTY_LMT_8733B(x) (((x) >> BIT_SHIFT_BAR_RTY_LMT_8733B) & BIT_MASK_BAR_RTY_LMT_8733B)
#define BIT_SET_BAR_RTY_LMT_8733B(x, v) (BIT_CLEAR_BAR_RTY_LMT_8733B(x) | BIT_BAR_RTY_LMT_8733B(v))

#define BIT_SHIFT_BAR_PKTTIME_THRS_8733B 8
#define BIT_MASK_BAR_PKTTIME_THRS_8733B 0xff
#define BIT_BAR_PKTTIME_THRS_8733B(x) (((x) & BIT_MASK_BAR_PKTTIME_THRS_8733B) << BIT_SHIFT_BAR_PKTTIME_THRS_8733B)
#define BITS_BAR_PKTTIME_THRS_8733B (BIT_MASK_BAR_PKTTIME_THRS_8733B << BIT_SHIFT_BAR_PKTTIME_THRS_8733B)
#define BIT_CLEAR_BAR_PKTTIME_THRS_8733B(x) ((x) & (~BITS_BAR_PKTTIME_THRS_8733B))
#define BIT_GET_BAR_PKTTIME_THRS_8733B(x) (((x) >> BIT_SHIFT_BAR_PKTTIME_THRS_8733B) & BIT_MASK_BAR_PKTTIME_THRS_8733B)
#define BIT_SET_BAR_PKTTIME_THRS_8733B(x, v) (BIT_CLEAR_BAR_PKTTIME_THRS_8733B(x) | BIT_BAR_PKTTIME_THRS_8733B(v))

#define BIT_SHIFT_BAR_PKTNUM_TH_V1_8733B 0
#define BIT_MASK_BAR_PKTNUM_TH_V1_8733B 0x7f
#define BIT_BAR_PKTNUM_TH_V1_8733B(x) (((x) & BIT_MASK_BAR_PKTNUM_TH_V1_8733B) << BIT_SHIFT_BAR_PKTNUM_TH_V1_8733B)
#define BITS_BAR_PKTNUM_TH_V1_8733B (BIT_MASK_BAR_PKTNUM_TH_V1_8733B << BIT_SHIFT_BAR_PKTNUM_TH_V1_8733B)
#define BIT_CLEAR_BAR_PKTNUM_TH_V1_8733B(x) ((x) & (~BITS_BAR_PKTNUM_TH_V1_8733B))
#define BIT_GET_BAR_PKTNUM_TH_V1_8733B(x) (((x) >> BIT_SHIFT_BAR_PKTNUM_TH_V1_8733B) & BIT_MASK_BAR_PKTNUM_TH_V1_8733B)
#define BIT_SET_BAR_PKTNUM_TH_V1_8733B(x, v) (BIT_CLEAR_BAR_PKTNUM_TH_V1_8733B(x) | BIT_BAR_PKTNUM_TH_V1_8733B(v))

/* 2 REG_MACID_SLEEP2_8733B */

#define BIT_SHIFT_MACID95_64PKTSLEEP_8733B 0
#define BIT_MASK_MACID95_64PKTSLEEP_8733B 0xffffffffL
#define BIT_MACID95_64PKTSLEEP_8733B(x) (((x) & BIT_MASK_MACID95_64PKTSLEEP_8733B) << BIT_SHIFT_MACID95_64PKTSLEEP_8733B)
#define BITS_MACID95_64PKTSLEEP_8733B (BIT_MASK_MACID95_64PKTSLEEP_8733B << BIT_SHIFT_MACID95_64PKTSLEEP_8733B)
#define BIT_CLEAR_MACID95_64PKTSLEEP_8733B(x) ((x) & (~BITS_MACID95_64PKTSLEEP_8733B))
#define BIT_GET_MACID95_64PKTSLEEP_8733B(x) (((x) >> BIT_SHIFT_MACID95_64PKTSLEEP_8733B) & BIT_MASK_MACID95_64PKTSLEEP_8733B)
#define BIT_SET_MACID95_64PKTSLEEP_8733B(x, v) (BIT_CLEAR_MACID95_64PKTSLEEP_8733B(x) | BIT_MACID95_64PKTSLEEP_8733B(v))

/* 2 REG_MACID_SLEEP_8733B */

#define BIT_SHIFT_MACID31_0_PKTSLEEP_8733B 0
#define BIT_MASK_MACID31_0_PKTSLEEP_8733B 0xffffffffL
#define BIT_MACID31_0_PKTSLEEP_8733B(x) (((x) & BIT_MASK_MACID31_0_PKTSLEEP_8733B) << BIT_SHIFT_MACID31_0_PKTSLEEP_8733B)
#define BITS_MACID31_0_PKTSLEEP_8733B (BIT_MASK_MACID31_0_PKTSLEEP_8733B << BIT_SHIFT_MACID31_0_PKTSLEEP_8733B)
#define BIT_CLEAR_MACID31_0_PKTSLEEP_8733B(x) ((x) & (~BITS_MACID31_0_PKTSLEEP_8733B))
#define BIT_GET_MACID31_0_PKTSLEEP_8733B(x) (((x) >> BIT_SHIFT_MACID31_0_PKTSLEEP_8733B) & BIT_MASK_MACID31_0_PKTSLEEP_8733B)
#define BIT_SET_MACID31_0_PKTSLEEP_8733B(x, v) (BIT_CLEAR_MACID31_0_PKTSLEEP_8733B(x) | BIT_MACID31_0_PKTSLEEP_8733B(v))

/* 2 REG_HW_SEQ0_8733B */

/* 2 REG_NOT_VALID_8733B */

#define BIT_SHIFT_HW_SSN_SEQ0_8733B 0
#define BIT_MASK_HW_SSN_SEQ0_8733B 0xfff
#define BIT_HW_SSN_SEQ0_8733B(x) (((x) & BIT_MASK_HW_SSN_SEQ0_8733B) << BIT_SHIFT_HW_SSN_SEQ0_8733B)
#define BITS_HW_SSN_SEQ0_8733B (BIT_MASK_HW_SSN_SEQ0_8733B << BIT_SHIFT_HW_SSN_SEQ0_8733B)
#define BIT_CLEAR_HW_SSN_SEQ0_8733B(x) ((x) & (~BITS_HW_SSN_SEQ0_8733B))
#define BIT_GET_HW_SSN_SEQ0_8733B(x) (((x) >> BIT_SHIFT_HW_SSN_SEQ0_8733B) & BIT_MASK_HW_SSN_SEQ0_8733B)
#define BIT_SET_HW_SSN_SEQ0_8733B(x, v) (BIT_CLEAR_HW_SSN_SEQ0_8733B(x) | BIT_HW_SSN_SEQ0_8733B(v))

/* 2 REG_HW_SEQ1_8733B */

/* 2 REG_NOT_VALID_8733B */

#define BIT_SHIFT_HW_SSN_SEQ1_8733B 0
#define BIT_MASK_HW_SSN_SEQ1_8733B 0xfff
#define BIT_HW_SSN_SEQ1_8733B(x) (((x) & BIT_MASK_HW_SSN_SEQ1_8733B) << BIT_SHIFT_HW_SSN_SEQ1_8733B)
#define BITS_HW_SSN_SEQ1_8733B (BIT_MASK_HW_SSN_SEQ1_8733B << BIT_SHIFT_HW_SSN_SEQ1_8733B)
#define BIT_CLEAR_HW_SSN_SEQ1_8733B(x) ((x) & (~BITS_HW_SSN_SEQ1_8733B))
#define BIT_GET_HW_SSN_SEQ1_8733B(x) (((x) >> BIT_SHIFT_HW_SSN_SEQ1_8733B) & BIT_MASK_HW_SSN_SEQ1_8733B)
#define BIT_SET_HW_SSN_SEQ1_8733B(x, v) (BIT_CLEAR_HW_SSN_SEQ1_8733B(x) | BIT_HW_SSN_SEQ1_8733B(v))

/* 2 REG_HW_SEQ2_8733B */

/* 2 REG_NOT_VALID_8733B */

#define BIT_SHIFT_HW_SSN_SEQ2_8733B 0
#define BIT_MASK_HW_SSN_SEQ2_8733B 0xfff
#define BIT_HW_SSN_SEQ2_8733B(x) (((x) & BIT_MASK_HW_SSN_SEQ2_8733B) << BIT_SHIFT_HW_SSN_SEQ2_8733B)
#define BITS_HW_SSN_SEQ2_8733B (BIT_MASK_HW_SSN_SEQ2_8733B << BIT_SHIFT_HW_SSN_SEQ2_8733B)
#define BIT_CLEAR_HW_SSN_SEQ2_8733B(x) ((x) & (~BITS_HW_SSN_SEQ2_8733B))
#define BIT_GET_HW_SSN_SEQ2_8733B(x) (((x) >> BIT_SHIFT_HW_SSN_SEQ2_8733B) & BIT_MASK_HW_SSN_SEQ2_8733B)
#define BIT_SET_HW_SSN_SEQ2_8733B(x, v) (BIT_CLEAR_HW_SSN_SEQ2_8733B(x) | BIT_HW_SSN_SEQ2_8733B(v))

/* 2 REG_HW_SEQ3_8733B */

/* 2 REG_NOT_VALID_8733B */

#define BIT_SHIFT_HW_SSN_SEQ3_8733B 0
#define BIT_MASK_HW_SSN_SEQ3_8733B 0xfff
#define BIT_HW_SSN_SEQ3_8733B(x) (((x) & BIT_MASK_HW_SSN_SEQ3_8733B) << BIT_SHIFT_HW_SSN_SEQ3_8733B)
#define BITS_HW_SSN_SEQ3_8733B (BIT_MASK_HW_SSN_SEQ3_8733B << BIT_SHIFT_HW_SSN_SEQ3_8733B)
#define BIT_CLEAR_HW_SSN_SEQ3_8733B(x) ((x) & (~BITS_HW_SSN_SEQ3_8733B))
#define BIT_GET_HW_SSN_SEQ3_8733B(x) (((x) >> BIT_SHIFT_HW_SSN_SEQ3_8733B) & BIT_MASK_HW_SSN_SEQ3_8733B)
#define BIT_SET_HW_SSN_SEQ3_8733B(x, v) (BIT_CLEAR_HW_SSN_SEQ3_8733B(x) | BIT_HW_SSN_SEQ3_8733B(v))

/* 2 REG_NULL_PKT_STATUS_8733B */
#define BIT_RD_FTMT2R_ERR_8733B BIT(15)
#define BIT_CLI3_TX_NULL_1_8733B BIT(9)
#define BIT_CLI3_TX_NULL_0_8733B BIT(8)
#define BIT_CLI2_TX_NULL_1_8733B BIT(7)
#define BIT_CLI2_TX_NULL_0_8733B BIT(6)
#define BIT_CLI1_TX_NULL_1_8733B BIT(5)
#define BIT_CLI1_TX_NULL_0_8733B BIT(4)
#define BIT_CLI0_TX_NULL_1_8733B BIT(3)
#define BIT_CLI0_TX_NULL_0_8733B BIT(2)
#define BIT_TX_NULL_1_8733B BIT(1)
#define BIT_TX_NULL_0_8733B BIT(0)

/* 2 REG_PTCL_ERR_STATUS_8733B */
#define BIT_PTCL_TOTAL_PG_H_8733B BIT(7)
#define BIT_PTCL_RATE_TABLE_INVALID_8733B BIT(6)
#define BIT_RD_TXHANG_ERR_8733B BIT(5)
#define BIT_RD_STATUS_ERR_8733B BIT(4)
#define BIT_RD_CTN_ERR_8733B BIT(3)

#define BIT_SHIFT_RD_PKTIN_ERR_8733B 0
#define BIT_MASK_RD_PKTIN_ERR_8733B 0x7
#define BIT_RD_PKTIN_ERR_8733B(x) (((x) & BIT_MASK_RD_PKTIN_ERR_8733B) << BIT_SHIFT_RD_PKTIN_ERR_8733B)
#define BITS_RD_PKTIN_ERR_8733B (BIT_MASK_RD_PKTIN_ERR_8733B << BIT_SHIFT_RD_PKTIN_ERR_8733B)
#define BIT_CLEAR_RD_PKTIN_ERR_8733B(x) ((x) & (~BITS_RD_PKTIN_ERR_8733B))
#define BIT_GET_RD_PKTIN_ERR_8733B(x) (((x) >> BIT_SHIFT_RD_PKTIN_ERR_8733B) & BIT_MASK_RD_PKTIN_ERR_8733B)
#define BIT_SET_RD_PKTIN_ERR_8733B(x, v) (BIT_CLEAR_RD_PKTIN_ERR_8733B(x) | BIT_RD_PKTIN_ERR_8733B(v))

/* 2 REG_PTCL_PKT_NUM_8733B */

#define BIT_SHIFT_PTCL_TOTAL_PG_L_8733B 0
#define BIT_MASK_PTCL_TOTAL_PG_L_8733B 0xff
#define BIT_PTCL_TOTAL_PG_L_8733B(x) (((x) & BIT_MASK_PTCL_TOTAL_PG_L_8733B) << BIT_SHIFT_PTCL_TOTAL_PG_L_8733B)
#define BITS_PTCL_TOTAL_PG_L_8733B (BIT_MASK_PTCL_TOTAL_PG_L_8733B << BIT_SHIFT_PTCL_TOTAL_PG_L_8733B)
#define BIT_CLEAR_PTCL_TOTAL_PG_L_8733B(x) ((x) & (~BITS_PTCL_TOTAL_PG_L_8733B))
#define BIT_GET_PTCL_TOTAL_PG_L_8733B(x) (((x) >> BIT_SHIFT_PTCL_TOTAL_PG_L_8733B) & BIT_MASK_PTCL_TOTAL_PG_L_8733B)
#define BIT_SET_PTCL_TOTAL_PG_L_8733B(x, v) (BIT_CLEAR_PTCL_TOTAL_PG_L_8733B(x) | BIT_PTCL_TOTAL_PG_L_8733B(v))

/* 2 REG_DROP_FUN_8733B */

/* 2 REG_NOT_VALID_8733B */
#define BIT_HGQ_DEL_EN_8733B BIT(7)
#define BIT_MGQ_DEL_EN_8733B BIT(6)

/* 2 REG_PRECNT_CTRL_8733B */

#define BIT_SHIFT_COLLI_DETEC_TIME_MAX_8733B 12
#define BIT_MASK_COLLI_DETEC_TIME_MAX_8733B 0xf
#define BIT_COLLI_DETEC_TIME_MAX_8733B(x) (((x) & BIT_MASK_COLLI_DETEC_TIME_MAX_8733B) << BIT_SHIFT_COLLI_DETEC_TIME_MAX_8733B)
#define BITS_COLLI_DETEC_TIME_MAX_8733B (BIT_MASK_COLLI_DETEC_TIME_MAX_8733B << BIT_SHIFT_COLLI_DETEC_TIME_MAX_8733B)
#define BIT_CLEAR_COLLI_DETEC_TIME_MAX_8733B(x) ((x) & (~BITS_COLLI_DETEC_TIME_MAX_8733B))
#define BIT_GET_COLLI_DETEC_TIME_MAX_8733B(x) (((x) >> BIT_SHIFT_COLLI_DETEC_TIME_MAX_8733B) & BIT_MASK_COLLI_DETEC_TIME_MAX_8733B)
#define BIT_SET_COLLI_DETEC_TIME_MAX_8733B(x, v) (BIT_CLEAR_COLLI_DETEC_TIME_MAX_8733B(x) | BIT_COLLI_DETEC_TIME_MAX_8733B(v))

#define BIT_PRETX_AGGR_EN_8733B BIT(11)

#define BIT_SHIFT_PRETX_AGGR_TIME_MAX_8733B 0
#define BIT_MASK_PRETX_AGGR_TIME_MAX_8733B 0x7ff
#define BIT_PRETX_AGGR_TIME_MAX_8733B(x) (((x) & BIT_MASK_PRETX_AGGR_TIME_MAX_8733B) << BIT_SHIFT_PRETX_AGGR_TIME_MAX_8733B)
#define BITS_PRETX_AGGR_TIME_MAX_8733B (BIT_MASK_PRETX_AGGR_TIME_MAX_8733B << BIT_SHIFT_PRETX_AGGR_TIME_MAX_8733B)
#define BIT_CLEAR_PRETX_AGGR_TIME_MAX_8733B(x) ((x) & (~BITS_PRETX_AGGR_TIME_MAX_8733B))
#define BIT_GET_PRETX_AGGR_TIME_MAX_8733B(x) (((x) >> BIT_SHIFT_PRETX_AGGR_TIME_MAX_8733B) & BIT_MASK_PRETX_AGGR_TIME_MAX_8733B)
#define BIT_SET_PRETX_AGGR_TIME_MAX_8733B(x, v) (BIT_CLEAR_PRETX_AGGR_TIME_MAX_8733B(x) | BIT_PRETX_AGGR_TIME_MAX_8733B(v))

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_BT_POLLUTE_PKT_CNT_8733B */

#define BIT_SHIFT_BT_POLLUTE_PKT_CNT_8733B 0
#define BIT_MASK_BT_POLLUTE_PKT_CNT_8733B 0xffff
#define BIT_BT_POLLUTE_PKT_CNT_8733B(x) (((x) & BIT_MASK_BT_POLLUTE_PKT_CNT_8733B) << BIT_SHIFT_BT_POLLUTE_PKT_CNT_8733B)
#define BITS_BT_POLLUTE_PKT_CNT_8733B (BIT_MASK_BT_POLLUTE_PKT_CNT_8733B << BIT_SHIFT_BT_POLLUTE_PKT_CNT_8733B)
#define BIT_CLEAR_BT_POLLUTE_PKT_CNT_8733B(x) ((x) & (~BITS_BT_POLLUTE_PKT_CNT_8733B))
#define BIT_GET_BT_POLLUTE_PKT_CNT_8733B(x) (((x) >> BIT_SHIFT_BT_POLLUTE_PKT_CNT_8733B) & BIT_MASK_BT_POLLUTE_PKT_CNT_8733B)
#define BIT_SET_BT_POLLUTE_PKT_CNT_8733B(x, v) (BIT_CLEAR_BT_POLLUTE_PKT_CNT_8733B(x) | BIT_BT_POLLUTE_PKT_CNT_8733B(v))

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_DROP_PKT_NUM_8733B */

#define BIT_SHIFT_LIFE_DROP_NUM_8733B 16
#define BIT_MASK_LIFE_DROP_NUM_8733B 0xffff
#define BIT_LIFE_DROP_NUM_8733B(x) (((x) & BIT_MASK_LIFE_DROP_NUM_8733B) << BIT_SHIFT_LIFE_DROP_NUM_8733B)
#define BITS_LIFE_DROP_NUM_8733B (BIT_MASK_LIFE_DROP_NUM_8733B << BIT_SHIFT_LIFE_DROP_NUM_8733B)
#define BIT_CLEAR_LIFE_DROP_NUM_8733B(x) ((x) & (~BITS_LIFE_DROP_NUM_8733B))
#define BIT_GET_LIFE_DROP_NUM_8733B(x) (((x) >> BIT_SHIFT_LIFE_DROP_NUM_8733B) & BIT_MASK_LIFE_DROP_NUM_8733B)
#define BIT_SET_LIFE_DROP_NUM_8733B(x, v) (BIT_CLEAR_LIFE_DROP_NUM_8733B(x) | BIT_LIFE_DROP_NUM_8733B(v))

#define BIT_SHIFT_DROP_PKT_NUM_8733B 0
#define BIT_MASK_DROP_PKT_NUM_8733B 0xffff
#define BIT_DROP_PKT_NUM_8733B(x) (((x) & BIT_MASK_DROP_PKT_NUM_8733B) << BIT_SHIFT_DROP_PKT_NUM_8733B)
#define BITS_DROP_PKT_NUM_8733B (BIT_MASK_DROP_PKT_NUM_8733B << BIT_SHIFT_DROP_PKT_NUM_8733B)
#define BIT_CLEAR_DROP_PKT_NUM_8733B(x) ((x) & (~BITS_DROP_PKT_NUM_8733B))
#define BIT_GET_DROP_PKT_NUM_8733B(x) (((x) >> BIT_SHIFT_DROP_PKT_NUM_8733B) & BIT_MASK_DROP_PKT_NUM_8733B)
#define BIT_SET_DROP_PKT_NUM_8733B(x, v) (BIT_CLEAR_DROP_PKT_NUM_8733B(x) | BIT_DROP_PKT_NUM_8733B(v))

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_CPUMGQ_TIMER_CTRL_8733B */

/* 2 REG_NOT_VALID_8733B */

#define BIT_SHIFT_MGQ_TRI_HEAD_8733B 16
#define BIT_MASK_MGQ_TRI_HEAD_8733B 0xfff
#define BIT_MGQ_TRI_HEAD_8733B(x) (((x) & BIT_MASK_MGQ_TRI_HEAD_8733B) << BIT_SHIFT_MGQ_TRI_HEAD_8733B)
#define BITS_MGQ_TRI_HEAD_8733B (BIT_MASK_MGQ_TRI_HEAD_8733B << BIT_SHIFT_MGQ_TRI_HEAD_8733B)
#define BIT_CLEAR_MGQ_TRI_HEAD_8733B(x) ((x) & (~BITS_MGQ_TRI_HEAD_8733B))
#define BIT_GET_MGQ_TRI_HEAD_8733B(x) (((x) >> BIT_SHIFT_MGQ_TRI_HEAD_8733B) & BIT_MASK_MGQ_TRI_HEAD_8733B)
#define BIT_SET_MGQ_TRI_HEAD_8733B(x, v) (BIT_CLEAR_MGQ_TRI_HEAD_8733B(x) | BIT_MGQ_TRI_HEAD_8733B(v))

/* 2 REG_NOT_VALID_8733B */
#define BIT_CPUMGQ_TRI_LIFETIME_EN_8733B BIT(8)

#define BIT_SHIFT_CPUMGQ_TRI_LIFETIME_8733B 0
#define BIT_MASK_CPUMGQ_TRI_LIFETIME_8733B 0xff
#define BIT_CPUMGQ_TRI_LIFETIME_8733B(x) (((x) & BIT_MASK_CPUMGQ_TRI_LIFETIME_8733B) << BIT_SHIFT_CPUMGQ_TRI_LIFETIME_8733B)
#define BITS_CPUMGQ_TRI_LIFETIME_8733B (BIT_MASK_CPUMGQ_TRI_LIFETIME_8733B << BIT_SHIFT_CPUMGQ_TRI_LIFETIME_8733B)
#define BIT_CLEAR_CPUMGQ_TRI_LIFETIME_8733B(x) ((x) & (~BITS_CPUMGQ_TRI_LIFETIME_8733B))
#define BIT_GET_CPUMGQ_TRI_LIFETIME_8733B(x) (((x) >> BIT_SHIFT_CPUMGQ_TRI_LIFETIME_8733B) & BIT_MASK_CPUMGQ_TRI_LIFETIME_8733B)
#define BIT_SET_CPUMGQ_TRI_LIFETIME_8733B(x, v) (BIT_CLEAR_CPUMGQ_TRI_LIFETIME_8733B(x) | BIT_CPUMGQ_TRI_LIFETIME_8733B(v))

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_DUMMY_PAGE4_8733B */

#define BIT_SHIFT_DUMMY_REG_1_8733B 18
#define BIT_MASK_DUMMY_REG_1_8733B 0x3fff
#define BIT_DUMMY_REG_1_8733B(x) (((x) & BIT_MASK_DUMMY_REG_1_8733B) << BIT_SHIFT_DUMMY_REG_1_8733B)
#define BITS_DUMMY_REG_1_8733B (BIT_MASK_DUMMY_REG_1_8733B << BIT_SHIFT_DUMMY_REG_1_8733B)
#define BIT_CLEAR_DUMMY_REG_1_8733B(x) ((x) & (~BITS_DUMMY_REG_1_8733B))
#define BIT_GET_DUMMY_REG_1_8733B(x) (((x) >> BIT_SHIFT_DUMMY_REG_1_8733B) & BIT_MASK_DUMMY_REG_1_8733B)
#define BIT_SET_DUMMY_REG_1_8733B(x, v) (BIT_CLEAR_DUMMY_REG_1_8733B(x) | BIT_DUMMY_REG_1_8733B(v))

#define BIT_EN_BCN_TRXRPT_V1_8733B BIT(17)

#define BIT_SHIFT_DUMMY_REG_0_8733B 0
#define BIT_MASK_DUMMY_REG_0_8733B 0x1ffff
#define BIT_DUMMY_REG_0_8733B(x) (((x) & BIT_MASK_DUMMY_REG_0_8733B) << BIT_SHIFT_DUMMY_REG_0_8733B)
#define BITS_DUMMY_REG_0_8733B (BIT_MASK_DUMMY_REG_0_8733B << BIT_SHIFT_DUMMY_REG_0_8733B)
#define BIT_CLEAR_DUMMY_REG_0_8733B(x) ((x) & (~BITS_DUMMY_REG_0_8733B))
#define BIT_GET_DUMMY_REG_0_8733B(x) (((x) >> BIT_SHIFT_DUMMY_REG_0_8733B) & BIT_MASK_DUMMY_REG_0_8733B)
#define BIT_SET_DUMMY_REG_0_8733B(x, v) (BIT_CLEAR_DUMMY_REG_0_8733B(x) | BIT_DUMMY_REG_0_8733B(v))

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_ARFR6_8733B */

#define BIT_SHIFT_ADPT_RATE_TABLE_L6_8733B 0
#define BIT_MASK_ADPT_RATE_TABLE_L6_8733B 0xffffffffL
#define BIT_ADPT_RATE_TABLE_L6_8733B(x) (((x) & BIT_MASK_ADPT_RATE_TABLE_L6_8733B) << BIT_SHIFT_ADPT_RATE_TABLE_L6_8733B)
#define BITS_ADPT_RATE_TABLE_L6_8733B (BIT_MASK_ADPT_RATE_TABLE_L6_8733B << BIT_SHIFT_ADPT_RATE_TABLE_L6_8733B)
#define BIT_CLEAR_ADPT_RATE_TABLE_L6_8733B(x) ((x) & (~BITS_ADPT_RATE_TABLE_L6_8733B))
#define BIT_GET_ADPT_RATE_TABLE_L6_8733B(x) (((x) >> BIT_SHIFT_ADPT_RATE_TABLE_L6_8733B) & BIT_MASK_ADPT_RATE_TABLE_L6_8733B)
#define BIT_SET_ADPT_RATE_TABLE_L6_8733B(x, v) (BIT_CLEAR_ADPT_RATE_TABLE_L6_8733B(x) | BIT_ADPT_RATE_TABLE_L6_8733B(v))

/* 2 REG_ARFRH6_8733B */

#define BIT_SHIFT_ADPT_RATE_TABLE_H6_8733B 0
#define BIT_MASK_ADPT_RATE_TABLE_H6_8733B 0xffffffffL
#define BIT_ADPT_RATE_TABLE_H6_8733B(x) (((x) & BIT_MASK_ADPT_RATE_TABLE_H6_8733B) << BIT_SHIFT_ADPT_RATE_TABLE_H6_8733B)
#define BITS_ADPT_RATE_TABLE_H6_8733B (BIT_MASK_ADPT_RATE_TABLE_H6_8733B << BIT_SHIFT_ADPT_RATE_TABLE_H6_8733B)
#define BIT_CLEAR_ADPT_RATE_TABLE_H6_8733B(x) ((x) & (~BITS_ADPT_RATE_TABLE_H6_8733B))
#define BIT_GET_ADPT_RATE_TABLE_H6_8733B(x) (((x) >> BIT_SHIFT_ADPT_RATE_TABLE_H6_8733B) & BIT_MASK_ADPT_RATE_TABLE_H6_8733B)
#define BIT_SET_ADPT_RATE_TABLE_H6_8733B(x, v) (BIT_CLEAR_ADPT_RATE_TABLE_H6_8733B(x) | BIT_ADPT_RATE_TABLE_H6_8733B(v))

/* 2 REG_ARFR7_8733B */

#define BIT_SHIFT_ADPT_RATE_TABLE_L7_8733B 0
#define BIT_MASK_ADPT_RATE_TABLE_L7_8733B 0xffffffffL
#define BIT_ADPT_RATE_TABLE_L7_8733B(x) (((x) & BIT_MASK_ADPT_RATE_TABLE_L7_8733B) << BIT_SHIFT_ADPT_RATE_TABLE_L7_8733B)
#define BITS_ADPT_RATE_TABLE_L7_8733B (BIT_MASK_ADPT_RATE_TABLE_L7_8733B << BIT_SHIFT_ADPT_RATE_TABLE_L7_8733B)
#define BIT_CLEAR_ADPT_RATE_TABLE_L7_8733B(x) ((x) & (~BITS_ADPT_RATE_TABLE_L7_8733B))
#define BIT_GET_ADPT_RATE_TABLE_L7_8733B(x) (((x) >> BIT_SHIFT_ADPT_RATE_TABLE_L7_8733B) & BIT_MASK_ADPT_RATE_TABLE_L7_8733B)
#define BIT_SET_ADPT_RATE_TABLE_L7_8733B(x, v) (BIT_CLEAR_ADPT_RATE_TABLE_L7_8733B(x) | BIT_ADPT_RATE_TABLE_L7_8733B(v))

/* 2 REG_ARFRH7_8733B */

#define BIT_SHIFT_ADPT_RATE_TABLE_H7_8733B 0
#define BIT_MASK_ADPT_RATE_TABLE_H7_8733B 0xffffffffL
#define BIT_ADPT_RATE_TABLE_H7_8733B(x) (((x) & BIT_MASK_ADPT_RATE_TABLE_H7_8733B) << BIT_SHIFT_ADPT_RATE_TABLE_H7_8733B)
#define BITS_ADPT_RATE_TABLE_H7_8733B (BIT_MASK_ADPT_RATE_TABLE_H7_8733B << BIT_SHIFT_ADPT_RATE_TABLE_H7_8733B)
#define BIT_CLEAR_ADPT_RATE_TABLE_H7_8733B(x) ((x) & (~BITS_ADPT_RATE_TABLE_H7_8733B))
#define BIT_GET_ADPT_RATE_TABLE_H7_8733B(x) (((x) >> BIT_SHIFT_ADPT_RATE_TABLE_H7_8733B) & BIT_MASK_ADPT_RATE_TABLE_H7_8733B)
#define BIT_SET_ADPT_RATE_TABLE_H7_8733B(x, v) (BIT_CLEAR_ADPT_RATE_TABLE_H7_8733B(x) | BIT_ADPT_RATE_TABLE_H7_8733B(v))

/* 2 REG_ARFR8_8733B */

#define BIT_SHIFT_ADPT_RATE_TABLE_L8_8733B 0
#define BIT_MASK_ADPT_RATE_TABLE_L8_8733B 0xffffffffL
#define BIT_ADPT_RATE_TABLE_L8_8733B(x) (((x) & BIT_MASK_ADPT_RATE_TABLE_L8_8733B) << BIT_SHIFT_ADPT_RATE_TABLE_L8_8733B)
#define BITS_ADPT_RATE_TABLE_L8_8733B (BIT_MASK_ADPT_RATE_TABLE_L8_8733B << BIT_SHIFT_ADPT_RATE_TABLE_L8_8733B)
#define BIT_CLEAR_ADPT_RATE_TABLE_L8_8733B(x) ((x) & (~BITS_ADPT_RATE_TABLE_L8_8733B))
#define BIT_GET_ADPT_RATE_TABLE_L8_8733B(x) (((x) >> BIT_SHIFT_ADPT_RATE_TABLE_L8_8733B) & BIT_MASK_ADPT_RATE_TABLE_L8_8733B)
#define BIT_SET_ADPT_RATE_TABLE_L8_8733B(x, v) (BIT_CLEAR_ADPT_RATE_TABLE_L8_8733B(x) | BIT_ADPT_RATE_TABLE_L8_8733B(v))

/* 2 REG_ARFRH8_8733B */

#define BIT_SHIFT_ADPT_RATE_TABLE_H8_8733B 0
#define BIT_MASK_ADPT_RATE_TABLE_H8_8733B 0xffffffffL
#define BIT_ADPT_RATE_TABLE_H8_8733B(x) (((x) & BIT_MASK_ADPT_RATE_TABLE_H8_8733B) << BIT_SHIFT_ADPT_RATE_TABLE_H8_8733B)
#define BITS_ADPT_RATE_TABLE_H8_8733B (BIT_MASK_ADPT_RATE_TABLE_H8_8733B << BIT_SHIFT_ADPT_RATE_TABLE_H8_8733B)
#define BIT_CLEAR_ADPT_RATE_TABLE_H8_8733B(x) ((x) & (~BITS_ADPT_RATE_TABLE_H8_8733B))
#define BIT_GET_ADPT_RATE_TABLE_H8_8733B(x) (((x) >> BIT_SHIFT_ADPT_RATE_TABLE_H8_8733B) & BIT_MASK_ADPT_RATE_TABLE_H8_8733B)
#define BIT_SET_ADPT_RATE_TABLE_H8_8733B(x, v) (BIT_CLEAR_ADPT_RATE_TABLE_H8_8733B(x) | BIT_ADPT_RATE_TABLE_H8_8733B(v))

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_AESIV_SETTING_8733B */

/* 2 REG_NOT_VALID_8733B */

#define BIT_SHIFT_AESIV_OFFSET_8733B 0
#define BIT_MASK_AESIV_OFFSET_8733B 0xfff
#define BIT_AESIV_OFFSET_8733B(x) (((x) & BIT_MASK_AESIV_OFFSET_8733B) << BIT_SHIFT_AESIV_OFFSET_8733B)
#define BITS_AESIV_OFFSET_8733B (BIT_MASK_AESIV_OFFSET_8733B << BIT_SHIFT_AESIV_OFFSET_8733B)
#define BIT_CLEAR_AESIV_OFFSET_8733B(x) ((x) & (~BITS_AESIV_OFFSET_8733B))
#define BIT_GET_AESIV_OFFSET_8733B(x) (((x) >> BIT_SHIFT_AESIV_OFFSET_8733B) & BIT_MASK_AESIV_OFFSET_8733B)
#define BIT_SET_AESIV_OFFSET_8733B(x, v) (BIT_CLEAR_AESIV_OFFSET_8733B(x) | BIT_AESIV_OFFSET_8733B(v))

/* 2 REG_BF0_TIME_SETTING_8733B */
#define BIT_BF0_TIMER_SET_8733B BIT(31)
#define BIT_BF0_TIMER_CLR_8733B BIT(30)
#define BIT_EN_BF0_UPDATE_8733B BIT(29)
#define BIT_EN_BF0_TIMER_8733B BIT(28)

#define BIT_SHIFT_BF0_PRETIME_OVER_8733B 16
#define BIT_MASK_BF0_PRETIME_OVER_8733B 0xfff
#define BIT_BF0_PRETIME_OVER_8733B(x) (((x) & BIT_MASK_BF0_PRETIME_OVER_8733B) << BIT_SHIFT_BF0_PRETIME_OVER_8733B)
#define BITS_BF0_PRETIME_OVER_8733B (BIT_MASK_BF0_PRETIME_OVER_8733B << BIT_SHIFT_BF0_PRETIME_OVER_8733B)
#define BIT_CLEAR_BF0_PRETIME_OVER_8733B(x) ((x) & (~BITS_BF0_PRETIME_OVER_8733B))
#define BIT_GET_BF0_PRETIME_OVER_8733B(x) (((x) >> BIT_SHIFT_BF0_PRETIME_OVER_8733B) & BIT_MASK_BF0_PRETIME_OVER_8733B)
#define BIT_SET_BF0_PRETIME_OVER_8733B(x, v) (BIT_CLEAR_BF0_PRETIME_OVER_8733B(x) | BIT_BF0_PRETIME_OVER_8733B(v))

#define BIT_SHIFT_BF0_LIFETIME_8733B 0
#define BIT_MASK_BF0_LIFETIME_8733B 0xffff
#define BIT_BF0_LIFETIME_8733B(x) (((x) & BIT_MASK_BF0_LIFETIME_8733B) << BIT_SHIFT_BF0_LIFETIME_8733B)
#define BITS_BF0_LIFETIME_8733B (BIT_MASK_BF0_LIFETIME_8733B << BIT_SHIFT_BF0_LIFETIME_8733B)
#define BIT_CLEAR_BF0_LIFETIME_8733B(x) ((x) & (~BITS_BF0_LIFETIME_8733B))
#define BIT_GET_BF0_LIFETIME_8733B(x) (((x) >> BIT_SHIFT_BF0_LIFETIME_8733B) & BIT_MASK_BF0_LIFETIME_8733B)
#define BIT_SET_BF0_LIFETIME_8733B(x, v) (BIT_CLEAR_BF0_LIFETIME_8733B(x) | BIT_BF0_LIFETIME_8733B(v))

/* 2 REG_BF1_TIME_SETTING_8733B */
#define BIT_BF1_TIMER_SET_8733B BIT(31)
#define BIT_BF1_TIMER_CLR_8733B BIT(30)
#define BIT_EN_BF1_UPDATE_8733B BIT(29)
#define BIT_EN_BF1_TIMER_8733B BIT(28)

#define BIT_SHIFT_BF1_PRETIME_OVER_8733B 16
#define BIT_MASK_BF1_PRETIME_OVER_8733B 0xfff
#define BIT_BF1_PRETIME_OVER_8733B(x) (((x) & BIT_MASK_BF1_PRETIME_OVER_8733B) << BIT_SHIFT_BF1_PRETIME_OVER_8733B)
#define BITS_BF1_PRETIME_OVER_8733B (BIT_MASK_BF1_PRETIME_OVER_8733B << BIT_SHIFT_BF1_PRETIME_OVER_8733B)
#define BIT_CLEAR_BF1_PRETIME_OVER_8733B(x) ((x) & (~BITS_BF1_PRETIME_OVER_8733B))
#define BIT_GET_BF1_PRETIME_OVER_8733B(x) (((x) >> BIT_SHIFT_BF1_PRETIME_OVER_8733B) & BIT_MASK_BF1_PRETIME_OVER_8733B)
#define BIT_SET_BF1_PRETIME_OVER_8733B(x, v) (BIT_CLEAR_BF1_PRETIME_OVER_8733B(x) | BIT_BF1_PRETIME_OVER_8733B(v))

#define BIT_SHIFT_BF1_LIFETIME_8733B 0
#define BIT_MASK_BF1_LIFETIME_8733B 0xffff
#define BIT_BF1_LIFETIME_8733B(x) (((x) & BIT_MASK_BF1_LIFETIME_8733B) << BIT_SHIFT_BF1_LIFETIME_8733B)
#define BITS_BF1_LIFETIME_8733B (BIT_MASK_BF1_LIFETIME_8733B << BIT_SHIFT_BF1_LIFETIME_8733B)
#define BIT_CLEAR_BF1_LIFETIME_8733B(x) ((x) & (~BITS_BF1_LIFETIME_8733B))
#define BIT_GET_BF1_LIFETIME_8733B(x) (((x) >> BIT_SHIFT_BF1_LIFETIME_8733B) & BIT_MASK_BF1_LIFETIME_8733B)
#define BIT_SET_BF1_LIFETIME_8733B(x, v) (BIT_CLEAR_BF1_LIFETIME_8733B(x) | BIT_BF1_LIFETIME_8733B(v))

/* 2 REG_BF_TIMEOUT_EN_8733B */
#define BIT_EN_VHT_LDPC_8733B BIT(9)
#define BIT_EN_HT_LDPC_8733B BIT(8)
#define BIT_BF1_TIMEOUT_EN_8733B BIT(1)
#define BIT_BF0_TIMEOUT_EN_8733B BIT(0)

/* 2 REG_MACID_RELEASE0_8733B */

#define BIT_SHIFT_MACID31_0_RELEASE_8733B 0
#define BIT_MASK_MACID31_0_RELEASE_8733B 0xffffffffL
#define BIT_MACID31_0_RELEASE_8733B(x) (((x) & BIT_MASK_MACID31_0_RELEASE_8733B) << BIT_SHIFT_MACID31_0_RELEASE_8733B)
#define BITS_MACID31_0_RELEASE_8733B (BIT_MASK_MACID31_0_RELEASE_8733B << BIT_SHIFT_MACID31_0_RELEASE_8733B)
#define BIT_CLEAR_MACID31_0_RELEASE_8733B(x) ((x) & (~BITS_MACID31_0_RELEASE_8733B))
#define BIT_GET_MACID31_0_RELEASE_8733B(x) (((x) >> BIT_SHIFT_MACID31_0_RELEASE_8733B) & BIT_MASK_MACID31_0_RELEASE_8733B)
#define BIT_SET_MACID31_0_RELEASE_8733B(x, v) (BIT_CLEAR_MACID31_0_RELEASE_8733B(x) | BIT_MACID31_0_RELEASE_8733B(v))

/* 2 REG_MACID_RELEASE1_8733B */

#define BIT_SHIFT_MACID63_32_RELEASE_8733B 0
#define BIT_MASK_MACID63_32_RELEASE_8733B 0xffffffffL
#define BIT_MACID63_32_RELEASE_8733B(x) (((x) & BIT_MASK_MACID63_32_RELEASE_8733B) << BIT_SHIFT_MACID63_32_RELEASE_8733B)
#define BITS_MACID63_32_RELEASE_8733B (BIT_MASK_MACID63_32_RELEASE_8733B << BIT_SHIFT_MACID63_32_RELEASE_8733B)
#define BIT_CLEAR_MACID63_32_RELEASE_8733B(x) ((x) & (~BITS_MACID63_32_RELEASE_8733B))
#define BIT_GET_MACID63_32_RELEASE_8733B(x) (((x) >> BIT_SHIFT_MACID63_32_RELEASE_8733B) & BIT_MASK_MACID63_32_RELEASE_8733B)
#define BIT_SET_MACID63_32_RELEASE_8733B(x, v) (BIT_CLEAR_MACID63_32_RELEASE_8733B(x) | BIT_MACID63_32_RELEASE_8733B(v))

/* 2 REG_MACID_RELEASE2_8733B */

#define BIT_SHIFT_MACID95_64_RELEASE_8733B 0
#define BIT_MASK_MACID95_64_RELEASE_8733B 0xffffffffL
#define BIT_MACID95_64_RELEASE_8733B(x) (((x) & BIT_MASK_MACID95_64_RELEASE_8733B) << BIT_SHIFT_MACID95_64_RELEASE_8733B)
#define BITS_MACID95_64_RELEASE_8733B (BIT_MASK_MACID95_64_RELEASE_8733B << BIT_SHIFT_MACID95_64_RELEASE_8733B)
#define BIT_CLEAR_MACID95_64_RELEASE_8733B(x) ((x) & (~BITS_MACID95_64_RELEASE_8733B))
#define BIT_GET_MACID95_64_RELEASE_8733B(x) (((x) >> BIT_SHIFT_MACID95_64_RELEASE_8733B) & BIT_MASK_MACID95_64_RELEASE_8733B)
#define BIT_SET_MACID95_64_RELEASE_8733B(x, v) (BIT_CLEAR_MACID95_64_RELEASE_8733B(x) | BIT_MACID95_64_RELEASE_8733B(v))

/* 2 REG_MACID_RELEASE3_8733B */

#define BIT_SHIFT_MACID127_96_RELEASE_8733B 0
#define BIT_MASK_MACID127_96_RELEASE_8733B 0xffffffffL
#define BIT_MACID127_96_RELEASE_8733B(x) (((x) & BIT_MASK_MACID127_96_RELEASE_8733B) << BIT_SHIFT_MACID127_96_RELEASE_8733B)
#define BITS_MACID127_96_RELEASE_8733B (BIT_MASK_MACID127_96_RELEASE_8733B << BIT_SHIFT_MACID127_96_RELEASE_8733B)
#define BIT_CLEAR_MACID127_96_RELEASE_8733B(x) ((x) & (~BITS_MACID127_96_RELEASE_8733B))
#define BIT_GET_MACID127_96_RELEASE_8733B(x) (((x) >> BIT_SHIFT_MACID127_96_RELEASE_8733B) & BIT_MASK_MACID127_96_RELEASE_8733B)
#define BIT_SET_MACID127_96_RELEASE_8733B(x, v) (BIT_CLEAR_MACID127_96_RELEASE_8733B(x) | BIT_MACID127_96_RELEASE_8733B(v))

/* 2 REG_MACID_RELEASE_SETTING_8733B */
#define BIT_MACID_VALUE_8733B BIT(7)

#define BIT_SHIFT_MACID_OFFSET_8733B 0
#define BIT_MASK_MACID_OFFSET_8733B 0x7f
#define BIT_MACID_OFFSET_8733B(x) (((x) & BIT_MASK_MACID_OFFSET_8733B) << BIT_SHIFT_MACID_OFFSET_8733B)
#define BITS_MACID_OFFSET_8733B (BIT_MASK_MACID_OFFSET_8733B << BIT_SHIFT_MACID_OFFSET_8733B)
#define BIT_CLEAR_MACID_OFFSET_8733B(x) ((x) & (~BITS_MACID_OFFSET_8733B))
#define BIT_GET_MACID_OFFSET_8733B(x) (((x) >> BIT_SHIFT_MACID_OFFSET_8733B) & BIT_MASK_MACID_OFFSET_8733B)
#define BIT_SET_MACID_OFFSET_8733B(x, v) (BIT_CLEAR_MACID_OFFSET_8733B(x) | BIT_MACID_OFFSET_8733B(v))

/* 2 REG_FAST_EDCA_VOVI_SETTING_8733B */

#define BIT_SHIFT_VI_FAST_EDCA_TO_8733B 24
#define BIT_MASK_VI_FAST_EDCA_TO_8733B 0xff
#define BIT_VI_FAST_EDCA_TO_8733B(x) (((x) & BIT_MASK_VI_FAST_EDCA_TO_8733B) << BIT_SHIFT_VI_FAST_EDCA_TO_8733B)
#define BITS_VI_FAST_EDCA_TO_8733B (BIT_MASK_VI_FAST_EDCA_TO_8733B << BIT_SHIFT_VI_FAST_EDCA_TO_8733B)
#define BIT_CLEAR_VI_FAST_EDCA_TO_8733B(x) ((x) & (~BITS_VI_FAST_EDCA_TO_8733B))
#define BIT_GET_VI_FAST_EDCA_TO_8733B(x) (((x) >> BIT_SHIFT_VI_FAST_EDCA_TO_8733B) & BIT_MASK_VI_FAST_EDCA_TO_8733B)
#define BIT_SET_VI_FAST_EDCA_TO_8733B(x, v) (BIT_CLEAR_VI_FAST_EDCA_TO_8733B(x) | BIT_VI_FAST_EDCA_TO_8733B(v))

#define BIT_VI_THRESHOLD_SEL_8733B BIT(23)

#define BIT_SHIFT_VI_FAST_EDCA_PKT_TH_8733B 16
#define BIT_MASK_VI_FAST_EDCA_PKT_TH_8733B 0x7f
#define BIT_VI_FAST_EDCA_PKT_TH_8733B(x) (((x) & BIT_MASK_VI_FAST_EDCA_PKT_TH_8733B) << BIT_SHIFT_VI_FAST_EDCA_PKT_TH_8733B)
#define BITS_VI_FAST_EDCA_PKT_TH_8733B (BIT_MASK_VI_FAST_EDCA_PKT_TH_8733B << BIT_SHIFT_VI_FAST_EDCA_PKT_TH_8733B)
#define BIT_CLEAR_VI_FAST_EDCA_PKT_TH_8733B(x) ((x) & (~BITS_VI_FAST_EDCA_PKT_TH_8733B))
#define BIT_GET_VI_FAST_EDCA_PKT_TH_8733B(x) (((x) >> BIT_SHIFT_VI_FAST_EDCA_PKT_TH_8733B) & BIT_MASK_VI_FAST_EDCA_PKT_TH_8733B)
#define BIT_SET_VI_FAST_EDCA_PKT_TH_8733B(x, v) (BIT_CLEAR_VI_FAST_EDCA_PKT_TH_8733B(x) | BIT_VI_FAST_EDCA_PKT_TH_8733B(v))

#define BIT_SHIFT_VO_FAST_EDCA_TO_8733B 8
#define BIT_MASK_VO_FAST_EDCA_TO_8733B 0xff
#define BIT_VO_FAST_EDCA_TO_8733B(x) (((x) & BIT_MASK_VO_FAST_EDCA_TO_8733B) << BIT_SHIFT_VO_FAST_EDCA_TO_8733B)
#define BITS_VO_FAST_EDCA_TO_8733B (BIT_MASK_VO_FAST_EDCA_TO_8733B << BIT_SHIFT_VO_FAST_EDCA_TO_8733B)
#define BIT_CLEAR_VO_FAST_EDCA_TO_8733B(x) ((x) & (~BITS_VO_FAST_EDCA_TO_8733B))
#define BIT_GET_VO_FAST_EDCA_TO_8733B(x) (((x) >> BIT_SHIFT_VO_FAST_EDCA_TO_8733B) & BIT_MASK_VO_FAST_EDCA_TO_8733B)
#define BIT_SET_VO_FAST_EDCA_TO_8733B(x, v) (BIT_CLEAR_VO_FAST_EDCA_TO_8733B(x) | BIT_VO_FAST_EDCA_TO_8733B(v))

#define BIT_VO_THRESHOLD_SEL_8733B BIT(7)

#define BIT_SHIFT_VO_FAST_EDCA_PKT_TH_8733B 0
#define BIT_MASK_VO_FAST_EDCA_PKT_TH_8733B 0x7f
#define BIT_VO_FAST_EDCA_PKT_TH_8733B(x) (((x) & BIT_MASK_VO_FAST_EDCA_PKT_TH_8733B) << BIT_SHIFT_VO_FAST_EDCA_PKT_TH_8733B)
#define BITS_VO_FAST_EDCA_PKT_TH_8733B (BIT_MASK_VO_FAST_EDCA_PKT_TH_8733B << BIT_SHIFT_VO_FAST_EDCA_PKT_TH_8733B)
#define BIT_CLEAR_VO_FAST_EDCA_PKT_TH_8733B(x) ((x) & (~BITS_VO_FAST_EDCA_PKT_TH_8733B))
#define BIT_GET_VO_FAST_EDCA_PKT_TH_8733B(x) (((x) >> BIT_SHIFT_VO_FAST_EDCA_PKT_TH_8733B) & BIT_MASK_VO_FAST_EDCA_PKT_TH_8733B)
#define BIT_SET_VO_FAST_EDCA_PKT_TH_8733B(x, v) (BIT_CLEAR_VO_FAST_EDCA_PKT_TH_8733B(x) | BIT_VO_FAST_EDCA_PKT_TH_8733B(v))

/* 2 REG_FAST_EDCA_BEBK_SETTING_8733B */

#define BIT_SHIFT_BK_FAST_EDCA_TO_8733B 24
#define BIT_MASK_BK_FAST_EDCA_TO_8733B 0xff
#define BIT_BK_FAST_EDCA_TO_8733B(x) (((x) & BIT_MASK_BK_FAST_EDCA_TO_8733B) << BIT_SHIFT_BK_FAST_EDCA_TO_8733B)
#define BITS_BK_FAST_EDCA_TO_8733B (BIT_MASK_BK_FAST_EDCA_TO_8733B << BIT_SHIFT_BK_FAST_EDCA_TO_8733B)
#define BIT_CLEAR_BK_FAST_EDCA_TO_8733B(x) ((x) & (~BITS_BK_FAST_EDCA_TO_8733B))
#define BIT_GET_BK_FAST_EDCA_TO_8733B(x) (((x) >> BIT_SHIFT_BK_FAST_EDCA_TO_8733B) & BIT_MASK_BK_FAST_EDCA_TO_8733B)
#define BIT_SET_BK_FAST_EDCA_TO_8733B(x, v) (BIT_CLEAR_BK_FAST_EDCA_TO_8733B(x) | BIT_BK_FAST_EDCA_TO_8733B(v))

#define BIT_BK_THRESHOLD_SEL_8733B BIT(23)

#define BIT_SHIFT_BK_FAST_EDCA_PKT_TH_8733B 16
#define BIT_MASK_BK_FAST_EDCA_PKT_TH_8733B 0x7f
#define BIT_BK_FAST_EDCA_PKT_TH_8733B(x) (((x) & BIT_MASK_BK_FAST_EDCA_PKT_TH_8733B) << BIT_SHIFT_BK_FAST_EDCA_PKT_TH_8733B)
#define BITS_BK_FAST_EDCA_PKT_TH_8733B (BIT_MASK_BK_FAST_EDCA_PKT_TH_8733B << BIT_SHIFT_BK_FAST_EDCA_PKT_TH_8733B)
#define BIT_CLEAR_BK_FAST_EDCA_PKT_TH_8733B(x) ((x) & (~BITS_BK_FAST_EDCA_PKT_TH_8733B))
#define BIT_GET_BK_FAST_EDCA_PKT_TH_8733B(x) (((x) >> BIT_SHIFT_BK_FAST_EDCA_PKT_TH_8733B) & BIT_MASK_BK_FAST_EDCA_PKT_TH_8733B)
#define BIT_SET_BK_FAST_EDCA_PKT_TH_8733B(x, v) (BIT_CLEAR_BK_FAST_EDCA_PKT_TH_8733B(x) | BIT_BK_FAST_EDCA_PKT_TH_8733B(v))

#define BIT_SHIFT_BE_FAST_EDCA_TO_8733B 8
#define BIT_MASK_BE_FAST_EDCA_TO_8733B 0xff
#define BIT_BE_FAST_EDCA_TO_8733B(x) (((x) & BIT_MASK_BE_FAST_EDCA_TO_8733B) << BIT_SHIFT_BE_FAST_EDCA_TO_8733B)
#define BITS_BE_FAST_EDCA_TO_8733B (BIT_MASK_BE_FAST_EDCA_TO_8733B << BIT_SHIFT_BE_FAST_EDCA_TO_8733B)
#define BIT_CLEAR_BE_FAST_EDCA_TO_8733B(x) ((x) & (~BITS_BE_FAST_EDCA_TO_8733B))
#define BIT_GET_BE_FAST_EDCA_TO_8733B(x) (((x) >> BIT_SHIFT_BE_FAST_EDCA_TO_8733B) & BIT_MASK_BE_FAST_EDCA_TO_8733B)
#define BIT_SET_BE_FAST_EDCA_TO_8733B(x, v) (BIT_CLEAR_BE_FAST_EDCA_TO_8733B(x) | BIT_BE_FAST_EDCA_TO_8733B(v))

#define BIT_BE_THRESHOLD_SEL_8733B BIT(7)

#define BIT_SHIFT_BE_FAST_EDCA_PKT_TH_8733B 0
#define BIT_MASK_BE_FAST_EDCA_PKT_TH_8733B 0x7f
#define BIT_BE_FAST_EDCA_PKT_TH_8733B(x) (((x) & BIT_MASK_BE_FAST_EDCA_PKT_TH_8733B) << BIT_SHIFT_BE_FAST_EDCA_PKT_TH_8733B)
#define BITS_BE_FAST_EDCA_PKT_TH_8733B (BIT_MASK_BE_FAST_EDCA_PKT_TH_8733B << BIT_SHIFT_BE_FAST_EDCA_PKT_TH_8733B)
#define BIT_CLEAR_BE_FAST_EDCA_PKT_TH_8733B(x) ((x) & (~BITS_BE_FAST_EDCA_PKT_TH_8733B))
#define BIT_GET_BE_FAST_EDCA_PKT_TH_8733B(x) (((x) >> BIT_SHIFT_BE_FAST_EDCA_PKT_TH_8733B) & BIT_MASK_BE_FAST_EDCA_PKT_TH_8733B)
#define BIT_SET_BE_FAST_EDCA_PKT_TH_8733B(x, v) (BIT_CLEAR_BE_FAST_EDCA_PKT_TH_8733B(x) | BIT_BE_FAST_EDCA_PKT_TH_8733B(v))

/* 2 REG_MACID_DROP0_8733B */

#define BIT_SHIFT_MACID31_0_DROP_8733B 0
#define BIT_MASK_MACID31_0_DROP_8733B 0xffffffffL
#define BIT_MACID31_0_DROP_8733B(x) (((x) & BIT_MASK_MACID31_0_DROP_8733B) << BIT_SHIFT_MACID31_0_DROP_8733B)
#define BITS_MACID31_0_DROP_8733B (BIT_MASK_MACID31_0_DROP_8733B << BIT_SHIFT_MACID31_0_DROP_8733B)
#define BIT_CLEAR_MACID31_0_DROP_8733B(x) ((x) & (~BITS_MACID31_0_DROP_8733B))
#define BIT_GET_MACID31_0_DROP_8733B(x) (((x) >> BIT_SHIFT_MACID31_0_DROP_8733B) & BIT_MASK_MACID31_0_DROP_8733B)
#define BIT_SET_MACID31_0_DROP_8733B(x, v) (BIT_CLEAR_MACID31_0_DROP_8733B(x) | BIT_MACID31_0_DROP_8733B(v))

/* 2 REG_MACID_DROP1_8733B */

#define BIT_SHIFT_MACID63_32_DROP_8733B 0
#define BIT_MASK_MACID63_32_DROP_8733B 0xffffffffL
#define BIT_MACID63_32_DROP_8733B(x) (((x) & BIT_MASK_MACID63_32_DROP_8733B) << BIT_SHIFT_MACID63_32_DROP_8733B)
#define BITS_MACID63_32_DROP_8733B (BIT_MASK_MACID63_32_DROP_8733B << BIT_SHIFT_MACID63_32_DROP_8733B)
#define BIT_CLEAR_MACID63_32_DROP_8733B(x) ((x) & (~BITS_MACID63_32_DROP_8733B))
#define BIT_GET_MACID63_32_DROP_8733B(x) (((x) >> BIT_SHIFT_MACID63_32_DROP_8733B) & BIT_MASK_MACID63_32_DROP_8733B)
#define BIT_SET_MACID63_32_DROP_8733B(x, v) (BIT_CLEAR_MACID63_32_DROP_8733B(x) | BIT_MACID63_32_DROP_8733B(v))

/* 2 REG_MACID_DROP2_8733B */

#define BIT_SHIFT_MACID95_64_DROP_8733B 0
#define BIT_MASK_MACID95_64_DROP_8733B 0xffffffffL
#define BIT_MACID95_64_DROP_8733B(x) (((x) & BIT_MASK_MACID95_64_DROP_8733B) << BIT_SHIFT_MACID95_64_DROP_8733B)
#define BITS_MACID95_64_DROP_8733B (BIT_MASK_MACID95_64_DROP_8733B << BIT_SHIFT_MACID95_64_DROP_8733B)
#define BIT_CLEAR_MACID95_64_DROP_8733B(x) ((x) & (~BITS_MACID95_64_DROP_8733B))
#define BIT_GET_MACID95_64_DROP_8733B(x) (((x) >> BIT_SHIFT_MACID95_64_DROP_8733B) & BIT_MASK_MACID95_64_DROP_8733B)
#define BIT_SET_MACID95_64_DROP_8733B(x, v) (BIT_CLEAR_MACID95_64_DROP_8733B(x) | BIT_MACID95_64_DROP_8733B(v))

/* 2 REG_MACID_DROP3_8733B */

#define BIT_SHIFT_MACID127_96_DROP_8733B 0
#define BIT_MASK_MACID127_96_DROP_8733B 0xffffffffL
#define BIT_MACID127_96_DROP_8733B(x) (((x) & BIT_MASK_MACID127_96_DROP_8733B) << BIT_SHIFT_MACID127_96_DROP_8733B)
#define BITS_MACID127_96_DROP_8733B (BIT_MASK_MACID127_96_DROP_8733B << BIT_SHIFT_MACID127_96_DROP_8733B)
#define BIT_CLEAR_MACID127_96_DROP_8733B(x) ((x) & (~BITS_MACID127_96_DROP_8733B))
#define BIT_GET_MACID127_96_DROP_8733B(x) (((x) >> BIT_SHIFT_MACID127_96_DROP_8733B) & BIT_MASK_MACID127_96_DROP_8733B)
#define BIT_SET_MACID127_96_DROP_8733B(x, v) (BIT_CLEAR_MACID127_96_DROP_8733B(x) | BIT_MACID127_96_DROP_8733B(v))

/* 2 REG_R_MACID_RELEASE_SUCCESS_0_8733B */

#define BIT_SHIFT_R_MACID_RELEASE_SUCCESS_0_8733B 0
#define BIT_MASK_R_MACID_RELEASE_SUCCESS_0_8733B 0xffffffffL
#define BIT_R_MACID_RELEASE_SUCCESS_0_8733B(x) (((x) & BIT_MASK_R_MACID_RELEASE_SUCCESS_0_8733B) << BIT_SHIFT_R_MACID_RELEASE_SUCCESS_0_8733B)
#define BITS_R_MACID_RELEASE_SUCCESS_0_8733B (BIT_MASK_R_MACID_RELEASE_SUCCESS_0_8733B << BIT_SHIFT_R_MACID_RELEASE_SUCCESS_0_8733B)
#define BIT_CLEAR_R_MACID_RELEASE_SUCCESS_0_8733B(x) ((x) & (~BITS_R_MACID_RELEASE_SUCCESS_0_8733B))
#define BIT_GET_R_MACID_RELEASE_SUCCESS_0_8733B(x) (((x) >> BIT_SHIFT_R_MACID_RELEASE_SUCCESS_0_8733B) & BIT_MASK_R_MACID_RELEASE_SUCCESS_0_8733B)
#define BIT_SET_R_MACID_RELEASE_SUCCESS_0_8733B(x, v) (BIT_CLEAR_R_MACID_RELEASE_SUCCESS_0_8733B(x) | BIT_R_MACID_RELEASE_SUCCESS_0_8733B(v))

/* 2 REG_R_MACID_RELEASE_SUCCESS_1_8733B */

#define BIT_SHIFT_R_MACID_RELEASE_SUCCESS_1_8733B 0
#define BIT_MASK_R_MACID_RELEASE_SUCCESS_1_8733B 0xffffffffL
#define BIT_R_MACID_RELEASE_SUCCESS_1_8733B(x) (((x) & BIT_MASK_R_MACID_RELEASE_SUCCESS_1_8733B) << BIT_SHIFT_R_MACID_RELEASE_SUCCESS_1_8733B)
#define BITS_R_MACID_RELEASE_SUCCESS_1_8733B (BIT_MASK_R_MACID_RELEASE_SUCCESS_1_8733B << BIT_SHIFT_R_MACID_RELEASE_SUCCESS_1_8733B)
#define BIT_CLEAR_R_MACID_RELEASE_SUCCESS_1_8733B(x) ((x) & (~BITS_R_MACID_RELEASE_SUCCESS_1_8733B))
#define BIT_GET_R_MACID_RELEASE_SUCCESS_1_8733B(x) (((x) >> BIT_SHIFT_R_MACID_RELEASE_SUCCESS_1_8733B) & BIT_MASK_R_MACID_RELEASE_SUCCESS_1_8733B)
#define BIT_SET_R_MACID_RELEASE_SUCCESS_1_8733B(x, v) (BIT_CLEAR_R_MACID_RELEASE_SUCCESS_1_8733B(x) | BIT_R_MACID_RELEASE_SUCCESS_1_8733B(v))

/* 2 REG_R_MACID_RELEASE_SUCCESS_2_8733B */

#define BIT_SHIFT_R_MACID_RELEASE_SUCCESS_2_8733B 0
#define BIT_MASK_R_MACID_RELEASE_SUCCESS_2_8733B 0xffffffffL
#define BIT_R_MACID_RELEASE_SUCCESS_2_8733B(x) (((x) & BIT_MASK_R_MACID_RELEASE_SUCCESS_2_8733B) << BIT_SHIFT_R_MACID_RELEASE_SUCCESS_2_8733B)
#define BITS_R_MACID_RELEASE_SUCCESS_2_8733B (BIT_MASK_R_MACID_RELEASE_SUCCESS_2_8733B << BIT_SHIFT_R_MACID_RELEASE_SUCCESS_2_8733B)
#define BIT_CLEAR_R_MACID_RELEASE_SUCCESS_2_8733B(x) ((x) & (~BITS_R_MACID_RELEASE_SUCCESS_2_8733B))
#define BIT_GET_R_MACID_RELEASE_SUCCESS_2_8733B(x) (((x) >> BIT_SHIFT_R_MACID_RELEASE_SUCCESS_2_8733B) & BIT_MASK_R_MACID_RELEASE_SUCCESS_2_8733B)
#define BIT_SET_R_MACID_RELEASE_SUCCESS_2_8733B(x, v) (BIT_CLEAR_R_MACID_RELEASE_SUCCESS_2_8733B(x) | BIT_R_MACID_RELEASE_SUCCESS_2_8733B(v))

/* 2 REG_R_MACID_RELEASE_SUCCESS_3_8733B */

#define BIT_SHIFT_R_MACID_RELEASE_SUCCESS_3_8733B 0
#define BIT_MASK_R_MACID_RELEASE_SUCCESS_3_8733B 0xffffffffL
#define BIT_R_MACID_RELEASE_SUCCESS_3_8733B(x) (((x) & BIT_MASK_R_MACID_RELEASE_SUCCESS_3_8733B) << BIT_SHIFT_R_MACID_RELEASE_SUCCESS_3_8733B)
#define BITS_R_MACID_RELEASE_SUCCESS_3_8733B (BIT_MASK_R_MACID_RELEASE_SUCCESS_3_8733B << BIT_SHIFT_R_MACID_RELEASE_SUCCESS_3_8733B)
#define BIT_CLEAR_R_MACID_RELEASE_SUCCESS_3_8733B(x) ((x) & (~BITS_R_MACID_RELEASE_SUCCESS_3_8733B))
#define BIT_GET_R_MACID_RELEASE_SUCCESS_3_8733B(x) (((x) >> BIT_SHIFT_R_MACID_RELEASE_SUCCESS_3_8733B) & BIT_MASK_R_MACID_RELEASE_SUCCESS_3_8733B)
#define BIT_SET_R_MACID_RELEASE_SUCCESS_3_8733B(x, v) (BIT_CLEAR_R_MACID_RELEASE_SUCCESS_3_8733B(x) | BIT_R_MACID_RELEASE_SUCCESS_3_8733B(v))

/* 2 REG_MGQ_FIFO_WRITE_POINTER_8733B */
#define BIT_MGQ_FIFO_OV_8733B BIT(7)
#define BIT_MGQ_FIFO_WPTR_ERR_8733B BIT(6)
#define BIT_CPUM_LIFETIME_EN_8733B BIT(5)

#define BIT_SHIFT_MGQ_FIFO_WPTR_8733B 0
#define BIT_MASK_MGQ_FIFO_WPTR_8733B 0x1f
#define BIT_MGQ_FIFO_WPTR_8733B(x) (((x) & BIT_MASK_MGQ_FIFO_WPTR_8733B) << BIT_SHIFT_MGQ_FIFO_WPTR_8733B)
#define BITS_MGQ_FIFO_WPTR_8733B (BIT_MASK_MGQ_FIFO_WPTR_8733B << BIT_SHIFT_MGQ_FIFO_WPTR_8733B)
#define BIT_CLEAR_MGQ_FIFO_WPTR_8733B(x) ((x) & (~BITS_MGQ_FIFO_WPTR_8733B))
#define BIT_GET_MGQ_FIFO_WPTR_8733B(x) (((x) >> BIT_SHIFT_MGQ_FIFO_WPTR_8733B) & BIT_MASK_MGQ_FIFO_WPTR_8733B)
#define BIT_SET_MGQ_FIFO_WPTR_8733B(x, v) (BIT_CLEAR_MGQ_FIFO_WPTR_8733B(x) | BIT_MGQ_FIFO_WPTR_8733B(v))

/* 2 REG_MGQ_FIFO_READ_POINTER_8733B */

#define BIT_SHIFT_MGQ_FIFO_SIZE_8733B 6
#define BIT_MASK_MGQ_FIFO_SIZE_8733B 0x3
#define BIT_MGQ_FIFO_SIZE_8733B(x) (((x) & BIT_MASK_MGQ_FIFO_SIZE_8733B) << BIT_SHIFT_MGQ_FIFO_SIZE_8733B)
#define BITS_MGQ_FIFO_SIZE_8733B (BIT_MASK_MGQ_FIFO_SIZE_8733B << BIT_SHIFT_MGQ_FIFO_SIZE_8733B)
#define BIT_CLEAR_MGQ_FIFO_SIZE_8733B(x) ((x) & (~BITS_MGQ_FIFO_SIZE_8733B))
#define BIT_GET_MGQ_FIFO_SIZE_8733B(x) (((x) >> BIT_SHIFT_MGQ_FIFO_SIZE_8733B) & BIT_MASK_MGQ_FIFO_SIZE_8733B)
#define BIT_SET_MGQ_FIFO_SIZE_8733B(x, v) (BIT_CLEAR_MGQ_FIFO_SIZE_8733B(x) | BIT_MGQ_FIFO_SIZE_8733B(v))

#define BIT_MGQ_FIFO_PAUSE_8733B BIT(5)

#define BIT_SHIFT_MGQ_FIFO_RPTR_8733B 0
#define BIT_MASK_MGQ_FIFO_RPTR_8733B 0x1f
#define BIT_MGQ_FIFO_RPTR_8733B(x) (((x) & BIT_MASK_MGQ_FIFO_RPTR_8733B) << BIT_SHIFT_MGQ_FIFO_RPTR_8733B)
#define BITS_MGQ_FIFO_RPTR_8733B (BIT_MASK_MGQ_FIFO_RPTR_8733B << BIT_SHIFT_MGQ_FIFO_RPTR_8733B)
#define BIT_CLEAR_MGQ_FIFO_RPTR_8733B(x) ((x) & (~BITS_MGQ_FIFO_RPTR_8733B))
#define BIT_GET_MGQ_FIFO_RPTR_8733B(x) (((x) >> BIT_SHIFT_MGQ_FIFO_RPTR_8733B) & BIT_MASK_MGQ_FIFO_RPTR_8733B)
#define BIT_SET_MGQ_FIFO_RPTR_8733B(x, v) (BIT_CLEAR_MGQ_FIFO_RPTR_8733B(x) | BIT_MGQ_FIFO_RPTR_8733B(v))

/* 2 REG_MGQ_FIFO_ENABLE_8733B */
#define BIT_MGQ_FIFO_EN_8733B BIT(15)

#define BIT_SHIFT_MGQ_FIFO_PG_SIZE_8733B 12
#define BIT_MASK_MGQ_FIFO_PG_SIZE_8733B 0x7
#define BIT_MGQ_FIFO_PG_SIZE_8733B(x) (((x) & BIT_MASK_MGQ_FIFO_PG_SIZE_8733B) << BIT_SHIFT_MGQ_FIFO_PG_SIZE_8733B)
#define BITS_MGQ_FIFO_PG_SIZE_8733B (BIT_MASK_MGQ_FIFO_PG_SIZE_8733B << BIT_SHIFT_MGQ_FIFO_PG_SIZE_8733B)
#define BIT_CLEAR_MGQ_FIFO_PG_SIZE_8733B(x) ((x) & (~BITS_MGQ_FIFO_PG_SIZE_8733B))
#define BIT_GET_MGQ_FIFO_PG_SIZE_8733B(x) (((x) >> BIT_SHIFT_MGQ_FIFO_PG_SIZE_8733B) & BIT_MASK_MGQ_FIFO_PG_SIZE_8733B)
#define BIT_SET_MGQ_FIFO_PG_SIZE_8733B(x, v) (BIT_CLEAR_MGQ_FIFO_PG_SIZE_8733B(x) | BIT_MGQ_FIFO_PG_SIZE_8733B(v))

#define BIT_SHIFT_MGQ_FIFO_START_PG_8733B 0
#define BIT_MASK_MGQ_FIFO_START_PG_8733B 0xfff
#define BIT_MGQ_FIFO_START_PG_8733B(x) (((x) & BIT_MASK_MGQ_FIFO_START_PG_8733B) << BIT_SHIFT_MGQ_FIFO_START_PG_8733B)
#define BITS_MGQ_FIFO_START_PG_8733B (BIT_MASK_MGQ_FIFO_START_PG_8733B << BIT_SHIFT_MGQ_FIFO_START_PG_8733B)
#define BIT_CLEAR_MGQ_FIFO_START_PG_8733B(x) ((x) & (~BITS_MGQ_FIFO_START_PG_8733B))
#define BIT_GET_MGQ_FIFO_START_PG_8733B(x) (((x) >> BIT_SHIFT_MGQ_FIFO_START_PG_8733B) & BIT_MASK_MGQ_FIFO_START_PG_8733B)
#define BIT_SET_MGQ_FIFO_START_PG_8733B(x, v) (BIT_CLEAR_MGQ_FIFO_START_PG_8733B(x) | BIT_MGQ_FIFO_START_PG_8733B(v))

/* 2 REG_MGQ_FIFO_RELEASE_INT_MASK_8733B */

#define BIT_SHIFT_MGQ_FIFO_INT_MASK_8733B 0
#define BIT_MASK_MGQ_FIFO_INT_MASK_8733B 0xffff
#define BIT_MGQ_FIFO_INT_MASK_8733B(x) (((x) & BIT_MASK_MGQ_FIFO_INT_MASK_8733B) << BIT_SHIFT_MGQ_FIFO_INT_MASK_8733B)
#define BITS_MGQ_FIFO_INT_MASK_8733B (BIT_MASK_MGQ_FIFO_INT_MASK_8733B << BIT_SHIFT_MGQ_FIFO_INT_MASK_8733B)
#define BIT_CLEAR_MGQ_FIFO_INT_MASK_8733B(x) ((x) & (~BITS_MGQ_FIFO_INT_MASK_8733B))
#define BIT_GET_MGQ_FIFO_INT_MASK_8733B(x) (((x) >> BIT_SHIFT_MGQ_FIFO_INT_MASK_8733B) & BIT_MASK_MGQ_FIFO_INT_MASK_8733B)
#define BIT_SET_MGQ_FIFO_INT_MASK_8733B(x, v) (BIT_CLEAR_MGQ_FIFO_INT_MASK_8733B(x) | BIT_MGQ_FIFO_INT_MASK_8733B(v))

/* 2 REG_MGQ_FIFO_RELEASE_INT_FLAG_8733B */

#define BIT_SHIFT_MGQ_FIFO_INT_FLAG_8733B 0
#define BIT_MASK_MGQ_FIFO_INT_FLAG_8733B 0xffff
#define BIT_MGQ_FIFO_INT_FLAG_8733B(x) (((x) & BIT_MASK_MGQ_FIFO_INT_FLAG_8733B) << BIT_SHIFT_MGQ_FIFO_INT_FLAG_8733B)
#define BITS_MGQ_FIFO_INT_FLAG_8733B (BIT_MASK_MGQ_FIFO_INT_FLAG_8733B << BIT_SHIFT_MGQ_FIFO_INT_FLAG_8733B)
#define BIT_CLEAR_MGQ_FIFO_INT_FLAG_8733B(x) ((x) & (~BITS_MGQ_FIFO_INT_FLAG_8733B))
#define BIT_GET_MGQ_FIFO_INT_FLAG_8733B(x) (((x) >> BIT_SHIFT_MGQ_FIFO_INT_FLAG_8733B) & BIT_MASK_MGQ_FIFO_INT_FLAG_8733B)
#define BIT_SET_MGQ_FIFO_INT_FLAG_8733B(x, v) (BIT_CLEAR_MGQ_FIFO_INT_FLAG_8733B(x) | BIT_MGQ_FIFO_INT_FLAG_8733B(v))

/* 2 REG_MGQ_FIFO_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

#define BIT_SHIFT_MGQ_FIFO_VALID_CLR_1_8733B 8
#define BIT_MASK_MGQ_FIFO_VALID_CLR_1_8733B 0xff
#define BIT_MGQ_FIFO_VALID_CLR_1_8733B(x) (((x) & BIT_MASK_MGQ_FIFO_VALID_CLR_1_8733B) << BIT_SHIFT_MGQ_FIFO_VALID_CLR_1_8733B)
#define BITS_MGQ_FIFO_VALID_CLR_1_8733B (BIT_MASK_MGQ_FIFO_VALID_CLR_1_8733B << BIT_SHIFT_MGQ_FIFO_VALID_CLR_1_8733B)
#define BIT_CLEAR_MGQ_FIFO_VALID_CLR_1_8733B(x) ((x) & (~BITS_MGQ_FIFO_VALID_CLR_1_8733B))
#define BIT_GET_MGQ_FIFO_VALID_CLR_1_8733B(x) (((x) >> BIT_SHIFT_MGQ_FIFO_VALID_CLR_1_8733B) & BIT_MASK_MGQ_FIFO_VALID_CLR_1_8733B)
#define BIT_SET_MGQ_FIFO_VALID_CLR_1_8733B(x, v) (BIT_CLEAR_MGQ_FIFO_VALID_CLR_1_8733B(x) | BIT_MGQ_FIFO_VALID_CLR_1_8733B(v))

#define BIT_SHIFT_MGQ_FIFO_VALID_CLR_0_8733B 0
#define BIT_MASK_MGQ_FIFO_VALID_CLR_0_8733B 0xff
#define BIT_MGQ_FIFO_VALID_CLR_0_8733B(x) (((x) & BIT_MASK_MGQ_FIFO_VALID_CLR_0_8733B) << BIT_SHIFT_MGQ_FIFO_VALID_CLR_0_8733B)
#define BITS_MGQ_FIFO_VALID_CLR_0_8733B (BIT_MASK_MGQ_FIFO_VALID_CLR_0_8733B << BIT_SHIFT_MGQ_FIFO_VALID_CLR_0_8733B)
#define BIT_CLEAR_MGQ_FIFO_VALID_CLR_0_8733B(x) ((x) & (~BITS_MGQ_FIFO_VALID_CLR_0_8733B))
#define BIT_GET_MGQ_FIFO_VALID_CLR_0_8733B(x) (((x) >> BIT_SHIFT_MGQ_FIFO_VALID_CLR_0_8733B) & BIT_MASK_MGQ_FIFO_VALID_CLR_0_8733B)
#define BIT_SET_MGQ_FIFO_VALID_CLR_0_8733B(x, v) (BIT_CLEAR_MGQ_FIFO_VALID_CLR_0_8733B(x) | BIT_MGQ_FIFO_VALID_CLR_0_8733B(v))

/* 2 REG_MGQ_FIFO_LIFETIME_8733B */

#define BIT_SHIFT_MGQ_FIFO_LIFETIME_8733B 0
#define BIT_MASK_MGQ_FIFO_LIFETIME_8733B 0xffff
#define BIT_MGQ_FIFO_LIFETIME_8733B(x) (((x) & BIT_MASK_MGQ_FIFO_LIFETIME_8733B) << BIT_SHIFT_MGQ_FIFO_LIFETIME_8733B)
#define BITS_MGQ_FIFO_LIFETIME_8733B (BIT_MASK_MGQ_FIFO_LIFETIME_8733B << BIT_SHIFT_MGQ_FIFO_LIFETIME_8733B)
#define BIT_CLEAR_MGQ_FIFO_LIFETIME_8733B(x) ((x) & (~BITS_MGQ_FIFO_LIFETIME_8733B))
#define BIT_GET_MGQ_FIFO_LIFETIME_8733B(x) (((x) >> BIT_SHIFT_MGQ_FIFO_LIFETIME_8733B) & BIT_MASK_MGQ_FIFO_LIFETIME_8733B)
#define BIT_SET_MGQ_FIFO_LIFETIME_8733B(x, v) (BIT_CLEAR_MGQ_FIFO_LIFETIME_8733B(x) | BIT_MGQ_FIFO_LIFETIME_8733B(v))

/* 2 REG_R_MACID_RELEASE_SUCCESS_CLEAR_OFFSET_8733B */

#define BIT_SHIFT_R_MACID_RELEASE_SUCCESS_CLEAR_OFFSET_8733B 0
#define BIT_MASK_R_MACID_RELEASE_SUCCESS_CLEAR_OFFSET_8733B 0x7f
#define BIT_R_MACID_RELEASE_SUCCESS_CLEAR_OFFSET_8733B(x) (((x) & BIT_MASK_R_MACID_RELEASE_SUCCESS_CLEAR_OFFSET_8733B) << BIT_SHIFT_R_MACID_RELEASE_SUCCESS_CLEAR_OFFSET_8733B)
#define BITS_R_MACID_RELEASE_SUCCESS_CLEAR_OFFSET_8733B (BIT_MASK_R_MACID_RELEASE_SUCCESS_CLEAR_OFFSET_8733B << BIT_SHIFT_R_MACID_RELEASE_SUCCESS_CLEAR_OFFSET_8733B)
#define BIT_CLEAR_R_MACID_RELEASE_SUCCESS_CLEAR_OFFSET_8733B(x) ((x) & (~BITS_R_MACID_RELEASE_SUCCESS_CLEAR_OFFSET_8733B))
#define BIT_GET_R_MACID_RELEASE_SUCCESS_CLEAR_OFFSET_8733B(x) (((x) >> BIT_SHIFT_R_MACID_RELEASE_SUCCESS_CLEAR_OFFSET_8733B) & BIT_MASK_R_MACID_RELEASE_SUCCESS_CLEAR_OFFSET_8733B)
#define BIT_SET_R_MACID_RELEASE_SUCCESS_CLEAR_OFFSET_8733B(x, v) (BIT_CLEAR_R_MACID_RELEASE_SUCCESS_CLEAR_OFFSET_8733B(x) | BIT_R_MACID_RELEASE_SUCCESS_CLEAR_OFFSET_8733B(v))

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NEW_EDCA_CTRL_8733B */

/* 2 REG_NOT_VALID_8733B */

#define BIT_SHIFT_RANDOM_VALUE_SHIFT_8733B 9
#define BIT_MASK_RANDOM_VALUE_SHIFT_8733B 0x7
#define BIT_RANDOM_VALUE_SHIFT_8733B(x) (((x) & BIT_MASK_RANDOM_VALUE_SHIFT_8733B) << BIT_SHIFT_RANDOM_VALUE_SHIFT_8733B)
#define BITS_RANDOM_VALUE_SHIFT_8733B (BIT_MASK_RANDOM_VALUE_SHIFT_8733B << BIT_SHIFT_RANDOM_VALUE_SHIFT_8733B)
#define BIT_CLEAR_RANDOM_VALUE_SHIFT_8733B(x) ((x) & (~BITS_RANDOM_VALUE_SHIFT_8733B))
#define BIT_GET_RANDOM_VALUE_SHIFT_8733B(x) (((x) >> BIT_SHIFT_RANDOM_VALUE_SHIFT_8733B) & BIT_MASK_RANDOM_VALUE_SHIFT_8733B)
#define BIT_SET_RANDOM_VALUE_SHIFT_8733B(x, v) (BIT_CLEAR_RANDOM_VALUE_SHIFT_8733B(x) | BIT_RANDOM_VALUE_SHIFT_8733B(v))

#define BIT_ENABLE_NEW_EDCA_8733B BIT(8)

#define BIT_SHIFT_MEDIUM_HAS_IDLE_TRIGGER_8733B 0
#define BIT_MASK_MEDIUM_HAS_IDLE_TRIGGER_8733B 0xff
#define BIT_MEDIUM_HAS_IDLE_TRIGGER_8733B(x) (((x) & BIT_MASK_MEDIUM_HAS_IDLE_TRIGGER_8733B) << BIT_SHIFT_MEDIUM_HAS_IDLE_TRIGGER_8733B)
#define BITS_MEDIUM_HAS_IDLE_TRIGGER_8733B (BIT_MASK_MEDIUM_HAS_IDLE_TRIGGER_8733B << BIT_SHIFT_MEDIUM_HAS_IDLE_TRIGGER_8733B)
#define BIT_CLEAR_MEDIUM_HAS_IDLE_TRIGGER_8733B(x) ((x) & (~BITS_MEDIUM_HAS_IDLE_TRIGGER_8733B))
#define BIT_GET_MEDIUM_HAS_IDLE_TRIGGER_8733B(x) (((x) >> BIT_SHIFT_MEDIUM_HAS_IDLE_TRIGGER_8733B) & BIT_MASK_MEDIUM_HAS_IDLE_TRIGGER_8733B)
#define BIT_SET_MEDIUM_HAS_IDLE_TRIGGER_8733B(x, v) (BIT_CLEAR_MEDIUM_HAS_IDLE_TRIGGER_8733B(x) | BIT_MEDIUM_HAS_IDLE_TRIGGER_8733B(v))

/* 2 REG_SWPS_CTRL_8733B */

#define BIT_SHIFT_SWPS_PKT_TH_V1_8733B 16
#define BIT_MASK_SWPS_PKT_TH_V1_8733B 0xffff
#define BIT_SWPS_PKT_TH_V1_8733B(x) (((x) & BIT_MASK_SWPS_PKT_TH_V1_8733B) << BIT_SHIFT_SWPS_PKT_TH_V1_8733B)
#define BITS_SWPS_PKT_TH_V1_8733B (BIT_MASK_SWPS_PKT_TH_V1_8733B << BIT_SHIFT_SWPS_PKT_TH_V1_8733B)
#define BIT_CLEAR_SWPS_PKT_TH_V1_8733B(x) ((x) & (~BITS_SWPS_PKT_TH_V1_8733B))
#define BIT_GET_SWPS_PKT_TH_V1_8733B(x) (((x) >> BIT_SHIFT_SWPS_PKT_TH_V1_8733B) & BIT_MASK_SWPS_PKT_TH_V1_8733B)
#define BIT_SET_SWPS_PKT_TH_V1_8733B(x, v) (BIT_CLEAR_SWPS_PKT_TH_V1_8733B(x) | BIT_SWPS_PKT_TH_V1_8733B(v))

/* 2 REG_NOT_VALID_8733B */

#define BIT_SHIFT_SWPS_RPT_LENGTH_8733B 8
#define BIT_MASK_SWPS_RPT_LENGTH_8733B 0x7f
#define BIT_SWPS_RPT_LENGTH_8733B(x) (((x) & BIT_MASK_SWPS_RPT_LENGTH_8733B) << BIT_SHIFT_SWPS_RPT_LENGTH_8733B)
#define BITS_SWPS_RPT_LENGTH_8733B (BIT_MASK_SWPS_RPT_LENGTH_8733B << BIT_SHIFT_SWPS_RPT_LENGTH_8733B)
#define BIT_CLEAR_SWPS_RPT_LENGTH_8733B(x) ((x) & (~BITS_SWPS_RPT_LENGTH_8733B))
#define BIT_GET_SWPS_RPT_LENGTH_8733B(x) (((x) >> BIT_SHIFT_SWPS_RPT_LENGTH_8733B) & BIT_MASK_SWPS_RPT_LENGTH_8733B)
#define BIT_SET_SWPS_RPT_LENGTH_8733B(x, v) (BIT_CLEAR_SWPS_RPT_LENGTH_8733B(x) | BIT_SWPS_RPT_LENGTH_8733B(v))

/* 2 REG_NOT_VALID_8733B */
#define BIT_MACID_SWPS_EN_SEL_V1_8733B BIT(2)
#define BIT_SWPS_MANUALL_POLLING_8733B BIT(1)
#define BIT_SWPS_EN_8733B BIT(0)

/* 2 REG_SWPS_TIME_TH_8733B */

#define BIT_SHIFT_SWPS_PSTIME_TH_8733B 16
#define BIT_MASK_SWPS_PSTIME_TH_8733B 0xffff
#define BIT_SWPS_PSTIME_TH_8733B(x) (((x) & BIT_MASK_SWPS_PSTIME_TH_8733B) << BIT_SHIFT_SWPS_PSTIME_TH_8733B)
#define BITS_SWPS_PSTIME_TH_8733B (BIT_MASK_SWPS_PSTIME_TH_8733B << BIT_SHIFT_SWPS_PSTIME_TH_8733B)
#define BIT_CLEAR_SWPS_PSTIME_TH_8733B(x) ((x) & (~BITS_SWPS_PSTIME_TH_8733B))
#define BIT_GET_SWPS_PSTIME_TH_8733B(x) (((x) >> BIT_SHIFT_SWPS_PSTIME_TH_8733B) & BIT_MASK_SWPS_PSTIME_TH_8733B)
#define BIT_SET_SWPS_PSTIME_TH_8733B(x, v) (BIT_CLEAR_SWPS_PSTIME_TH_8733B(x) | BIT_SWPS_PSTIME_TH_8733B(v))

#define BIT_SHIFT_SWPS_TIME_TH_8733B 0
#define BIT_MASK_SWPS_TIME_TH_8733B 0xffff
#define BIT_SWPS_TIME_TH_8733B(x) (((x) & BIT_MASK_SWPS_TIME_TH_8733B) << BIT_SHIFT_SWPS_TIME_TH_8733B)
#define BITS_SWPS_TIME_TH_8733B (BIT_MASK_SWPS_TIME_TH_8733B << BIT_SHIFT_SWPS_TIME_TH_8733B)
#define BIT_CLEAR_SWPS_TIME_TH_8733B(x) ((x) & (~BITS_SWPS_TIME_TH_8733B))
#define BIT_GET_SWPS_TIME_TH_8733B(x) (((x) >> BIT_SHIFT_SWPS_TIME_TH_8733B) & BIT_MASK_SWPS_TIME_TH_8733B)
#define BIT_SET_SWPS_TIME_TH_8733B(x, v) (BIT_CLEAR_SWPS_TIME_TH_8733B(x) | BIT_SWPS_TIME_TH_8733B(v))

/* 2 REG_MACID_SWPS_EN_8733B */

#define BIT_SHIFT_MACID_SWPS_EN_8733B 0
#define BIT_MASK_MACID_SWPS_EN_8733B 0xffffffffL
#define BIT_MACID_SWPS_EN_8733B(x) (((x) & BIT_MASK_MACID_SWPS_EN_8733B) << BIT_SHIFT_MACID_SWPS_EN_8733B)
#define BITS_MACID_SWPS_EN_8733B (BIT_MASK_MACID_SWPS_EN_8733B << BIT_SHIFT_MACID_SWPS_EN_8733B)
#define BIT_CLEAR_MACID_SWPS_EN_8733B(x) ((x) & (~BITS_MACID_SWPS_EN_8733B))
#define BIT_GET_MACID_SWPS_EN_8733B(x) (((x) >> BIT_SHIFT_MACID_SWPS_EN_8733B) & BIT_MASK_MACID_SWPS_EN_8733B)
#define BIT_SET_MACID_SWPS_EN_8733B(x, v) (BIT_CLEAR_MACID_SWPS_EN_8733B(x) | BIT_MACID_SWPS_EN_8733B(v))

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_EDCA_VO_PARAM_8733B */

#define BIT_SHIFT_TXOPLIMIT_8733B 16
#define BIT_MASK_TXOPLIMIT_8733B 0x7ff
#define BIT_TXOPLIMIT_8733B(x) (((x) & BIT_MASK_TXOPLIMIT_8733B) << BIT_SHIFT_TXOPLIMIT_8733B)
#define BITS_TXOPLIMIT_8733B (BIT_MASK_TXOPLIMIT_8733B << BIT_SHIFT_TXOPLIMIT_8733B)
#define BIT_CLEAR_TXOPLIMIT_8733B(x) ((x) & (~BITS_TXOPLIMIT_8733B))
#define BIT_GET_TXOPLIMIT_8733B(x) (((x) >> BIT_SHIFT_TXOPLIMIT_8733B) & BIT_MASK_TXOPLIMIT_8733B)
#define BIT_SET_TXOPLIMIT_8733B(x, v) (BIT_CLEAR_TXOPLIMIT_8733B(x) | BIT_TXOPLIMIT_8733B(v))

#define BIT_SHIFT_CW_8733B 8
#define BIT_MASK_CW_8733B 0xff
#define BIT_CW_8733B(x) (((x) & BIT_MASK_CW_8733B) << BIT_SHIFT_CW_8733B)
#define BITS_CW_8733B (BIT_MASK_CW_8733B << BIT_SHIFT_CW_8733B)
#define BIT_CLEAR_CW_8733B(x) ((x) & (~BITS_CW_8733B))
#define BIT_GET_CW_8733B(x) (((x) >> BIT_SHIFT_CW_8733B) & BIT_MASK_CW_8733B)
#define BIT_SET_CW_8733B(x, v) (BIT_CLEAR_CW_8733B(x) | BIT_CW_8733B(v))

#define BIT_SHIFT_AIFS_8733B 0
#define BIT_MASK_AIFS_8733B 0xff
#define BIT_AIFS_8733B(x) (((x) & BIT_MASK_AIFS_8733B) << BIT_SHIFT_AIFS_8733B)
#define BITS_AIFS_8733B (BIT_MASK_AIFS_8733B << BIT_SHIFT_AIFS_8733B)
#define BIT_CLEAR_AIFS_8733B(x) ((x) & (~BITS_AIFS_8733B))
#define BIT_GET_AIFS_8733B(x) (((x) >> BIT_SHIFT_AIFS_8733B) & BIT_MASK_AIFS_8733B)
#define BIT_SET_AIFS_8733B(x, v) (BIT_CLEAR_AIFS_8733B(x) | BIT_AIFS_8733B(v))

/* 2 REG_EDCA_VI_PARAM_8733B */

/* 2 REG_NOT_VALID_8733B */

#define BIT_SHIFT_TXOPLIMIT_8733B 16
#define BIT_MASK_TXOPLIMIT_8733B 0x7ff
#define BIT_TXOPLIMIT_8733B(x) (((x) & BIT_MASK_TXOPLIMIT_8733B) << BIT_SHIFT_TXOPLIMIT_8733B)
#define BITS_TXOPLIMIT_8733B (BIT_MASK_TXOPLIMIT_8733B << BIT_SHIFT_TXOPLIMIT_8733B)
#define BIT_CLEAR_TXOPLIMIT_8733B(x) ((x) & (~BITS_TXOPLIMIT_8733B))
#define BIT_GET_TXOPLIMIT_8733B(x) (((x) >> BIT_SHIFT_TXOPLIMIT_8733B) & BIT_MASK_TXOPLIMIT_8733B)
#define BIT_SET_TXOPLIMIT_8733B(x, v) (BIT_CLEAR_TXOPLIMIT_8733B(x) | BIT_TXOPLIMIT_8733B(v))

#define BIT_SHIFT_CW_8733B 8
#define BIT_MASK_CW_8733B 0xff
#define BIT_CW_8733B(x) (((x) & BIT_MASK_CW_8733B) << BIT_SHIFT_CW_8733B)
#define BITS_CW_8733B (BIT_MASK_CW_8733B << BIT_SHIFT_CW_8733B)
#define BIT_CLEAR_CW_8733B(x) ((x) & (~BITS_CW_8733B))
#define BIT_GET_CW_8733B(x) (((x) >> BIT_SHIFT_CW_8733B) & BIT_MASK_CW_8733B)
#define BIT_SET_CW_8733B(x, v) (BIT_CLEAR_CW_8733B(x) | BIT_CW_8733B(v))

#define BIT_SHIFT_AIFS_8733B 0
#define BIT_MASK_AIFS_8733B 0xff
#define BIT_AIFS_8733B(x) (((x) & BIT_MASK_AIFS_8733B) << BIT_SHIFT_AIFS_8733B)
#define BITS_AIFS_8733B (BIT_MASK_AIFS_8733B << BIT_SHIFT_AIFS_8733B)
#define BIT_CLEAR_AIFS_8733B(x) ((x) & (~BITS_AIFS_8733B))
#define BIT_GET_AIFS_8733B(x) (((x) >> BIT_SHIFT_AIFS_8733B) & BIT_MASK_AIFS_8733B)
#define BIT_SET_AIFS_8733B(x, v) (BIT_CLEAR_AIFS_8733B(x) | BIT_AIFS_8733B(v))

/* 2 REG_EDCA_BE_PARAM_8733B */

/* 2 REG_NOT_VALID_8733B */

#define BIT_SHIFT_TXOPLIMIT_8733B 16
#define BIT_MASK_TXOPLIMIT_8733B 0x7ff
#define BIT_TXOPLIMIT_8733B(x) (((x) & BIT_MASK_TXOPLIMIT_8733B) << BIT_SHIFT_TXOPLIMIT_8733B)
#define BITS_TXOPLIMIT_8733B (BIT_MASK_TXOPLIMIT_8733B << BIT_SHIFT_TXOPLIMIT_8733B)
#define BIT_CLEAR_TXOPLIMIT_8733B(x) ((x) & (~BITS_TXOPLIMIT_8733B))
#define BIT_GET_TXOPLIMIT_8733B(x) (((x) >> BIT_SHIFT_TXOPLIMIT_8733B) & BIT_MASK_TXOPLIMIT_8733B)
#define BIT_SET_TXOPLIMIT_8733B(x, v) (BIT_CLEAR_TXOPLIMIT_8733B(x) | BIT_TXOPLIMIT_8733B(v))

#define BIT_SHIFT_CW_8733B 8
#define BIT_MASK_CW_8733B 0xff
#define BIT_CW_8733B(x) (((x) & BIT_MASK_CW_8733B) << BIT_SHIFT_CW_8733B)
#define BITS_CW_8733B (BIT_MASK_CW_8733B << BIT_SHIFT_CW_8733B)
#define BIT_CLEAR_CW_8733B(x) ((x) & (~BITS_CW_8733B))
#define BIT_GET_CW_8733B(x) (((x) >> BIT_SHIFT_CW_8733B) & BIT_MASK_CW_8733B)
#define BIT_SET_CW_8733B(x, v) (BIT_CLEAR_CW_8733B(x) | BIT_CW_8733B(v))

#define BIT_SHIFT_AIFS_8733B 0
#define BIT_MASK_AIFS_8733B 0xff
#define BIT_AIFS_8733B(x) (((x) & BIT_MASK_AIFS_8733B) << BIT_SHIFT_AIFS_8733B)
#define BITS_AIFS_8733B (BIT_MASK_AIFS_8733B << BIT_SHIFT_AIFS_8733B)
#define BIT_CLEAR_AIFS_8733B(x) ((x) & (~BITS_AIFS_8733B))
#define BIT_GET_AIFS_8733B(x) (((x) >> BIT_SHIFT_AIFS_8733B) & BIT_MASK_AIFS_8733B)
#define BIT_SET_AIFS_8733B(x, v) (BIT_CLEAR_AIFS_8733B(x) | BIT_AIFS_8733B(v))

/* 2 REG_EDCA_BK_PARAM_8733B */

/* 2 REG_NOT_VALID_8733B */

#define BIT_SHIFT_TXOPLIMIT_8733B 16
#define BIT_MASK_TXOPLIMIT_8733B 0x7ff
#define BIT_TXOPLIMIT_8733B(x) (((x) & BIT_MASK_TXOPLIMIT_8733B) << BIT_SHIFT_TXOPLIMIT_8733B)
#define BITS_TXOPLIMIT_8733B (BIT_MASK_TXOPLIMIT_8733B << BIT_SHIFT_TXOPLIMIT_8733B)
#define BIT_CLEAR_TXOPLIMIT_8733B(x) ((x) & (~BITS_TXOPLIMIT_8733B))
#define BIT_GET_TXOPLIMIT_8733B(x) (((x) >> BIT_SHIFT_TXOPLIMIT_8733B) & BIT_MASK_TXOPLIMIT_8733B)
#define BIT_SET_TXOPLIMIT_8733B(x, v) (BIT_CLEAR_TXOPLIMIT_8733B(x) | BIT_TXOPLIMIT_8733B(v))

#define BIT_SHIFT_CW_8733B 8
#define BIT_MASK_CW_8733B 0xff
#define BIT_CW_8733B(x) (((x) & BIT_MASK_CW_8733B) << BIT_SHIFT_CW_8733B)
#define BITS_CW_8733B (BIT_MASK_CW_8733B << BIT_SHIFT_CW_8733B)
#define BIT_CLEAR_CW_8733B(x) ((x) & (~BITS_CW_8733B))
#define BIT_GET_CW_8733B(x) (((x) >> BIT_SHIFT_CW_8733B) & BIT_MASK_CW_8733B)
#define BIT_SET_CW_8733B(x, v) (BIT_CLEAR_CW_8733B(x) | BIT_CW_8733B(v))

#define BIT_SHIFT_AIFS_8733B 0
#define BIT_MASK_AIFS_8733B 0xff
#define BIT_AIFS_8733B(x) (((x) & BIT_MASK_AIFS_8733B) << BIT_SHIFT_AIFS_8733B)
#define BITS_AIFS_8733B (BIT_MASK_AIFS_8733B << BIT_SHIFT_AIFS_8733B)
#define BIT_CLEAR_AIFS_8733B(x) ((x) & (~BITS_AIFS_8733B))
#define BIT_GET_AIFS_8733B(x) (((x) >> BIT_SHIFT_AIFS_8733B) & BIT_MASK_AIFS_8733B)
#define BIT_SET_AIFS_8733B(x, v) (BIT_CLEAR_AIFS_8733B(x) | BIT_AIFS_8733B(v))

/* 2 REG_BCNTCFG_8733B */

#define BIT_SHIFT_BCNCW_MAX_8733B 12
#define BIT_MASK_BCNCW_MAX_8733B 0xf
#define BIT_BCNCW_MAX_8733B(x) (((x) & BIT_MASK_BCNCW_MAX_8733B) << BIT_SHIFT_BCNCW_MAX_8733B)
#define BITS_BCNCW_MAX_8733B (BIT_MASK_BCNCW_MAX_8733B << BIT_SHIFT_BCNCW_MAX_8733B)
#define BIT_CLEAR_BCNCW_MAX_8733B(x) ((x) & (~BITS_BCNCW_MAX_8733B))
#define BIT_GET_BCNCW_MAX_8733B(x) (((x) >> BIT_SHIFT_BCNCW_MAX_8733B) & BIT_MASK_BCNCW_MAX_8733B)
#define BIT_SET_BCNCW_MAX_8733B(x, v) (BIT_CLEAR_BCNCW_MAX_8733B(x) | BIT_BCNCW_MAX_8733B(v))

#define BIT_SHIFT_BCNCW_MIN_8733B 8
#define BIT_MASK_BCNCW_MIN_8733B 0xf
#define BIT_BCNCW_MIN_8733B(x) (((x) & BIT_MASK_BCNCW_MIN_8733B) << BIT_SHIFT_BCNCW_MIN_8733B)
#define BITS_BCNCW_MIN_8733B (BIT_MASK_BCNCW_MIN_8733B << BIT_SHIFT_BCNCW_MIN_8733B)
#define BIT_CLEAR_BCNCW_MIN_8733B(x) ((x) & (~BITS_BCNCW_MIN_8733B))
#define BIT_GET_BCNCW_MIN_8733B(x) (((x) >> BIT_SHIFT_BCNCW_MIN_8733B) & BIT_MASK_BCNCW_MIN_8733B)
#define BIT_SET_BCNCW_MIN_8733B(x, v) (BIT_CLEAR_BCNCW_MIN_8733B(x) | BIT_BCNCW_MIN_8733B(v))

#define BIT_SHIFT_BCNIFS_8733B 0
#define BIT_MASK_BCNIFS_8733B 0xff
#define BIT_BCNIFS_8733B(x) (((x) & BIT_MASK_BCNIFS_8733B) << BIT_SHIFT_BCNIFS_8733B)
#define BITS_BCNIFS_8733B (BIT_MASK_BCNIFS_8733B << BIT_SHIFT_BCNIFS_8733B)
#define BIT_CLEAR_BCNIFS_8733B(x) ((x) & (~BITS_BCNIFS_8733B))
#define BIT_GET_BCNIFS_8733B(x) (((x) >> BIT_SHIFT_BCNIFS_8733B) & BIT_MASK_BCNIFS_8733B)
#define BIT_SET_BCNIFS_8733B(x, v) (BIT_CLEAR_BCNIFS_8733B(x) | BIT_BCNIFS_8733B(v))

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_PIFS_8733B */

#define BIT_SHIFT_PIFS_8733B 0
#define BIT_MASK_PIFS_8733B 0xff
#define BIT_PIFS_8733B(x) (((x) & BIT_MASK_PIFS_8733B) << BIT_SHIFT_PIFS_8733B)
#define BITS_PIFS_8733B (BIT_MASK_PIFS_8733B << BIT_SHIFT_PIFS_8733B)
#define BIT_CLEAR_PIFS_8733B(x) ((x) & (~BITS_PIFS_8733B))
#define BIT_GET_PIFS_8733B(x) (((x) >> BIT_SHIFT_PIFS_8733B) & BIT_MASK_PIFS_8733B)
#define BIT_SET_PIFS_8733B(x, v) (BIT_CLEAR_PIFS_8733B(x) | BIT_PIFS_8733B(v))

/* 2 REG_RDG_PIFS_8733B */

#define BIT_SHIFT_RDG_PIFS_8733B 0
#define BIT_MASK_RDG_PIFS_8733B 0xff
#define BIT_RDG_PIFS_8733B(x) (((x) & BIT_MASK_RDG_PIFS_8733B) << BIT_SHIFT_RDG_PIFS_8733B)
#define BITS_RDG_PIFS_8733B (BIT_MASK_RDG_PIFS_8733B << BIT_SHIFT_RDG_PIFS_8733B)
#define BIT_CLEAR_RDG_PIFS_8733B(x) ((x) & (~BITS_RDG_PIFS_8733B))
#define BIT_GET_RDG_PIFS_8733B(x) (((x) >> BIT_SHIFT_RDG_PIFS_8733B) & BIT_MASK_RDG_PIFS_8733B)
#define BIT_SET_RDG_PIFS_8733B(x, v) (BIT_CLEAR_RDG_PIFS_8733B(x) | BIT_RDG_PIFS_8733B(v))

/* 2 REG_SIFS_8733B */

#define BIT_SHIFT_SIFS_OFDM_TRX_8733B 24
#define BIT_MASK_SIFS_OFDM_TRX_8733B 0xff
#define BIT_SIFS_OFDM_TRX_8733B(x) (((x) & BIT_MASK_SIFS_OFDM_TRX_8733B) << BIT_SHIFT_SIFS_OFDM_TRX_8733B)
#define BITS_SIFS_OFDM_TRX_8733B (BIT_MASK_SIFS_OFDM_TRX_8733B << BIT_SHIFT_SIFS_OFDM_TRX_8733B)
#define BIT_CLEAR_SIFS_OFDM_TRX_8733B(x) ((x) & (~BITS_SIFS_OFDM_TRX_8733B))
#define BIT_GET_SIFS_OFDM_TRX_8733B(x) (((x) >> BIT_SHIFT_SIFS_OFDM_TRX_8733B) & BIT_MASK_SIFS_OFDM_TRX_8733B)
#define BIT_SET_SIFS_OFDM_TRX_8733B(x, v) (BIT_CLEAR_SIFS_OFDM_TRX_8733B(x) | BIT_SIFS_OFDM_TRX_8733B(v))

#define BIT_SHIFT_SIFS_CCK_TRX_8733B 16
#define BIT_MASK_SIFS_CCK_TRX_8733B 0xff
#define BIT_SIFS_CCK_TRX_8733B(x) (((x) & BIT_MASK_SIFS_CCK_TRX_8733B) << BIT_SHIFT_SIFS_CCK_TRX_8733B)
#define BITS_SIFS_CCK_TRX_8733B (BIT_MASK_SIFS_CCK_TRX_8733B << BIT_SHIFT_SIFS_CCK_TRX_8733B)
#define BIT_CLEAR_SIFS_CCK_TRX_8733B(x) ((x) & (~BITS_SIFS_CCK_TRX_8733B))
#define BIT_GET_SIFS_CCK_TRX_8733B(x) (((x) >> BIT_SHIFT_SIFS_CCK_TRX_8733B) & BIT_MASK_SIFS_CCK_TRX_8733B)
#define BIT_SET_SIFS_CCK_TRX_8733B(x, v) (BIT_CLEAR_SIFS_CCK_TRX_8733B(x) | BIT_SIFS_CCK_TRX_8733B(v))

#define BIT_SHIFT_SIFS_OFDM_CTX_8733B 8
#define BIT_MASK_SIFS_OFDM_CTX_8733B 0xff
#define BIT_SIFS_OFDM_CTX_8733B(x) (((x) & BIT_MASK_SIFS_OFDM_CTX_8733B) << BIT_SHIFT_SIFS_OFDM_CTX_8733B)
#define BITS_SIFS_OFDM_CTX_8733B (BIT_MASK_SIFS_OFDM_CTX_8733B << BIT_SHIFT_SIFS_OFDM_CTX_8733B)
#define BIT_CLEAR_SIFS_OFDM_CTX_8733B(x) ((x) & (~BITS_SIFS_OFDM_CTX_8733B))
#define BIT_GET_SIFS_OFDM_CTX_8733B(x) (((x) >> BIT_SHIFT_SIFS_OFDM_CTX_8733B) & BIT_MASK_SIFS_OFDM_CTX_8733B)
#define BIT_SET_SIFS_OFDM_CTX_8733B(x, v) (BIT_CLEAR_SIFS_OFDM_CTX_8733B(x) | BIT_SIFS_OFDM_CTX_8733B(v))

#define BIT_SHIFT_SIFS_CCK_CTX_8733B 0
#define BIT_MASK_SIFS_CCK_CTX_8733B 0xff
#define BIT_SIFS_CCK_CTX_8733B(x) (((x) & BIT_MASK_SIFS_CCK_CTX_8733B) << BIT_SHIFT_SIFS_CCK_CTX_8733B)
#define BITS_SIFS_CCK_CTX_8733B (BIT_MASK_SIFS_CCK_CTX_8733B << BIT_SHIFT_SIFS_CCK_CTX_8733B)
#define BIT_CLEAR_SIFS_CCK_CTX_8733B(x) ((x) & (~BITS_SIFS_CCK_CTX_8733B))
#define BIT_GET_SIFS_CCK_CTX_8733B(x) (((x) >> BIT_SHIFT_SIFS_CCK_CTX_8733B) & BIT_MASK_SIFS_CCK_CTX_8733B)
#define BIT_SET_SIFS_CCK_CTX_8733B(x, v) (BIT_CLEAR_SIFS_CCK_CTX_8733B(x) | BIT_SIFS_CCK_CTX_8733B(v))

/* 2 REG_TSFTR_SYN_OFFSET_8733B */

#define BIT_SHIFT_TSFTR_SNC_OFFSET_8733B 0
#define BIT_MASK_TSFTR_SNC_OFFSET_8733B 0xffff
#define BIT_TSFTR_SNC_OFFSET_8733B(x) (((x) & BIT_MASK_TSFTR_SNC_OFFSET_8733B) << BIT_SHIFT_TSFTR_SNC_OFFSET_8733B)
#define BITS_TSFTR_SNC_OFFSET_8733B (BIT_MASK_TSFTR_SNC_OFFSET_8733B << BIT_SHIFT_TSFTR_SNC_OFFSET_8733B)
#define BIT_CLEAR_TSFTR_SNC_OFFSET_8733B(x) ((x) & (~BITS_TSFTR_SNC_OFFSET_8733B))
#define BIT_GET_TSFTR_SNC_OFFSET_8733B(x) (((x) >> BIT_SHIFT_TSFTR_SNC_OFFSET_8733B) & BIT_MASK_TSFTR_SNC_OFFSET_8733B)
#define BIT_SET_TSFTR_SNC_OFFSET_8733B(x, v) (BIT_CLEAR_TSFTR_SNC_OFFSET_8733B(x) | BIT_TSFTR_SNC_OFFSET_8733B(v))

/* 2 REG_AGGR_BREAK_TIME_8733B */

#define BIT_SHIFT_AGGR_BK_TIME_8733B 0
#define BIT_MASK_AGGR_BK_TIME_8733B 0xff
#define BIT_AGGR_BK_TIME_8733B(x) (((x) & BIT_MASK_AGGR_BK_TIME_8733B) << BIT_SHIFT_AGGR_BK_TIME_8733B)
#define BITS_AGGR_BK_TIME_8733B (BIT_MASK_AGGR_BK_TIME_8733B << BIT_SHIFT_AGGR_BK_TIME_8733B)
#define BIT_CLEAR_AGGR_BK_TIME_8733B(x) ((x) & (~BITS_AGGR_BK_TIME_8733B))
#define BIT_GET_AGGR_BK_TIME_8733B(x) (((x) >> BIT_SHIFT_AGGR_BK_TIME_8733B) & BIT_MASK_AGGR_BK_TIME_8733B)
#define BIT_SET_AGGR_BK_TIME_8733B(x, v) (BIT_CLEAR_AGGR_BK_TIME_8733B(x) | BIT_AGGR_BK_TIME_8733B(v))

/* 2 REG_SLOT_8733B */

#define BIT_SHIFT_SLOT_8733B 0
#define BIT_MASK_SLOT_8733B 0xff
#define BIT_SLOT_8733B(x) (((x) & BIT_MASK_SLOT_8733B) << BIT_SHIFT_SLOT_8733B)
#define BITS_SLOT_8733B (BIT_MASK_SLOT_8733B << BIT_SHIFT_SLOT_8733B)
#define BIT_CLEAR_SLOT_8733B(x) ((x) & (~BITS_SLOT_8733B))
#define BIT_GET_SLOT_8733B(x) (((x) >> BIT_SHIFT_SLOT_8733B) & BIT_MASK_SLOT_8733B)
#define BIT_SET_SLOT_8733B(x, v) (BIT_CLEAR_SLOT_8733B(x) | BIT_SLOT_8733B(v))

/* 2 REG_NOA_ON_ERLY_TIME_8733B */

#define BIT_SHIFT__NOA_ON_ERLY_TIME_8733B 0
#define BIT_MASK__NOA_ON_ERLY_TIME_8733B 0xff
#define BIT__NOA_ON_ERLY_TIME_8733B(x) (((x) & BIT_MASK__NOA_ON_ERLY_TIME_8733B) << BIT_SHIFT__NOA_ON_ERLY_TIME_8733B)
#define BITS__NOA_ON_ERLY_TIME_8733B (BIT_MASK__NOA_ON_ERLY_TIME_8733B << BIT_SHIFT__NOA_ON_ERLY_TIME_8733B)
#define BIT_CLEAR__NOA_ON_ERLY_TIME_8733B(x) ((x) & (~BITS__NOA_ON_ERLY_TIME_8733B))
#define BIT_GET__NOA_ON_ERLY_TIME_8733B(x) (((x) >> BIT_SHIFT__NOA_ON_ERLY_TIME_8733B) & BIT_MASK__NOA_ON_ERLY_TIME_8733B)
#define BIT_SET__NOA_ON_ERLY_TIME_8733B(x, v) (BIT_CLEAR__NOA_ON_ERLY_TIME_8733B(x) | BIT__NOA_ON_ERLY_TIME_8733B(v))

/* 2 REG_NOA_OFF_ERLY_TIME_8733B */

#define BIT_SHIFT__NOA_OFF_ERLY_TIME_8733B 0
#define BIT_MASK__NOA_OFF_ERLY_TIME_8733B 0xff
#define BIT__NOA_OFF_ERLY_TIME_8733B(x) (((x) & BIT_MASK__NOA_OFF_ERLY_TIME_8733B) << BIT_SHIFT__NOA_OFF_ERLY_TIME_8733B)
#define BITS__NOA_OFF_ERLY_TIME_8733B (BIT_MASK__NOA_OFF_ERLY_TIME_8733B << BIT_SHIFT__NOA_OFF_ERLY_TIME_8733B)
#define BIT_CLEAR__NOA_OFF_ERLY_TIME_8733B(x) ((x) & (~BITS__NOA_OFF_ERLY_TIME_8733B))
#define BIT_GET__NOA_OFF_ERLY_TIME_8733B(x) (((x) >> BIT_SHIFT__NOA_OFF_ERLY_TIME_8733B) & BIT_MASK__NOA_OFF_ERLY_TIME_8733B)
#define BIT_SET__NOA_OFF_ERLY_TIME_8733B(x, v) (BIT_CLEAR__NOA_OFF_ERLY_TIME_8733B(x) | BIT__NOA_OFF_ERLY_TIME_8733B(v))

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_TX_PTCL_CTRL_8733B */
#define BIT_DIS_EDCCA_8733B BIT(15)
#define BIT_DIS_CCA_8733B BIT(14)
#define BIT_LSIG_TXOP_TXCMD_NAV_8733B BIT(13)
#define BIT_SIFS_BK_EN_8733B BIT(12)

#define BIT_SHIFT_TXQ_NAV_MSK_8733B 8
#define BIT_MASK_TXQ_NAV_MSK_8733B 0xf
#define BIT_TXQ_NAV_MSK_8733B(x) (((x) & BIT_MASK_TXQ_NAV_MSK_8733B) << BIT_SHIFT_TXQ_NAV_MSK_8733B)
#define BITS_TXQ_NAV_MSK_8733B (BIT_MASK_TXQ_NAV_MSK_8733B << BIT_SHIFT_TXQ_NAV_MSK_8733B)
#define BIT_CLEAR_TXQ_NAV_MSK_8733B(x) ((x) & (~BITS_TXQ_NAV_MSK_8733B))
#define BIT_GET_TXQ_NAV_MSK_8733B(x) (((x) >> BIT_SHIFT_TXQ_NAV_MSK_8733B) & BIT_MASK_TXQ_NAV_MSK_8733B)
#define BIT_SET_TXQ_NAV_MSK_8733B(x, v) (BIT_CLEAR_TXQ_NAV_MSK_8733B(x) | BIT_TXQ_NAV_MSK_8733B(v))

#define BIT_DIS_CW_8733B BIT(7)
#define BIT_NAV_END_TXOP_8733B BIT(6)
#define BIT_RDG_END_TXOP_8733B BIT(5)
#define BIT_AC_INBCN_HOLD_8733B BIT(4)
#define BIT_MGTQ_TXOP_EN_8733B BIT(3)
#define BIT_MGTQ_RTSMF_EN_8733B BIT(2)
#define BIT_HIQ_RTSMF_EN_8733B BIT(1)
#define BIT_BCN_RTSMF_EN_8733B BIT(0)

/* 2 REG_TXPAUSE_8733B */
#define BIT_STOP_BCN_HI_MGT_8733B BIT(7)
#define BIT_MAC_STOPBCNQ_8733B BIT(6)
#define BIT_MAC_STOPHIQ_8733B BIT(5)
#define BIT_MAC_STOPMGQ_8733B BIT(4)
#define BIT_MAC_STOPBK_8733B BIT(3)
#define BIT_MAC_STOPBE_8733B BIT(2)
#define BIT_MAC_STOPVI_8733B BIT(1)
#define BIT_MAC_STOPVO_8733B BIT(0)

/* 2 REG_DIS_TXREQ_CLR_8733B */
#define BIT_DIS_BT_CCA_8733B BIT(7)
#define BIT_DIS_TXREQ_CLR_CPUMGQ_8733B BIT(6)
#define BIT_DIS_TXREQ_CLR_HI_8733B BIT(5)
#define BIT_DIS_TXREQ_CLR_MGQ_8733B BIT(4)
#define BIT_DIS_TXREQ_CLR_VO_8733B BIT(3)
#define BIT_DIS_TXREQ_CLR_VI_8733B BIT(2)
#define BIT_DIS_TXREQ_CLR_BE_8733B BIT(1)
#define BIT_DIS_TXREQ_CLR_BK_8733B BIT(0)

/* 2 REG_RD_CTRL_8733B */
#define BIT_EN_CLR_TXREQ_INCCA_8733B BIT(15)
#define BIT_DIS_TX_OVER_BCNQ_8733B BIT(14)
#define BIT_EN_BCNERR_INCCCA_8733B BIT(13)
#define BIT_EN_BCNERR_INEDCCA_8733B BIT(12)
#define BIT_EDCCA_MSK_CNTDOWN_EN_8733B BIT(11)
#define BIT_DIS_TXOP_CFE_8733B BIT(10)
#define BIT_DIS_LSIG_CFE_8733B BIT(9)
#define BIT_DIS_STBC_CFE_8733B BIT(8)
#define BIT_BKQ_RD_INIT_EN_8733B BIT(7)
#define BIT_BEQ_RD_INIT_EN_8733B BIT(6)
#define BIT_VIQ_RD_INIT_EN_8733B BIT(5)
#define BIT_VOQ_RD_INIT_EN_8733B BIT(4)
#define BIT_BKQ_RD_RESP_EN_8733B BIT(3)
#define BIT_BEQ_RD_RESP_EN_8733B BIT(2)
#define BIT_VIQ_RD_RESP_EN_8733B BIT(1)
#define BIT_VOQ_RD_RESP_EN_8733B BIT(0)

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_P2PPS_CTRL_8733B */
#define BIT_P2P_CTW_ALLSTASLEEP_8733B BIT(7)
#define BIT_P2P_OFF_DISTX_EN_8733B BIT(6)
#define BIT_PWR_MGT_EN_8733B BIT(5)
#define BIT_P2P_NOA1_EN_8733B BIT(2)
#define BIT_P2P_NOA0_EN_8733B BIT(1)

/* 2 REG_PKT_LIFETIME_CTRL_8733B */
#define BIT_EN_TBTT_AREA_FOR_BB_8733B BIT(23)
#define BIT_EN_BKF_CLR_TXREQ_8733B BIT(22)
#define BIT_EN_TSFBIT32_RST_P2P_8733B BIT(21)
#define BIT_EN_BCN_TX_BTCCA_8733B BIT(20)
#define BIT_DIS_PKT_TX_ATIM_8733B BIT(19)
#define BIT_DIS_BCN_DIS_CTN_8733B BIT(18)
#define BIT_EN_NAVEND_RST_TXOP_8733B BIT(17)
#define BIT_EN_FILTER_CCA_8733B BIT(16)

#define BIT_SHIFT_CCA_FILTER_THRS_8733B 8
#define BIT_MASK_CCA_FILTER_THRS_8733B 0xff
#define BIT_CCA_FILTER_THRS_8733B(x) (((x) & BIT_MASK_CCA_FILTER_THRS_8733B) << BIT_SHIFT_CCA_FILTER_THRS_8733B)
#define BITS_CCA_FILTER_THRS_8733B (BIT_MASK_CCA_FILTER_THRS_8733B << BIT_SHIFT_CCA_FILTER_THRS_8733B)
#define BIT_CLEAR_CCA_FILTER_THRS_8733B(x) ((x) & (~BITS_CCA_FILTER_THRS_8733B))
#define BIT_GET_CCA_FILTER_THRS_8733B(x) (((x) >> BIT_SHIFT_CCA_FILTER_THRS_8733B) & BIT_MASK_CCA_FILTER_THRS_8733B)
#define BIT_SET_CCA_FILTER_THRS_8733B(x, v) (BIT_CLEAR_CCA_FILTER_THRS_8733B(x) | BIT_CCA_FILTER_THRS_8733B(v))

#define BIT_SHIFT_EDCCA_THRS_8733B 0
#define BIT_MASK_EDCCA_THRS_8733B 0xff
#define BIT_EDCCA_THRS_8733B(x) (((x) & BIT_MASK_EDCCA_THRS_8733B) << BIT_SHIFT_EDCCA_THRS_8733B)
#define BITS_EDCCA_THRS_8733B (BIT_MASK_EDCCA_THRS_8733B << BIT_SHIFT_EDCCA_THRS_8733B)
#define BIT_CLEAR_EDCCA_THRS_8733B(x) ((x) & (~BITS_EDCCA_THRS_8733B))
#define BIT_GET_EDCCA_THRS_8733B(x) (((x) >> BIT_SHIFT_EDCCA_THRS_8733B) & BIT_MASK_EDCCA_THRS_8733B)
#define BIT_SET_EDCCA_THRS_8733B(x, v) (BIT_CLEAR_EDCCA_THRS_8733B(x) | BIT_EDCCA_THRS_8733B(v))

/* 2 REG_P2PPS_SPEC_STATE_8733B */
#define BIT_SPEC_POWER_STATE_8733B BIT(7)
#define BIT_SPEC_CTWINDOW_ON_8733B BIT(6)
#define BIT_SPEC_BEACON_AREA_ON_8733B BIT(5)
#define BIT_SPEC_CTWIN_EARLY_DISTX_8733B BIT(4)
#define BIT_SPEC_NOA1_OFF_PERIOD_8733B BIT(3)
#define BIT_SPEC_FORCE_DOZE1_8733B BIT(2)
#define BIT_SPEC_NOA0_OFF_PERIOD_8733B BIT(1)
#define BIT_SPEC_FORCE_DOZE0_8733B BIT(0)

/* 2 REG_TBTT_AREA_BLK_4AC_8733B */
#define BIT_EN_TBTT_AREA_BLK_4AC_8733B BIT(6)

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_P2PON_DIS_TXTIME_8733B */

#define BIT_SHIFT_P2PON_DIS_TXTIME_8733B 0
#define BIT_MASK_P2PON_DIS_TXTIME_8733B 0xff
#define BIT_P2PON_DIS_TXTIME_8733B(x) (((x) & BIT_MASK_P2PON_DIS_TXTIME_8733B) << BIT_SHIFT_P2PON_DIS_TXTIME_8733B)
#define BITS_P2PON_DIS_TXTIME_8733B (BIT_MASK_P2PON_DIS_TXTIME_8733B << BIT_SHIFT_P2PON_DIS_TXTIME_8733B)
#define BIT_CLEAR_P2PON_DIS_TXTIME_8733B(x) ((x) & (~BITS_P2PON_DIS_TXTIME_8733B))
#define BIT_GET_P2PON_DIS_TXTIME_8733B(x) (((x) >> BIT_SHIFT_P2PON_DIS_TXTIME_8733B) & BIT_MASK_P2PON_DIS_TXTIME_8733B)
#define BIT_SET_P2PON_DIS_TXTIME_8733B(x, v) (BIT_CLEAR_P2PON_DIS_TXTIME_8733B(x) | BIT_P2PON_DIS_TXTIME_8733B(v))

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_EDCA_REF_CTRL_8733B */
#define BIT_ENABLE_GEN_RANDON_SLOT_TX_8733B BIT(20)
#define BIT_ENABLE_EDCA_REF_FUNCTION_8733B BIT(19)
#define BIT_ENABLE_RANDOM_SHIFT_TX_8733B BIT(18)

/* 2 REG_QUEUE_INCOL_THR_8733B */

#define BIT_SHIFT_BK_QUEUE_THR_8733B 24
#define BIT_MASK_BK_QUEUE_THR_8733B 0xff
#define BIT_BK_QUEUE_THR_8733B(x) (((x) & BIT_MASK_BK_QUEUE_THR_8733B) << BIT_SHIFT_BK_QUEUE_THR_8733B)
#define BITS_BK_QUEUE_THR_8733B (BIT_MASK_BK_QUEUE_THR_8733B << BIT_SHIFT_BK_QUEUE_THR_8733B)
#define BIT_CLEAR_BK_QUEUE_THR_8733B(x) ((x) & (~BITS_BK_QUEUE_THR_8733B))
#define BIT_GET_BK_QUEUE_THR_8733B(x) (((x) >> BIT_SHIFT_BK_QUEUE_THR_8733B) & BIT_MASK_BK_QUEUE_THR_8733B)
#define BIT_SET_BK_QUEUE_THR_8733B(x, v) (BIT_CLEAR_BK_QUEUE_THR_8733B(x) | BIT_BK_QUEUE_THR_8733B(v))

#define BIT_SHIFT_BE_QUEUE_THR_8733B 16
#define BIT_MASK_BE_QUEUE_THR_8733B 0xff
#define BIT_BE_QUEUE_THR_8733B(x) (((x) & BIT_MASK_BE_QUEUE_THR_8733B) << BIT_SHIFT_BE_QUEUE_THR_8733B)
#define BITS_BE_QUEUE_THR_8733B (BIT_MASK_BE_QUEUE_THR_8733B << BIT_SHIFT_BE_QUEUE_THR_8733B)
#define BIT_CLEAR_BE_QUEUE_THR_8733B(x) ((x) & (~BITS_BE_QUEUE_THR_8733B))
#define BIT_GET_BE_QUEUE_THR_8733B(x) (((x) >> BIT_SHIFT_BE_QUEUE_THR_8733B) & BIT_MASK_BE_QUEUE_THR_8733B)
#define BIT_SET_BE_QUEUE_THR_8733B(x, v) (BIT_CLEAR_BE_QUEUE_THR_8733B(x) | BIT_BE_QUEUE_THR_8733B(v))

#define BIT_SHIFT_VI_QUEUE_THR_8733B 8
#define BIT_MASK_VI_QUEUE_THR_8733B 0xff
#define BIT_VI_QUEUE_THR_8733B(x) (((x) & BIT_MASK_VI_QUEUE_THR_8733B) << BIT_SHIFT_VI_QUEUE_THR_8733B)
#define BITS_VI_QUEUE_THR_8733B (BIT_MASK_VI_QUEUE_THR_8733B << BIT_SHIFT_VI_QUEUE_THR_8733B)
#define BIT_CLEAR_VI_QUEUE_THR_8733B(x) ((x) & (~BITS_VI_QUEUE_THR_8733B))
#define BIT_GET_VI_QUEUE_THR_8733B(x) (((x) >> BIT_SHIFT_VI_QUEUE_THR_8733B) & BIT_MASK_VI_QUEUE_THR_8733B)
#define BIT_SET_VI_QUEUE_THR_8733B(x, v) (BIT_CLEAR_VI_QUEUE_THR_8733B(x) | BIT_VI_QUEUE_THR_8733B(v))

#define BIT_SHIFT_VO_QUEUE_THR_8733B 0
#define BIT_MASK_VO_QUEUE_THR_8733B 0xff
#define BIT_VO_QUEUE_THR_8733B(x) (((x) & BIT_MASK_VO_QUEUE_THR_8733B) << BIT_SHIFT_VO_QUEUE_THR_8733B)
#define BITS_VO_QUEUE_THR_8733B (BIT_MASK_VO_QUEUE_THR_8733B << BIT_SHIFT_VO_QUEUE_THR_8733B)
#define BIT_CLEAR_VO_QUEUE_THR_8733B(x) ((x) & (~BITS_VO_QUEUE_THR_8733B))
#define BIT_GET_VO_QUEUE_THR_8733B(x) (((x) >> BIT_SHIFT_VO_QUEUE_THR_8733B) & BIT_MASK_VO_QUEUE_THR_8733B)
#define BIT_SET_VO_QUEUE_THR_8733B(x, v) (BIT_CLEAR_VO_QUEUE_THR_8733B(x) | BIT_VO_QUEUE_THR_8733B(v))

/* 2 REG_QUEUE_INCOL_EN_8733B */
#define BIT_QUEUE_INCOL_EN_8733B BIT(16)

#define BIT_SHIFT_BK_TRIGGER_NUM_V1_8733B 12
#define BIT_MASK_BK_TRIGGER_NUM_V1_8733B 0xf
#define BIT_BK_TRIGGER_NUM_V1_8733B(x) (((x) & BIT_MASK_BK_TRIGGER_NUM_V1_8733B) << BIT_SHIFT_BK_TRIGGER_NUM_V1_8733B)
#define BITS_BK_TRIGGER_NUM_V1_8733B (BIT_MASK_BK_TRIGGER_NUM_V1_8733B << BIT_SHIFT_BK_TRIGGER_NUM_V1_8733B)
#define BIT_CLEAR_BK_TRIGGER_NUM_V1_8733B(x) ((x) & (~BITS_BK_TRIGGER_NUM_V1_8733B))
#define BIT_GET_BK_TRIGGER_NUM_V1_8733B(x) (((x) >> BIT_SHIFT_BK_TRIGGER_NUM_V1_8733B) & BIT_MASK_BK_TRIGGER_NUM_V1_8733B)
#define BIT_SET_BK_TRIGGER_NUM_V1_8733B(x, v) (BIT_CLEAR_BK_TRIGGER_NUM_V1_8733B(x) | BIT_BK_TRIGGER_NUM_V1_8733B(v))

#define BIT_SHIFT_BE_TRIGGER_NUM_V1_8733B 8
#define BIT_MASK_BE_TRIGGER_NUM_V1_8733B 0xf
#define BIT_BE_TRIGGER_NUM_V1_8733B(x) (((x) & BIT_MASK_BE_TRIGGER_NUM_V1_8733B) << BIT_SHIFT_BE_TRIGGER_NUM_V1_8733B)
#define BITS_BE_TRIGGER_NUM_V1_8733B (BIT_MASK_BE_TRIGGER_NUM_V1_8733B << BIT_SHIFT_BE_TRIGGER_NUM_V1_8733B)
#define BIT_CLEAR_BE_TRIGGER_NUM_V1_8733B(x) ((x) & (~BITS_BE_TRIGGER_NUM_V1_8733B))
#define BIT_GET_BE_TRIGGER_NUM_V1_8733B(x) (((x) >> BIT_SHIFT_BE_TRIGGER_NUM_V1_8733B) & BIT_MASK_BE_TRIGGER_NUM_V1_8733B)
#define BIT_SET_BE_TRIGGER_NUM_V1_8733B(x, v) (BIT_CLEAR_BE_TRIGGER_NUM_V1_8733B(x) | BIT_BE_TRIGGER_NUM_V1_8733B(v))

#define BIT_SHIFT_VI_TRIGGER_NUM_8733B 4
#define BIT_MASK_VI_TRIGGER_NUM_8733B 0xf
#define BIT_VI_TRIGGER_NUM_8733B(x) (((x) & BIT_MASK_VI_TRIGGER_NUM_8733B) << BIT_SHIFT_VI_TRIGGER_NUM_8733B)
#define BITS_VI_TRIGGER_NUM_8733B (BIT_MASK_VI_TRIGGER_NUM_8733B << BIT_SHIFT_VI_TRIGGER_NUM_8733B)
#define BIT_CLEAR_VI_TRIGGER_NUM_8733B(x) ((x) & (~BITS_VI_TRIGGER_NUM_8733B))
#define BIT_GET_VI_TRIGGER_NUM_8733B(x) (((x) >> BIT_SHIFT_VI_TRIGGER_NUM_8733B) & BIT_MASK_VI_TRIGGER_NUM_8733B)
#define BIT_SET_VI_TRIGGER_NUM_8733B(x, v) (BIT_CLEAR_VI_TRIGGER_NUM_8733B(x) | BIT_VI_TRIGGER_NUM_8733B(v))

#define BIT_SHIFT_VO_TRIGGER_NUM_8733B 0
#define BIT_MASK_VO_TRIGGER_NUM_8733B 0xf
#define BIT_VO_TRIGGER_NUM_8733B(x) (((x) & BIT_MASK_VO_TRIGGER_NUM_8733B) << BIT_SHIFT_VO_TRIGGER_NUM_8733B)
#define BITS_VO_TRIGGER_NUM_8733B (BIT_MASK_VO_TRIGGER_NUM_8733B << BIT_SHIFT_VO_TRIGGER_NUM_8733B)
#define BIT_CLEAR_VO_TRIGGER_NUM_8733B(x) ((x) & (~BITS_VO_TRIGGER_NUM_8733B))
#define BIT_GET_VO_TRIGGER_NUM_8733B(x) (((x) >> BIT_SHIFT_VO_TRIGGER_NUM_8733B) & BIT_MASK_VO_TRIGGER_NUM_8733B)
#define BIT_SET_VO_TRIGGER_NUM_8733B(x, v) (BIT_CLEAR_VO_TRIGGER_NUM_8733B(x) | BIT_VO_TRIGGER_NUM_8733B(v))

/* 2 REG_TBTT_PROHIBIT_8733B */

#define BIT_SHIFT_TBTT_HOLD_TIME_AP_8733B 8
#define BIT_MASK_TBTT_HOLD_TIME_AP_8733B 0xfff
#define BIT_TBTT_HOLD_TIME_AP_8733B(x) (((x) & BIT_MASK_TBTT_HOLD_TIME_AP_8733B) << BIT_SHIFT_TBTT_HOLD_TIME_AP_8733B)
#define BITS_TBTT_HOLD_TIME_AP_8733B (BIT_MASK_TBTT_HOLD_TIME_AP_8733B << BIT_SHIFT_TBTT_HOLD_TIME_AP_8733B)
#define BIT_CLEAR_TBTT_HOLD_TIME_AP_8733B(x) ((x) & (~BITS_TBTT_HOLD_TIME_AP_8733B))
#define BIT_GET_TBTT_HOLD_TIME_AP_8733B(x) (((x) >> BIT_SHIFT_TBTT_HOLD_TIME_AP_8733B) & BIT_MASK_TBTT_HOLD_TIME_AP_8733B)
#define BIT_SET_TBTT_HOLD_TIME_AP_8733B(x, v) (BIT_CLEAR_TBTT_HOLD_TIME_AP_8733B(x) | BIT_TBTT_HOLD_TIME_AP_8733B(v))

#define BIT_SHIFT_TBTT_PROHIBIT_SETUP_8733B 0
#define BIT_MASK_TBTT_PROHIBIT_SETUP_8733B 0xf
#define BIT_TBTT_PROHIBIT_SETUP_8733B(x) (((x) & BIT_MASK_TBTT_PROHIBIT_SETUP_8733B) << BIT_SHIFT_TBTT_PROHIBIT_SETUP_8733B)
#define BITS_TBTT_PROHIBIT_SETUP_8733B (BIT_MASK_TBTT_PROHIBIT_SETUP_8733B << BIT_SHIFT_TBTT_PROHIBIT_SETUP_8733B)
#define BIT_CLEAR_TBTT_PROHIBIT_SETUP_8733B(x) ((x) & (~BITS_TBTT_PROHIBIT_SETUP_8733B))
#define BIT_GET_TBTT_PROHIBIT_SETUP_8733B(x) (((x) >> BIT_SHIFT_TBTT_PROHIBIT_SETUP_8733B) & BIT_MASK_TBTT_PROHIBIT_SETUP_8733B)
#define BIT_SET_TBTT_PROHIBIT_SETUP_8733B(x, v) (BIT_CLEAR_TBTT_PROHIBIT_SETUP_8733B(x) | BIT_TBTT_PROHIBIT_SETUP_8733B(v))

/* 2 REG_P2PPS_STATE_8733B */
#define BIT_POWER_STATE_8733B BIT(7)
#define BIT_CTWINDOW_ON_8733B BIT(6)
#define BIT_BEACON_AREA_ON_8733B BIT(5)
#define BIT_CTWIN_EARLY_DISTX_8733B BIT(4)
#define BIT_NOA1_OFF_PERIOD_8733B BIT(3)
#define BIT_FORCE_DOZE1_8733B BIT(2)
#define BIT_NOA0_OFF_PERIOD_8733B BIT(1)
#define BIT_FORCE_DOZE0_8733B BIT(0)

/* 2 REG_RD_NAV_NXT_8733B */

#define BIT_SHIFT_RD_NAV_PROT_NXT_8733B 0
#define BIT_MASK_RD_NAV_PROT_NXT_8733B 0xffff
#define BIT_RD_NAV_PROT_NXT_8733B(x) (((x) & BIT_MASK_RD_NAV_PROT_NXT_8733B) << BIT_SHIFT_RD_NAV_PROT_NXT_8733B)
#define BITS_RD_NAV_PROT_NXT_8733B (BIT_MASK_RD_NAV_PROT_NXT_8733B << BIT_SHIFT_RD_NAV_PROT_NXT_8733B)
#define BIT_CLEAR_RD_NAV_PROT_NXT_8733B(x) ((x) & (~BITS_RD_NAV_PROT_NXT_8733B))
#define BIT_GET_RD_NAV_PROT_NXT_8733B(x) (((x) >> BIT_SHIFT_RD_NAV_PROT_NXT_8733B) & BIT_MASK_RD_NAV_PROT_NXT_8733B)
#define BIT_SET_RD_NAV_PROT_NXT_8733B(x, v) (BIT_CLEAR_RD_NAV_PROT_NXT_8733B(x) | BIT_RD_NAV_PROT_NXT_8733B(v))

/* 2 REG_NAV_PROT_LEN_8733B */

#define BIT_SHIFT_NAV_PROT_LEN_8733B 0
#define BIT_MASK_NAV_PROT_LEN_8733B 0xffff
#define BIT_NAV_PROT_LEN_8733B(x) (((x) & BIT_MASK_NAV_PROT_LEN_8733B) << BIT_SHIFT_NAV_PROT_LEN_8733B)
#define BITS_NAV_PROT_LEN_8733B (BIT_MASK_NAV_PROT_LEN_8733B << BIT_SHIFT_NAV_PROT_LEN_8733B)
#define BIT_CLEAR_NAV_PROT_LEN_8733B(x) ((x) & (~BITS_NAV_PROT_LEN_8733B))
#define BIT_GET_NAV_PROT_LEN_8733B(x) (((x) >> BIT_SHIFT_NAV_PROT_LEN_8733B) & BIT_MASK_NAV_PROT_LEN_8733B)
#define BIT_SET_NAV_PROT_LEN_8733B(x, v) (BIT_CLEAR_NAV_PROT_LEN_8733B(x) | BIT_NAV_PROT_LEN_8733B(v))

/* 2 REG_FTM_CTRL_8733B */

#define BIT_SHIFT_FTM_TSF_R2T_PORT_8733B 22
#define BIT_MASK_FTM_TSF_R2T_PORT_8733B 0x7
#define BIT_FTM_TSF_R2T_PORT_8733B(x) (((x) & BIT_MASK_FTM_TSF_R2T_PORT_8733B) << BIT_SHIFT_FTM_TSF_R2T_PORT_8733B)
#define BITS_FTM_TSF_R2T_PORT_8733B (BIT_MASK_FTM_TSF_R2T_PORT_8733B << BIT_SHIFT_FTM_TSF_R2T_PORT_8733B)
#define BIT_CLEAR_FTM_TSF_R2T_PORT_8733B(x) ((x) & (~BITS_FTM_TSF_R2T_PORT_8733B))
#define BIT_GET_FTM_TSF_R2T_PORT_8733B(x) (((x) >> BIT_SHIFT_FTM_TSF_R2T_PORT_8733B) & BIT_MASK_FTM_TSF_R2T_PORT_8733B)
#define BIT_SET_FTM_TSF_R2T_PORT_8733B(x, v) (BIT_CLEAR_FTM_TSF_R2T_PORT_8733B(x) | BIT_FTM_TSF_R2T_PORT_8733B(v))

#define BIT_SHIFT_FTM_TSF_T2R_PORT_8733B 19
#define BIT_MASK_FTM_TSF_T2R_PORT_8733B 0x7
#define BIT_FTM_TSF_T2R_PORT_8733B(x) (((x) & BIT_MASK_FTM_TSF_T2R_PORT_8733B) << BIT_SHIFT_FTM_TSF_T2R_PORT_8733B)
#define BITS_FTM_TSF_T2R_PORT_8733B (BIT_MASK_FTM_TSF_T2R_PORT_8733B << BIT_SHIFT_FTM_TSF_T2R_PORT_8733B)
#define BIT_CLEAR_FTM_TSF_T2R_PORT_8733B(x) ((x) & (~BITS_FTM_TSF_T2R_PORT_8733B))
#define BIT_GET_FTM_TSF_T2R_PORT_8733B(x) (((x) >> BIT_SHIFT_FTM_TSF_T2R_PORT_8733B) & BIT_MASK_FTM_TSF_T2R_PORT_8733B)
#define BIT_SET_FTM_TSF_T2R_PORT_8733B(x, v) (BIT_CLEAR_FTM_TSF_T2R_PORT_8733B(x) | BIT_FTM_TSF_T2R_PORT_8733B(v))

#define BIT_SHIFT_FTM_PTT_PORT_8733B 16
#define BIT_MASK_FTM_PTT_PORT_8733B 0x7
#define BIT_FTM_PTT_PORT_8733B(x) (((x) & BIT_MASK_FTM_PTT_PORT_8733B) << BIT_SHIFT_FTM_PTT_PORT_8733B)
#define BITS_FTM_PTT_PORT_8733B (BIT_MASK_FTM_PTT_PORT_8733B << BIT_SHIFT_FTM_PTT_PORT_8733B)
#define BIT_CLEAR_FTM_PTT_PORT_8733B(x) ((x) & (~BITS_FTM_PTT_PORT_8733B))
#define BIT_GET_FTM_PTT_PORT_8733B(x) (((x) >> BIT_SHIFT_FTM_PTT_PORT_8733B) & BIT_MASK_FTM_PTT_PORT_8733B)
#define BIT_SET_FTM_PTT_PORT_8733B(x, v) (BIT_CLEAR_FTM_PTT_PORT_8733B(x) | BIT_FTM_PTT_PORT_8733B(v))

#define BIT_SHIFT_FTM_PTT_8733B 0
#define BIT_MASK_FTM_PTT_8733B 0xffff
#define BIT_FTM_PTT_8733B(x) (((x) & BIT_MASK_FTM_PTT_8733B) << BIT_SHIFT_FTM_PTT_8733B)
#define BITS_FTM_PTT_8733B (BIT_MASK_FTM_PTT_8733B << BIT_SHIFT_FTM_PTT_8733B)
#define BIT_CLEAR_FTM_PTT_8733B(x) ((x) & (~BITS_FTM_PTT_8733B))
#define BIT_GET_FTM_PTT_8733B(x) (((x) >> BIT_SHIFT_FTM_PTT_8733B) & BIT_MASK_FTM_PTT_8733B)
#define BIT_SET_FTM_PTT_8733B(x, v) (BIT_CLEAR_FTM_PTT_8733B(x) | BIT_FTM_PTT_8733B(v))

/* 2 REG_FTM_TSF_CNT_8733B */

#define BIT_SHIFT_FTM_TSF_R2T_8733B 16
#define BIT_MASK_FTM_TSF_R2T_8733B 0xffff
#define BIT_FTM_TSF_R2T_8733B(x) (((x) & BIT_MASK_FTM_TSF_R2T_8733B) << BIT_SHIFT_FTM_TSF_R2T_8733B)
#define BITS_FTM_TSF_R2T_8733B (BIT_MASK_FTM_TSF_R2T_8733B << BIT_SHIFT_FTM_TSF_R2T_8733B)
#define BIT_CLEAR_FTM_TSF_R2T_8733B(x) ((x) & (~BITS_FTM_TSF_R2T_8733B))
#define BIT_GET_FTM_TSF_R2T_8733B(x) (((x) >> BIT_SHIFT_FTM_TSF_R2T_8733B) & BIT_MASK_FTM_TSF_R2T_8733B)
#define BIT_SET_FTM_TSF_R2T_8733B(x, v) (BIT_CLEAR_FTM_TSF_R2T_8733B(x) | BIT_FTM_TSF_R2T_8733B(v))

#define BIT_SHIFT_FTM_TSF_T2R_8733B 0
#define BIT_MASK_FTM_TSF_T2R_8733B 0xffff
#define BIT_FTM_TSF_T2R_8733B(x) (((x) & BIT_MASK_FTM_TSF_T2R_8733B) << BIT_SHIFT_FTM_TSF_T2R_8733B)
#define BITS_FTM_TSF_T2R_8733B (BIT_MASK_FTM_TSF_T2R_8733B << BIT_SHIFT_FTM_TSF_T2R_8733B)
#define BIT_CLEAR_FTM_TSF_T2R_8733B(x) ((x) & (~BITS_FTM_TSF_T2R_8733B))
#define BIT_GET_FTM_TSF_T2R_8733B(x) (((x) >> BIT_SHIFT_FTM_TSF_T2R_8733B) & BIT_MASK_FTM_TSF_T2R_8733B)
#define BIT_SET_FTM_TSF_T2R_8733B(x, v) (BIT_CLEAR_FTM_TSF_T2R_8733B(x) | BIT_FTM_TSF_T2R_8733B(v))

/* 2 REG_BCN_CTRL_8733B */
#define BIT_DIS_RX_BSSID_FIT_8733B BIT(6)
#define BIT_P0_EN_TXBCN_RPT_8733B BIT(5)
#define BIT_DIS_TSF_UDT_8733B BIT(4)
#define BIT_EN_BCN_FUNCTION_8733B BIT(3)
#define BIT_P0_EN_RXBCN_RPT_8733B BIT(2)
#define BIT_EN_P2P_CTWINDOW_8733B BIT(1)
#define BIT_EN_P2P_BCNQ_AREA_8733B BIT(0)

/* 2 REG_BCN_CTRL_CLINT0_8733B */
#define BIT_CLI0_DIS_RX_BSSID_FIT_8733B BIT(6)
#define BIT_CLI0_DIS_TSF_UDT_8733B BIT(4)
#define BIT_CLI0_EN_BCN_FUNCTION_8733B BIT(3)
#define BIT_CLI0_EN_RXBCN_RPT_8733B BIT(2)
#define BIT_CLI0_ENP2P_CTWINDOW_8733B BIT(1)
#define BIT_CLI0_ENP2P_BCNQ_AREA_8733B BIT(0)

/* 2 REG_MBID_NUM_8733B */

#define BIT_SHIFT_MBID_BCN_NUM_V2_8733B 4
#define BIT_MASK_MBID_BCN_NUM_V2_8733B 0xf
#define BIT_MBID_BCN_NUM_V2_8733B(x) (((x) & BIT_MASK_MBID_BCN_NUM_V2_8733B) << BIT_SHIFT_MBID_BCN_NUM_V2_8733B)
#define BITS_MBID_BCN_NUM_V2_8733B (BIT_MASK_MBID_BCN_NUM_V2_8733B << BIT_SHIFT_MBID_BCN_NUM_V2_8733B)
#define BIT_CLEAR_MBID_BCN_NUM_V2_8733B(x) ((x) & (~BITS_MBID_BCN_NUM_V2_8733B))
#define BIT_GET_MBID_BCN_NUM_V2_8733B(x) (((x) >> BIT_SHIFT_MBID_BCN_NUM_V2_8733B) & BIT_MASK_MBID_BCN_NUM_V2_8733B)
#define BIT_SET_MBID_BCN_NUM_V2_8733B(x, v) (BIT_CLEAR_MBID_BCN_NUM_V2_8733B(x) | BIT_MBID_BCN_NUM_V2_8733B(v))

#define BIT_EN_PRE_DL_BEACON_8733B BIT(3)

/* 2 REG_DUAL_TSF_RST_8733B */
#define BIT_FREECNT_RST_8733B BIT(5)
#define BIT_TSFTR_CLI3_RST_8733B BIT(4)
#define BIT_TSFTR_CLI2_RST_8733B BIT(3)
#define BIT_TSFTR_CLI1_RST_8733B BIT(2)
#define BIT_TSFTR_CLI0_RST_8733B BIT(1)
#define BIT_TSFTR_RST_8733B BIT(0)

/* 2 REG_MBSSID_BCN_SPACE_8733B */

#define BIT_SHIFT_BCN_TIMER_SEL_FWRD_8733B 28
#define BIT_MASK_BCN_TIMER_SEL_FWRD_8733B 0x7
#define BIT_BCN_TIMER_SEL_FWRD_8733B(x) (((x) & BIT_MASK_BCN_TIMER_SEL_FWRD_8733B) << BIT_SHIFT_BCN_TIMER_SEL_FWRD_8733B)
#define BITS_BCN_TIMER_SEL_FWRD_8733B (BIT_MASK_BCN_TIMER_SEL_FWRD_8733B << BIT_SHIFT_BCN_TIMER_SEL_FWRD_8733B)
#define BIT_CLEAR_BCN_TIMER_SEL_FWRD_8733B(x) ((x) & (~BITS_BCN_TIMER_SEL_FWRD_8733B))
#define BIT_GET_BCN_TIMER_SEL_FWRD_8733B(x) (((x) >> BIT_SHIFT_BCN_TIMER_SEL_FWRD_8733B) & BIT_MASK_BCN_TIMER_SEL_FWRD_8733B)
#define BIT_SET_BCN_TIMER_SEL_FWRD_8733B(x, v) (BIT_CLEAR_BCN_TIMER_SEL_FWRD_8733B(x) | BIT_BCN_TIMER_SEL_FWRD_8733B(v))

#define BIT_SHIFT_BCN_SPACE_CLINT0_8733B 16
#define BIT_MASK_BCN_SPACE_CLINT0_8733B 0xfff
#define BIT_BCN_SPACE_CLINT0_8733B(x) (((x) & BIT_MASK_BCN_SPACE_CLINT0_8733B) << BIT_SHIFT_BCN_SPACE_CLINT0_8733B)
#define BITS_BCN_SPACE_CLINT0_8733B (BIT_MASK_BCN_SPACE_CLINT0_8733B << BIT_SHIFT_BCN_SPACE_CLINT0_8733B)
#define BIT_CLEAR_BCN_SPACE_CLINT0_8733B(x) ((x) & (~BITS_BCN_SPACE_CLINT0_8733B))
#define BIT_GET_BCN_SPACE_CLINT0_8733B(x) (((x) >> BIT_SHIFT_BCN_SPACE_CLINT0_8733B) & BIT_MASK_BCN_SPACE_CLINT0_8733B)
#define BIT_SET_BCN_SPACE_CLINT0_8733B(x, v) (BIT_CLEAR_BCN_SPACE_CLINT0_8733B(x) | BIT_BCN_SPACE_CLINT0_8733B(v))

#define BIT_SHIFT_BCN_SPACE0_8733B 0
#define BIT_MASK_BCN_SPACE0_8733B 0xffff
#define BIT_BCN_SPACE0_8733B(x) (((x) & BIT_MASK_BCN_SPACE0_8733B) << BIT_SHIFT_BCN_SPACE0_8733B)
#define BITS_BCN_SPACE0_8733B (BIT_MASK_BCN_SPACE0_8733B << BIT_SHIFT_BCN_SPACE0_8733B)
#define BIT_CLEAR_BCN_SPACE0_8733B(x) ((x) & (~BITS_BCN_SPACE0_8733B))
#define BIT_GET_BCN_SPACE0_8733B(x) (((x) >> BIT_SHIFT_BCN_SPACE0_8733B) & BIT_MASK_BCN_SPACE0_8733B)
#define BIT_SET_BCN_SPACE0_8733B(x, v) (BIT_CLEAR_BCN_SPACE0_8733B(x) | BIT_BCN_SPACE0_8733B(v))

/* 2 REG_DRVERLYINT_8733B */

#define BIT_SHIFT_DRVERLYITV_8733B 0
#define BIT_MASK_DRVERLYITV_8733B 0xff
#define BIT_DRVERLYITV_8733B(x) (((x) & BIT_MASK_DRVERLYITV_8733B) << BIT_SHIFT_DRVERLYITV_8733B)
#define BITS_DRVERLYITV_8733B (BIT_MASK_DRVERLYITV_8733B << BIT_SHIFT_DRVERLYITV_8733B)
#define BIT_CLEAR_DRVERLYITV_8733B(x) ((x) & (~BITS_DRVERLYITV_8733B))
#define BIT_GET_DRVERLYITV_8733B(x) (((x) >> BIT_SHIFT_DRVERLYITV_8733B) & BIT_MASK_DRVERLYITV_8733B)
#define BIT_SET_DRVERLYITV_8733B(x, v) (BIT_CLEAR_DRVERLYITV_8733B(x) | BIT_DRVERLYITV_8733B(v))

/* 2 REG_BCNDMATIM_8733B */

#define BIT_SHIFT_BCNDMATIM_8733B 0
#define BIT_MASK_BCNDMATIM_8733B 0xff
#define BIT_BCNDMATIM_8733B(x) (((x) & BIT_MASK_BCNDMATIM_8733B) << BIT_SHIFT_BCNDMATIM_8733B)
#define BITS_BCNDMATIM_8733B (BIT_MASK_BCNDMATIM_8733B << BIT_SHIFT_BCNDMATIM_8733B)
#define BIT_CLEAR_BCNDMATIM_8733B(x) ((x) & (~BITS_BCNDMATIM_8733B))
#define BIT_GET_BCNDMATIM_8733B(x) (((x) >> BIT_SHIFT_BCNDMATIM_8733B) & BIT_MASK_BCNDMATIM_8733B)
#define BIT_SET_BCNDMATIM_8733B(x, v) (BIT_CLEAR_BCNDMATIM_8733B(x) | BIT_BCNDMATIM_8733B(v))

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_USTIME_TSF_8733B */

#define BIT_SHIFT_USTIME_TSF_V1_8733B 0
#define BIT_MASK_USTIME_TSF_V1_8733B 0xff
#define BIT_USTIME_TSF_V1_8733B(x) (((x) & BIT_MASK_USTIME_TSF_V1_8733B) << BIT_SHIFT_USTIME_TSF_V1_8733B)
#define BITS_USTIME_TSF_V1_8733B (BIT_MASK_USTIME_TSF_V1_8733B << BIT_SHIFT_USTIME_TSF_V1_8733B)
#define BIT_CLEAR_USTIME_TSF_V1_8733B(x) ((x) & (~BITS_USTIME_TSF_V1_8733B))
#define BIT_GET_USTIME_TSF_V1_8733B(x) (((x) >> BIT_SHIFT_USTIME_TSF_V1_8733B) & BIT_MASK_USTIME_TSF_V1_8733B)
#define BIT_SET_USTIME_TSF_V1_8733B(x, v) (BIT_CLEAR_USTIME_TSF_V1_8733B(x) | BIT_USTIME_TSF_V1_8733B(v))

/* 2 REG_BCN_MAX_ERR_8733B */

#define BIT_SHIFT_BCN_MAX_ERR_8733B 0
#define BIT_MASK_BCN_MAX_ERR_8733B 0xff
#define BIT_BCN_MAX_ERR_8733B(x) (((x) & BIT_MASK_BCN_MAX_ERR_8733B) << BIT_SHIFT_BCN_MAX_ERR_8733B)
#define BITS_BCN_MAX_ERR_8733B (BIT_MASK_BCN_MAX_ERR_8733B << BIT_SHIFT_BCN_MAX_ERR_8733B)
#define BIT_CLEAR_BCN_MAX_ERR_8733B(x) ((x) & (~BITS_BCN_MAX_ERR_8733B))
#define BIT_GET_BCN_MAX_ERR_8733B(x) (((x) >> BIT_SHIFT_BCN_MAX_ERR_8733B) & BIT_MASK_BCN_MAX_ERR_8733B)
#define BIT_SET_BCN_MAX_ERR_8733B(x, v) (BIT_CLEAR_BCN_MAX_ERR_8733B(x) | BIT_BCN_MAX_ERR_8733B(v))

/* 2 REG_RXTSF_OFFSET_CCK_8733B */

#define BIT_SHIFT_CCK_RXTSF_OFFSET_8733B 0
#define BIT_MASK_CCK_RXTSF_OFFSET_8733B 0xff
#define BIT_CCK_RXTSF_OFFSET_8733B(x) (((x) & BIT_MASK_CCK_RXTSF_OFFSET_8733B) << BIT_SHIFT_CCK_RXTSF_OFFSET_8733B)
#define BITS_CCK_RXTSF_OFFSET_8733B (BIT_MASK_CCK_RXTSF_OFFSET_8733B << BIT_SHIFT_CCK_RXTSF_OFFSET_8733B)
#define BIT_CLEAR_CCK_RXTSF_OFFSET_8733B(x) ((x) & (~BITS_CCK_RXTSF_OFFSET_8733B))
#define BIT_GET_CCK_RXTSF_OFFSET_8733B(x) (((x) >> BIT_SHIFT_CCK_RXTSF_OFFSET_8733B) & BIT_MASK_CCK_RXTSF_OFFSET_8733B)
#define BIT_SET_CCK_RXTSF_OFFSET_8733B(x, v) (BIT_CLEAR_CCK_RXTSF_OFFSET_8733B(x) | BIT_CCK_RXTSF_OFFSET_8733B(v))

/* 2 REG_RXTSF_OFFSET_OFDM_8733B */

#define BIT_SHIFT_OFDM_RXTSF_OFFSET_8733B 0
#define BIT_MASK_OFDM_RXTSF_OFFSET_8733B 0xff
#define BIT_OFDM_RXTSF_OFFSET_8733B(x) (((x) & BIT_MASK_OFDM_RXTSF_OFFSET_8733B) << BIT_SHIFT_OFDM_RXTSF_OFFSET_8733B)
#define BITS_OFDM_RXTSF_OFFSET_8733B (BIT_MASK_OFDM_RXTSF_OFFSET_8733B << BIT_SHIFT_OFDM_RXTSF_OFFSET_8733B)
#define BIT_CLEAR_OFDM_RXTSF_OFFSET_8733B(x) ((x) & (~BITS_OFDM_RXTSF_OFFSET_8733B))
#define BIT_GET_OFDM_RXTSF_OFFSET_8733B(x) (((x) >> BIT_SHIFT_OFDM_RXTSF_OFFSET_8733B) & BIT_MASK_OFDM_RXTSF_OFFSET_8733B)
#define BIT_SET_OFDM_RXTSF_OFFSET_8733B(x, v) (BIT_CLEAR_OFDM_RXTSF_OFFSET_8733B(x) | BIT_OFDM_RXTSF_OFFSET_8733B(v))

/* 2 REG_TSFTR_8733B */

#define BIT_SHIFT_TSF_TIMER_V1_8733B 0
#define BIT_MASK_TSF_TIMER_V1_8733B 0xffffffffL
#define BIT_TSF_TIMER_V1_8733B(x) (((x) & BIT_MASK_TSF_TIMER_V1_8733B) << BIT_SHIFT_TSF_TIMER_V1_8733B)
#define BITS_TSF_TIMER_V1_8733B (BIT_MASK_TSF_TIMER_V1_8733B << BIT_SHIFT_TSF_TIMER_V1_8733B)
#define BIT_CLEAR_TSF_TIMER_V1_8733B(x) ((x) & (~BITS_TSF_TIMER_V1_8733B))
#define BIT_GET_TSF_TIMER_V1_8733B(x) (((x) >> BIT_SHIFT_TSF_TIMER_V1_8733B) & BIT_MASK_TSF_TIMER_V1_8733B)
#define BIT_SET_TSF_TIMER_V1_8733B(x, v) (BIT_CLEAR_TSF_TIMER_V1_8733B(x) | BIT_TSF_TIMER_V1_8733B(v))

/* 2 REG_TSFTR_1_8733B */

#define BIT_SHIFT_TSF_TIMER_V2_8733B 0
#define BIT_MASK_TSF_TIMER_V2_8733B 0xffffffffL
#define BIT_TSF_TIMER_V2_8733B(x) (((x) & BIT_MASK_TSF_TIMER_V2_8733B) << BIT_SHIFT_TSF_TIMER_V2_8733B)
#define BITS_TSF_TIMER_V2_8733B (BIT_MASK_TSF_TIMER_V2_8733B << BIT_SHIFT_TSF_TIMER_V2_8733B)
#define BIT_CLEAR_TSF_TIMER_V2_8733B(x) ((x) & (~BITS_TSF_TIMER_V2_8733B))
#define BIT_GET_TSF_TIMER_V2_8733B(x) (((x) >> BIT_SHIFT_TSF_TIMER_V2_8733B) & BIT_MASK_TSF_TIMER_V2_8733B)
#define BIT_SET_TSF_TIMER_V2_8733B(x, v) (BIT_CLEAR_TSF_TIMER_V2_8733B(x) | BIT_TSF_TIMER_V2_8733B(v))

/* 2 REG_FREERUN_CNT_8733B */

#define BIT_SHIFT_FREERUN_CNT_V1_8733B 0
#define BIT_MASK_FREERUN_CNT_V1_8733B 0xffffffffL
#define BIT_FREERUN_CNT_V1_8733B(x) (((x) & BIT_MASK_FREERUN_CNT_V1_8733B) << BIT_SHIFT_FREERUN_CNT_V1_8733B)
#define BITS_FREERUN_CNT_V1_8733B (BIT_MASK_FREERUN_CNT_V1_8733B << BIT_SHIFT_FREERUN_CNT_V1_8733B)
#define BIT_CLEAR_FREERUN_CNT_V1_8733B(x) ((x) & (~BITS_FREERUN_CNT_V1_8733B))
#define BIT_GET_FREERUN_CNT_V1_8733B(x) (((x) >> BIT_SHIFT_FREERUN_CNT_V1_8733B) & BIT_MASK_FREERUN_CNT_V1_8733B)
#define BIT_SET_FREERUN_CNT_V1_8733B(x, v) (BIT_CLEAR_FREERUN_CNT_V1_8733B(x) | BIT_FREERUN_CNT_V1_8733B(v))

/* 2 REG_FREERUN_CNT_1_8733B */

#define BIT_SHIFT_FREERUN_CNT_V2_8733B 0
#define BIT_MASK_FREERUN_CNT_V2_8733B 0xffffffffL
#define BIT_FREERUN_CNT_V2_8733B(x) (((x) & BIT_MASK_FREERUN_CNT_V2_8733B) << BIT_SHIFT_FREERUN_CNT_V2_8733B)
#define BITS_FREERUN_CNT_V2_8733B (BIT_MASK_FREERUN_CNT_V2_8733B << BIT_SHIFT_FREERUN_CNT_V2_8733B)
#define BIT_CLEAR_FREERUN_CNT_V2_8733B(x) ((x) & (~BITS_FREERUN_CNT_V2_8733B))
#define BIT_GET_FREERUN_CNT_V2_8733B(x) (((x) >> BIT_SHIFT_FREERUN_CNT_V2_8733B) & BIT_MASK_FREERUN_CNT_V2_8733B)
#define BIT_SET_FREERUN_CNT_V2_8733B(x, v) (BIT_CLEAR_FREERUN_CNT_V2_8733B(x) | BIT_FREERUN_CNT_V2_8733B(v))

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_TBTT_PROHIBIT_INFRA_8733B */

#define BIT_SHIFT_TBTT_PROHIBIT_INFRA_8733B 0
#define BIT_MASK_TBTT_PROHIBIT_INFRA_8733B 0xff
#define BIT_TBTT_PROHIBIT_INFRA_8733B(x) (((x) & BIT_MASK_TBTT_PROHIBIT_INFRA_8733B) << BIT_SHIFT_TBTT_PROHIBIT_INFRA_8733B)
#define BITS_TBTT_PROHIBIT_INFRA_8733B (BIT_MASK_TBTT_PROHIBIT_INFRA_8733B << BIT_SHIFT_TBTT_PROHIBIT_INFRA_8733B)
#define BIT_CLEAR_TBTT_PROHIBIT_INFRA_8733B(x) ((x) & (~BITS_TBTT_PROHIBIT_INFRA_8733B))
#define BIT_GET_TBTT_PROHIBIT_INFRA_8733B(x) (((x) >> BIT_SHIFT_TBTT_PROHIBIT_INFRA_8733B) & BIT_MASK_TBTT_PROHIBIT_INFRA_8733B)
#define BIT_SET_TBTT_PROHIBIT_INFRA_8733B(x, v) (BIT_CLEAR_TBTT_PROHIBIT_INFRA_8733B(x) | BIT_TBTT_PROHIBIT_INFRA_8733B(v))

/* 2 REG_CTWND_8733B */

#define BIT_SHIFT_CTWND_8733B 0
#define BIT_MASK_CTWND_8733B 0xff
#define BIT_CTWND_8733B(x) (((x) & BIT_MASK_CTWND_8733B) << BIT_SHIFT_CTWND_8733B)
#define BITS_CTWND_8733B (BIT_MASK_CTWND_8733B << BIT_SHIFT_CTWND_8733B)
#define BIT_CLEAR_CTWND_8733B(x) ((x) & (~BITS_CTWND_8733B))
#define BIT_GET_CTWND_8733B(x) (((x) >> BIT_SHIFT_CTWND_8733B) & BIT_MASK_CTWND_8733B)
#define BIT_SET_CTWND_8733B(x, v) (BIT_CLEAR_CTWND_8733B(x) | BIT_CTWND_8733B(v))

/* 2 REG_BCNIVLCUNT_8733B */

#define BIT_SHIFT_BCNIVLCUNT_8733B 0
#define BIT_MASK_BCNIVLCUNT_8733B 0x7f
#define BIT_BCNIVLCUNT_8733B(x) (((x) & BIT_MASK_BCNIVLCUNT_8733B) << BIT_SHIFT_BCNIVLCUNT_8733B)
#define BITS_BCNIVLCUNT_8733B (BIT_MASK_BCNIVLCUNT_8733B << BIT_SHIFT_BCNIVLCUNT_8733B)
#define BIT_CLEAR_BCNIVLCUNT_8733B(x) ((x) & (~BITS_BCNIVLCUNT_8733B))
#define BIT_GET_BCNIVLCUNT_8733B(x) (((x) >> BIT_SHIFT_BCNIVLCUNT_8733B) & BIT_MASK_BCNIVLCUNT_8733B)
#define BIT_SET_BCNIVLCUNT_8733B(x, v) (BIT_CLEAR_BCNIVLCUNT_8733B(x) | BIT_BCNIVLCUNT_8733B(v))

/* 2 REG_BCNDROPCTRL_8733B */
#define BIT_BEACON_DROP_EN_8733B BIT(7)

#define BIT_SHIFT_BEACON_DROP_IVL_8733B 0
#define BIT_MASK_BEACON_DROP_IVL_8733B 0x7f
#define BIT_BEACON_DROP_IVL_8733B(x) (((x) & BIT_MASK_BEACON_DROP_IVL_8733B) << BIT_SHIFT_BEACON_DROP_IVL_8733B)
#define BITS_BEACON_DROP_IVL_8733B (BIT_MASK_BEACON_DROP_IVL_8733B << BIT_SHIFT_BEACON_DROP_IVL_8733B)
#define BIT_CLEAR_BEACON_DROP_IVL_8733B(x) ((x) & (~BITS_BEACON_DROP_IVL_8733B))
#define BIT_GET_BEACON_DROP_IVL_8733B(x) (((x) >> BIT_SHIFT_BEACON_DROP_IVL_8733B) & BIT_MASK_BEACON_DROP_IVL_8733B)
#define BIT_SET_BEACON_DROP_IVL_8733B(x, v) (BIT_CLEAR_BEACON_DROP_IVL_8733B(x) | BIT_BEACON_DROP_IVL_8733B(v))

/* 2 REG_HGQ_TIMEOUT_PERIOD_8733B */

#define BIT_SHIFT_HGQ_TIMEOUT_PERIOD_8733B 0
#define BIT_MASK_HGQ_TIMEOUT_PERIOD_8733B 0xff
#define BIT_HGQ_TIMEOUT_PERIOD_8733B(x) (((x) & BIT_MASK_HGQ_TIMEOUT_PERIOD_8733B) << BIT_SHIFT_HGQ_TIMEOUT_PERIOD_8733B)
#define BITS_HGQ_TIMEOUT_PERIOD_8733B (BIT_MASK_HGQ_TIMEOUT_PERIOD_8733B << BIT_SHIFT_HGQ_TIMEOUT_PERIOD_8733B)
#define BIT_CLEAR_HGQ_TIMEOUT_PERIOD_8733B(x) ((x) & (~BITS_HGQ_TIMEOUT_PERIOD_8733B))
#define BIT_GET_HGQ_TIMEOUT_PERIOD_8733B(x) (((x) >> BIT_SHIFT_HGQ_TIMEOUT_PERIOD_8733B) & BIT_MASK_HGQ_TIMEOUT_PERIOD_8733B)
#define BIT_SET_HGQ_TIMEOUT_PERIOD_8733B(x, v) (BIT_CLEAR_HGQ_TIMEOUT_PERIOD_8733B(x) | BIT_HGQ_TIMEOUT_PERIOD_8733B(v))

/* 2 REG_TXCMD_TIMEOUT_PERIOD_8733B */

#define BIT_SHIFT_TXCMD_TIMEOUT_PERIOD_8733B 0
#define BIT_MASK_TXCMD_TIMEOUT_PERIOD_8733B 0xff
#define BIT_TXCMD_TIMEOUT_PERIOD_8733B(x) (((x) & BIT_MASK_TXCMD_TIMEOUT_PERIOD_8733B) << BIT_SHIFT_TXCMD_TIMEOUT_PERIOD_8733B)
#define BITS_TXCMD_TIMEOUT_PERIOD_8733B (BIT_MASK_TXCMD_TIMEOUT_PERIOD_8733B << BIT_SHIFT_TXCMD_TIMEOUT_PERIOD_8733B)
#define BIT_CLEAR_TXCMD_TIMEOUT_PERIOD_8733B(x) ((x) & (~BITS_TXCMD_TIMEOUT_PERIOD_8733B))
#define BIT_GET_TXCMD_TIMEOUT_PERIOD_8733B(x) (((x) >> BIT_SHIFT_TXCMD_TIMEOUT_PERIOD_8733B) & BIT_MASK_TXCMD_TIMEOUT_PERIOD_8733B)
#define BIT_SET_TXCMD_TIMEOUT_PERIOD_8733B(x, v) (BIT_CLEAR_TXCMD_TIMEOUT_PERIOD_8733B(x) | BIT_TXCMD_TIMEOUT_PERIOD_8733B(v))

/* 2 REG_MISC_CTRL_8733B */
#define BIT_DIS_MARK_TSF_US_8733B BIT(7)
#define BIT_EN_TSFAUTO_SYNC_8733B BIT(6)
#define BIT_DIS_TRX_CAL_BCN_8733B BIT(5)
#define BIT_DIS_TX_CAL_TBTT_8733B BIT(4)
#define BIT_EN_FREECNT_8733B BIT(3)
#define BIT_BCN_AGGRESSION_8733B BIT(2)

#define BIT_SHIFT_DIS_SECONDARY_CCA_8733B 0
#define BIT_MASK_DIS_SECONDARY_CCA_8733B 0x3
#define BIT_DIS_SECONDARY_CCA_8733B(x) (((x) & BIT_MASK_DIS_SECONDARY_CCA_8733B) << BIT_SHIFT_DIS_SECONDARY_CCA_8733B)
#define BITS_DIS_SECONDARY_CCA_8733B (BIT_MASK_DIS_SECONDARY_CCA_8733B << BIT_SHIFT_DIS_SECONDARY_CCA_8733B)
#define BIT_CLEAR_DIS_SECONDARY_CCA_8733B(x) ((x) & (~BITS_DIS_SECONDARY_CCA_8733B))
#define BIT_GET_DIS_SECONDARY_CCA_8733B(x) (((x) >> BIT_SHIFT_DIS_SECONDARY_CCA_8733B) & BIT_MASK_DIS_SECONDARY_CCA_8733B)
#define BIT_SET_DIS_SECONDARY_CCA_8733B(x, v) (BIT_CLEAR_DIS_SECONDARY_CCA_8733B(x) | BIT_DIS_SECONDARY_CCA_8733B(v))

/* 2 REG_BCN_CTRL_CLINT1_8733B */
#define BIT_CLI1_DIS_RX_BSSID_FIT_8733B BIT(6)
#define BIT_CLI1_DIS_TSF_UDT_8733B BIT(4)
#define BIT_CLI1_EN_BCN_FUNCTION_8733B BIT(3)
#define BIT_CLI1_EN_RXBCN_RPT_8733B BIT(2)
#define BIT_CLI1_ENP2P_CTWINDOW_8733B BIT(1)
#define BIT_CLI1_ENP2P_BCNQ_AREA_8733B BIT(0)

/* 2 REG_BCN_CTRL_CLINT2_8733B */
#define BIT_CLI2_DIS_RX_BSSID_FIT_8733B BIT(6)
#define BIT_CLI2_DIS_TSF_UDT_8733B BIT(4)
#define BIT_CLI2_EN_BCN_FUNCTION_8733B BIT(3)
#define BIT_CLI2_EN_RXBCN_RPT_8733B BIT(2)
#define BIT_CLI2_ENP2P_CTWINDOW_8733B BIT(1)
#define BIT_CLI2_ENP2P_BCNQ_AREA_8733B BIT(0)

/* 2 REG_BCN_CTRL_CLINT3_8733B */
#define BIT_CLI3_DIS_RX_BSSID_FIT_8733B BIT(6)
#define BIT_CLI3_DIS_TSF_UDT_8733B BIT(4)
#define BIT_CLI3_EN_BCN_FUNCTION_8733B BIT(3)
#define BIT_CLI3_EN_RXBCN_RPT_8733B BIT(2)
#define BIT_CLI3_ENP2P_CTWINDOW_8733B BIT(1)
#define BIT_CLI3_ENP2P_BCNQ_AREA_8733B BIT(0)

/* 2 REG_EXTEND_CTRL_8733B */
#define BIT_EN_TSFBIT32_RST_P2P2_8733B BIT(5)
#define BIT_EN_TSFBIT32_RST_P2P1_8733B BIT(4)

#define BIT_SHIFT_PORT_SEL_8733B 0
#define BIT_MASK_PORT_SEL_8733B 0x7
#define BIT_PORT_SEL_8733B(x) (((x) & BIT_MASK_PORT_SEL_8733B) << BIT_SHIFT_PORT_SEL_8733B)
#define BITS_PORT_SEL_8733B (BIT_MASK_PORT_SEL_8733B << BIT_SHIFT_PORT_SEL_8733B)
#define BIT_CLEAR_PORT_SEL_8733B(x) ((x) & (~BITS_PORT_SEL_8733B))
#define BIT_GET_PORT_SEL_8733B(x) (((x) >> BIT_SHIFT_PORT_SEL_8733B) & BIT_MASK_PORT_SEL_8733B)
#define BIT_SET_PORT_SEL_8733B(x, v) (BIT_CLEAR_PORT_SEL_8733B(x) | BIT_PORT_SEL_8733B(v))

/* 2 REG_P2PPS1_SPEC_STATE_8733B */
#define BIT_P2P1_SPEC_POWER_STATE_8733B BIT(7)
#define BIT_P2P1_SPEC_CTWINDOW_ON_8733B BIT(6)
#define BIT_P2P1_SPEC_BCN_AREA_ON_8733B BIT(5)
#define BIT_P2P1_SPEC_CTWIN_EARLY_DISTX_8733B BIT(4)
#define BIT_P2P1_SPEC_NOA1_OFF_PERIOD_8733B BIT(3)
#define BIT_P2P1_SPEC_FORCE_DOZE1_8733B BIT(2)
#define BIT_P2P1_SPEC_NOA0_OFF_PERIOD_8733B BIT(1)
#define BIT_P2P1_SPEC_FORCE_DOZE0_8733B BIT(0)

/* 2 REG_P2PPS1_STATE_8733B */
#define BIT_P2P1_POWER_STATE_8733B BIT(7)
#define BIT_P2P1_CTWINDOW_ON_8733B BIT(6)
#define BIT_P2P1_BEACON_AREA_ON_8733B BIT(5)
#define BIT_P2P1_CTWIN_EARLY_DISTX_8733B BIT(4)
#define BIT_P2P1_NOA1_OFF_PERIOD_8733B BIT(3)
#define BIT_P2P1_FORCE_DOZE1_8733B BIT(2)
#define BIT_P2P1_NOA0_OFF_PERIOD_8733B BIT(1)
#define BIT_P2P1_FORCE_DOZE0_8733B BIT(0)

/* 2 REG_P2PPS2_SPEC_STATE_8733B */
#define BIT_P2P2_SPEC_POWER_STATE_8733B BIT(7)
#define BIT_P2P2_SPEC_CTWINDOW_ON_8733B BIT(6)
#define BIT_P2P2_SPEC_BCN_AREA_ON_8733B BIT(5)
#define BIT_P2P2_SPEC_CTWIN_EARLY_DISTX_8733B BIT(4)
#define BIT_P2P2_SPEC_NOA1_OFF_PERIOD_8733B BIT(3)
#define BIT_P2P2_SPEC_FORCE_DOZE1_8733B BIT(2)
#define BIT_P2P2_SPEC_NOA0_OFF_PERIOD_8733B BIT(1)
#define BIT_P2P2_SPEC_FORCE_DOZE0_8733B BIT(0)

/* 2 REG_P2PPS2_STATE_8733B */
#define BIT_P2P2_POWER_STATE_8733B BIT(7)
#define BIT_P2P2_CTWINDOW_ON_8733B BIT(6)
#define BIT_P2P2_BEACON_AREA_ON_8733B BIT(5)
#define BIT_P2P2_CTWIN_EARLY_DISTX_8733B BIT(4)
#define BIT_P2P2_NOA1_OFF_PERIOD_8733B BIT(3)
#define BIT_P2P2_FORCE_DOZE1_8733B BIT(2)
#define BIT_P2P2_NOA0_OFF_PERIOD_8733B BIT(1)
#define BIT_P2P2_FORCE_DOZE0_8733B BIT(0)

/* 2 REG_PS_TIMER0_8733B */

#define BIT_SHIFT_PSTIMER0_INT_8733B 5
#define BIT_MASK_PSTIMER0_INT_8733B 0x7ffffff
#define BIT_PSTIMER0_INT_8733B(x) (((x) & BIT_MASK_PSTIMER0_INT_8733B) << BIT_SHIFT_PSTIMER0_INT_8733B)
#define BITS_PSTIMER0_INT_8733B (BIT_MASK_PSTIMER0_INT_8733B << BIT_SHIFT_PSTIMER0_INT_8733B)
#define BIT_CLEAR_PSTIMER0_INT_8733B(x) ((x) & (~BITS_PSTIMER0_INT_8733B))
#define BIT_GET_PSTIMER0_INT_8733B(x) (((x) >> BIT_SHIFT_PSTIMER0_INT_8733B) & BIT_MASK_PSTIMER0_INT_8733B)
#define BIT_SET_PSTIMER0_INT_8733B(x, v) (BIT_CLEAR_PSTIMER0_INT_8733B(x) | BIT_PSTIMER0_INT_8733B(v))

/* 2 REG_PS_TIMER1_8733B */

#define BIT_SHIFT_PSTIMER1_INT_8733B 5
#define BIT_MASK_PSTIMER1_INT_8733B 0x7ffffff
#define BIT_PSTIMER1_INT_8733B(x) (((x) & BIT_MASK_PSTIMER1_INT_8733B) << BIT_SHIFT_PSTIMER1_INT_8733B)
#define BITS_PSTIMER1_INT_8733B (BIT_MASK_PSTIMER1_INT_8733B << BIT_SHIFT_PSTIMER1_INT_8733B)
#define BIT_CLEAR_PSTIMER1_INT_8733B(x) ((x) & (~BITS_PSTIMER1_INT_8733B))
#define BIT_GET_PSTIMER1_INT_8733B(x) (((x) >> BIT_SHIFT_PSTIMER1_INT_8733B) & BIT_MASK_PSTIMER1_INT_8733B)
#define BIT_SET_PSTIMER1_INT_8733B(x, v) (BIT_CLEAR_PSTIMER1_INT_8733B(x) | BIT_PSTIMER1_INT_8733B(v))

/* 2 REG_PS_TIMER2_8733B */

#define BIT_SHIFT_PSTIMER2_INT_8733B 5
#define BIT_MASK_PSTIMER2_INT_8733B 0x7ffffff
#define BIT_PSTIMER2_INT_8733B(x) (((x) & BIT_MASK_PSTIMER2_INT_8733B) << BIT_SHIFT_PSTIMER2_INT_8733B)
#define BITS_PSTIMER2_INT_8733B (BIT_MASK_PSTIMER2_INT_8733B << BIT_SHIFT_PSTIMER2_INT_8733B)
#define BIT_CLEAR_PSTIMER2_INT_8733B(x) ((x) & (~BITS_PSTIMER2_INT_8733B))
#define BIT_GET_PSTIMER2_INT_8733B(x) (((x) >> BIT_SHIFT_PSTIMER2_INT_8733B) & BIT_MASK_PSTIMER2_INT_8733B)
#define BIT_SET_PSTIMER2_INT_8733B(x, v) (BIT_CLEAR_PSTIMER2_INT_8733B(x) | BIT_PSTIMER2_INT_8733B(v))

/* 2 REG_TBTT_CTN_AREA_8733B */

#define BIT_SHIFT_TBTT_CTN_AREA_8733B 0
#define BIT_MASK_TBTT_CTN_AREA_8733B 0xff
#define BIT_TBTT_CTN_AREA_8733B(x) (((x) & BIT_MASK_TBTT_CTN_AREA_8733B) << BIT_SHIFT_TBTT_CTN_AREA_8733B)
#define BITS_TBTT_CTN_AREA_8733B (BIT_MASK_TBTT_CTN_AREA_8733B << BIT_SHIFT_TBTT_CTN_AREA_8733B)
#define BIT_CLEAR_TBTT_CTN_AREA_8733B(x) ((x) & (~BITS_TBTT_CTN_AREA_8733B))
#define BIT_GET_TBTT_CTN_AREA_8733B(x) (((x) >> BIT_SHIFT_TBTT_CTN_AREA_8733B) & BIT_MASK_TBTT_CTN_AREA_8733B)
#define BIT_SET_TBTT_CTN_AREA_8733B(x, v) (BIT_CLEAR_TBTT_CTN_AREA_8733B(x) | BIT_TBTT_CTN_AREA_8733B(v))

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_FORCE_BCN_IFS_8733B */

#define BIT_SHIFT_FORCE_BCN_IFS_8733B 0
#define BIT_MASK_FORCE_BCN_IFS_8733B 0xff
#define BIT_FORCE_BCN_IFS_8733B(x) (((x) & BIT_MASK_FORCE_BCN_IFS_8733B) << BIT_SHIFT_FORCE_BCN_IFS_8733B)
#define BITS_FORCE_BCN_IFS_8733B (BIT_MASK_FORCE_BCN_IFS_8733B << BIT_SHIFT_FORCE_BCN_IFS_8733B)
#define BIT_CLEAR_FORCE_BCN_IFS_8733B(x) ((x) & (~BITS_FORCE_BCN_IFS_8733B))
#define BIT_GET_FORCE_BCN_IFS_8733B(x) (((x) >> BIT_SHIFT_FORCE_BCN_IFS_8733B) & BIT_MASK_FORCE_BCN_IFS_8733B)
#define BIT_SET_FORCE_BCN_IFS_8733B(x, v) (BIT_CLEAR_FORCE_BCN_IFS_8733B(x) | BIT_FORCE_BCN_IFS_8733B(v))

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_TXOP_MIN_8733B */
#define BIT_NAV_BLK_HGQ_8733B BIT(15)
#define BIT_NAV_BLK_MGQ_8733B BIT(14)

#define BIT_SHIFT_TXOP_MIN_8733B 0
#define BIT_MASK_TXOP_MIN_8733B 0x3fff
#define BIT_TXOP_MIN_8733B(x) (((x) & BIT_MASK_TXOP_MIN_8733B) << BIT_SHIFT_TXOP_MIN_8733B)
#define BITS_TXOP_MIN_8733B (BIT_MASK_TXOP_MIN_8733B << BIT_SHIFT_TXOP_MIN_8733B)
#define BIT_CLEAR_TXOP_MIN_8733B(x) ((x) & (~BITS_TXOP_MIN_8733B))
#define BIT_GET_TXOP_MIN_8733B(x) (((x) >> BIT_SHIFT_TXOP_MIN_8733B) & BIT_MASK_TXOP_MIN_8733B)
#define BIT_SET_TXOP_MIN_8733B(x, v) (BIT_CLEAR_TXOP_MIN_8733B(x) | BIT_TXOP_MIN_8733B(v))

/* 2 REG_PRE_BKF_TIME_8733B */

#define BIT_SHIFT_PRE_BKF_TIME_8733B 0
#define BIT_MASK_PRE_BKF_TIME_8733B 0xff
#define BIT_PRE_BKF_TIME_8733B(x) (((x) & BIT_MASK_PRE_BKF_TIME_8733B) << BIT_SHIFT_PRE_BKF_TIME_8733B)
#define BITS_PRE_BKF_TIME_8733B (BIT_MASK_PRE_BKF_TIME_8733B << BIT_SHIFT_PRE_BKF_TIME_8733B)
#define BIT_CLEAR_PRE_BKF_TIME_8733B(x) ((x) & (~BITS_PRE_BKF_TIME_8733B))
#define BIT_GET_PRE_BKF_TIME_8733B(x) (((x) >> BIT_SHIFT_PRE_BKF_TIME_8733B) & BIT_MASK_PRE_BKF_TIME_8733B)
#define BIT_SET_PRE_BKF_TIME_8733B(x, v) (BIT_CLEAR_PRE_BKF_TIME_8733B(x) | BIT_PRE_BKF_TIME_8733B(v))

/* 2 REG_CROSS_TXOP_CTRL_8733B */
#define BIT_NOPKT_END_RTSMF_8733B BIT(7)
#define BIT_TXOP_FAIL_BREAK_8733B BIT(3)
#define BIT_DTIM_BYPASS_8733B BIT(2)
#define BIT_RTS_NAV_TXOP_8733B BIT(1)
#define BIT_NOT_CROSS_TXOP_8733B BIT(0)

/* 2 REG_TBTT_INT_SHIFT_CLI_8733B */
#define BIT_TBTT_INT_SHIFT_DIR_CLI3_V1_8733B BIT(31)

#define BIT_SHIFT_TBTT_INT_SHIFT_CLI3_V1_8733B 24
#define BIT_MASK_TBTT_INT_SHIFT_CLI3_V1_8733B 0x7f
#define BIT_TBTT_INT_SHIFT_CLI3_V1_8733B(x) (((x) & BIT_MASK_TBTT_INT_SHIFT_CLI3_V1_8733B) << BIT_SHIFT_TBTT_INT_SHIFT_CLI3_V1_8733B)
#define BITS_TBTT_INT_SHIFT_CLI3_V1_8733B (BIT_MASK_TBTT_INT_SHIFT_CLI3_V1_8733B << BIT_SHIFT_TBTT_INT_SHIFT_CLI3_V1_8733B)
#define BIT_CLEAR_TBTT_INT_SHIFT_CLI3_V1_8733B(x) ((x) & (~BITS_TBTT_INT_SHIFT_CLI3_V1_8733B))
#define BIT_GET_TBTT_INT_SHIFT_CLI3_V1_8733B(x) (((x) >> BIT_SHIFT_TBTT_INT_SHIFT_CLI3_V1_8733B) & BIT_MASK_TBTT_INT_SHIFT_CLI3_V1_8733B)
#define BIT_SET_TBTT_INT_SHIFT_CLI3_V1_8733B(x, v) (BIT_CLEAR_TBTT_INT_SHIFT_CLI3_V1_8733B(x) | BIT_TBTT_INT_SHIFT_CLI3_V1_8733B(v))

#define BIT_TBTT_INT_SHIFT_DIR_CLI2_V1_8733B BIT(23)

#define BIT_SHIFT_TBTT_INT_SHIFT_CLI2_V1_8733B 16
#define BIT_MASK_TBTT_INT_SHIFT_CLI2_V1_8733B 0x7f
#define BIT_TBTT_INT_SHIFT_CLI2_V1_8733B(x) (((x) & BIT_MASK_TBTT_INT_SHIFT_CLI2_V1_8733B) << BIT_SHIFT_TBTT_INT_SHIFT_CLI2_V1_8733B)
#define BITS_TBTT_INT_SHIFT_CLI2_V1_8733B (BIT_MASK_TBTT_INT_SHIFT_CLI2_V1_8733B << BIT_SHIFT_TBTT_INT_SHIFT_CLI2_V1_8733B)
#define BIT_CLEAR_TBTT_INT_SHIFT_CLI2_V1_8733B(x) ((x) & (~BITS_TBTT_INT_SHIFT_CLI2_V1_8733B))
#define BIT_GET_TBTT_INT_SHIFT_CLI2_V1_8733B(x) (((x) >> BIT_SHIFT_TBTT_INT_SHIFT_CLI2_V1_8733B) & BIT_MASK_TBTT_INT_SHIFT_CLI2_V1_8733B)
#define BIT_SET_TBTT_INT_SHIFT_CLI2_V1_8733B(x, v) (BIT_CLEAR_TBTT_INT_SHIFT_CLI2_V1_8733B(x) | BIT_TBTT_INT_SHIFT_CLI2_V1_8733B(v))

#define BIT_TBTT_INT_SHIFT_DIR_CLI1_V1_8733B BIT(15)

#define BIT_SHIFT_TBTT_INT_SHIFT_CLI1_V1_8733B 8
#define BIT_MASK_TBTT_INT_SHIFT_CLI1_V1_8733B 0x7f
#define BIT_TBTT_INT_SHIFT_CLI1_V1_8733B(x) (((x) & BIT_MASK_TBTT_INT_SHIFT_CLI1_V1_8733B) << BIT_SHIFT_TBTT_INT_SHIFT_CLI1_V1_8733B)
#define BITS_TBTT_INT_SHIFT_CLI1_V1_8733B (BIT_MASK_TBTT_INT_SHIFT_CLI1_V1_8733B << BIT_SHIFT_TBTT_INT_SHIFT_CLI1_V1_8733B)
#define BIT_CLEAR_TBTT_INT_SHIFT_CLI1_V1_8733B(x) ((x) & (~BITS_TBTT_INT_SHIFT_CLI1_V1_8733B))
#define BIT_GET_TBTT_INT_SHIFT_CLI1_V1_8733B(x) (((x) >> BIT_SHIFT_TBTT_INT_SHIFT_CLI1_V1_8733B) & BIT_MASK_TBTT_INT_SHIFT_CLI1_V1_8733B)
#define BIT_SET_TBTT_INT_SHIFT_CLI1_V1_8733B(x, v) (BIT_CLEAR_TBTT_INT_SHIFT_CLI1_V1_8733B(x) | BIT_TBTT_INT_SHIFT_CLI1_V1_8733B(v))

#define BIT_TBTT_INT_SHIFT_DIR_CLI0_V1_8733B BIT(7)

#define BIT_SHIFT_TBTT_INT_SHIFT_CLI0_8733B 0
#define BIT_MASK_TBTT_INT_SHIFT_CLI0_8733B 0x7f
#define BIT_TBTT_INT_SHIFT_CLI0_8733B(x) (((x) & BIT_MASK_TBTT_INT_SHIFT_CLI0_8733B) << BIT_SHIFT_TBTT_INT_SHIFT_CLI0_8733B)
#define BITS_TBTT_INT_SHIFT_CLI0_8733B (BIT_MASK_TBTT_INT_SHIFT_CLI0_8733B << BIT_SHIFT_TBTT_INT_SHIFT_CLI0_8733B)
#define BIT_CLEAR_TBTT_INT_SHIFT_CLI0_8733B(x) ((x) & (~BITS_TBTT_INT_SHIFT_CLI0_8733B))
#define BIT_GET_TBTT_INT_SHIFT_CLI0_8733B(x) (((x) >> BIT_SHIFT_TBTT_INT_SHIFT_CLI0_8733B) & BIT_MASK_TBTT_INT_SHIFT_CLI0_8733B)
#define BIT_SET_TBTT_INT_SHIFT_CLI0_8733B(x, v) (BIT_CLEAR_TBTT_INT_SHIFT_CLI0_8733B(x) | BIT_TBTT_INT_SHIFT_CLI0_8733B(v))

/* 2 REG_TBTT_INT_SHIFT_ENABLE_8733B */
#define BIT_EN_TBTT_RTY_8733B BIT(1)
#define BIT_TBTT_INT_SHIFT_ENABLE_8733B BIT(0)

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_ATIMWND_GROUP1_8733B */

#define BIT_SHIFT_ATIMWND_GROUP1_8733B 0
#define BIT_MASK_ATIMWND_GROUP1_8733B 0xff
#define BIT_ATIMWND_GROUP1_8733B(x) (((x) & BIT_MASK_ATIMWND_GROUP1_8733B) << BIT_SHIFT_ATIMWND_GROUP1_8733B)
#define BITS_ATIMWND_GROUP1_8733B (BIT_MASK_ATIMWND_GROUP1_8733B << BIT_SHIFT_ATIMWND_GROUP1_8733B)
#define BIT_CLEAR_ATIMWND_GROUP1_8733B(x) ((x) & (~BITS_ATIMWND_GROUP1_8733B))
#define BIT_GET_ATIMWND_GROUP1_8733B(x) (((x) >> BIT_SHIFT_ATIMWND_GROUP1_8733B) & BIT_MASK_ATIMWND_GROUP1_8733B)
#define BIT_SET_ATIMWND_GROUP1_8733B(x, v) (BIT_CLEAR_ATIMWND_GROUP1_8733B(x) | BIT_ATIMWND_GROUP1_8733B(v))

/* 2 REG_ATIMWND_GROUP2_8733B */

#define BIT_SHIFT_ATIMWND_GROUP2_8733B 0
#define BIT_MASK_ATIMWND_GROUP2_8733B 0xff
#define BIT_ATIMWND_GROUP2_8733B(x) (((x) & BIT_MASK_ATIMWND_GROUP2_8733B) << BIT_SHIFT_ATIMWND_GROUP2_8733B)
#define BITS_ATIMWND_GROUP2_8733B (BIT_MASK_ATIMWND_GROUP2_8733B << BIT_SHIFT_ATIMWND_GROUP2_8733B)
#define BIT_CLEAR_ATIMWND_GROUP2_8733B(x) ((x) & (~BITS_ATIMWND_GROUP2_8733B))
#define BIT_GET_ATIMWND_GROUP2_8733B(x) (((x) >> BIT_SHIFT_ATIMWND_GROUP2_8733B) & BIT_MASK_ATIMWND_GROUP2_8733B)
#define BIT_SET_ATIMWND_GROUP2_8733B(x, v) (BIT_CLEAR_ATIMWND_GROUP2_8733B(x) | BIT_ATIMWND_GROUP2_8733B(v))

/* 2 REG_ATIMWND_GROUP3_8733B */

#define BIT_SHIFT_ATIMWND_GROUP3_8733B 0
#define BIT_MASK_ATIMWND_GROUP3_8733B 0xff
#define BIT_ATIMWND_GROUP3_8733B(x) (((x) & BIT_MASK_ATIMWND_GROUP3_8733B) << BIT_SHIFT_ATIMWND_GROUP3_8733B)
#define BITS_ATIMWND_GROUP3_8733B (BIT_MASK_ATIMWND_GROUP3_8733B << BIT_SHIFT_ATIMWND_GROUP3_8733B)
#define BIT_CLEAR_ATIMWND_GROUP3_8733B(x) ((x) & (~BITS_ATIMWND_GROUP3_8733B))
#define BIT_GET_ATIMWND_GROUP3_8733B(x) (((x) >> BIT_SHIFT_ATIMWND_GROUP3_8733B) & BIT_MASK_ATIMWND_GROUP3_8733B)
#define BIT_SET_ATIMWND_GROUP3_8733B(x, v) (BIT_CLEAR_ATIMWND_GROUP3_8733B(x) | BIT_ATIMWND_GROUP3_8733B(v))

/* 2 REG_ATIMWND_GROUP4_8733B */

#define BIT_SHIFT_ATIMWND_GROUP4_8733B 0
#define BIT_MASK_ATIMWND_GROUP4_8733B 0xff
#define BIT_ATIMWND_GROUP4_8733B(x) (((x) & BIT_MASK_ATIMWND_GROUP4_8733B) << BIT_SHIFT_ATIMWND_GROUP4_8733B)
#define BITS_ATIMWND_GROUP4_8733B (BIT_MASK_ATIMWND_GROUP4_8733B << BIT_SHIFT_ATIMWND_GROUP4_8733B)
#define BIT_CLEAR_ATIMWND_GROUP4_8733B(x) ((x) & (~BITS_ATIMWND_GROUP4_8733B))
#define BIT_GET_ATIMWND_GROUP4_8733B(x) (((x) >> BIT_SHIFT_ATIMWND_GROUP4_8733B) & BIT_MASK_ATIMWND_GROUP4_8733B)
#define BIT_SET_ATIMWND_GROUP4_8733B(x, v) (BIT_CLEAR_ATIMWND_GROUP4_8733B(x) | BIT_ATIMWND_GROUP4_8733B(v))

/* 2 REG_DTIM_COUNT_GROUP1_8733B */

#define BIT_SHIFT_DTIM_COUNT_GROUP1_8733B 0
#define BIT_MASK_DTIM_COUNT_GROUP1_8733B 0xff
#define BIT_DTIM_COUNT_GROUP1_8733B(x) (((x) & BIT_MASK_DTIM_COUNT_GROUP1_8733B) << BIT_SHIFT_DTIM_COUNT_GROUP1_8733B)
#define BITS_DTIM_COUNT_GROUP1_8733B (BIT_MASK_DTIM_COUNT_GROUP1_8733B << BIT_SHIFT_DTIM_COUNT_GROUP1_8733B)
#define BIT_CLEAR_DTIM_COUNT_GROUP1_8733B(x) ((x) & (~BITS_DTIM_COUNT_GROUP1_8733B))
#define BIT_GET_DTIM_COUNT_GROUP1_8733B(x) (((x) >> BIT_SHIFT_DTIM_COUNT_GROUP1_8733B) & BIT_MASK_DTIM_COUNT_GROUP1_8733B)
#define BIT_SET_DTIM_COUNT_GROUP1_8733B(x, v) (BIT_CLEAR_DTIM_COUNT_GROUP1_8733B(x) | BIT_DTIM_COUNT_GROUP1_8733B(v))

/* 2 REG_DTIM_COUNT_GROUP2_8733B */

#define BIT_SHIFT_DTIM_COUNT_GROUP2_8733B 0
#define BIT_MASK_DTIM_COUNT_GROUP2_8733B 0xff
#define BIT_DTIM_COUNT_GROUP2_8733B(x) (((x) & BIT_MASK_DTIM_COUNT_GROUP2_8733B) << BIT_SHIFT_DTIM_COUNT_GROUP2_8733B)
#define BITS_DTIM_COUNT_GROUP2_8733B (BIT_MASK_DTIM_COUNT_GROUP2_8733B << BIT_SHIFT_DTIM_COUNT_GROUP2_8733B)
#define BIT_CLEAR_DTIM_COUNT_GROUP2_8733B(x) ((x) & (~BITS_DTIM_COUNT_GROUP2_8733B))
#define BIT_GET_DTIM_COUNT_GROUP2_8733B(x) (((x) >> BIT_SHIFT_DTIM_COUNT_GROUP2_8733B) & BIT_MASK_DTIM_COUNT_GROUP2_8733B)
#define BIT_SET_DTIM_COUNT_GROUP2_8733B(x, v) (BIT_CLEAR_DTIM_COUNT_GROUP2_8733B(x) | BIT_DTIM_COUNT_GROUP2_8733B(v))

/* 2 REG_DTIM_COUNT_GROUP3_8733B */

#define BIT_SHIFT_DTIM_COUNT_GROUP3_8733B 0
#define BIT_MASK_DTIM_COUNT_GROUP3_8733B 0xff
#define BIT_DTIM_COUNT_GROUP3_8733B(x) (((x) & BIT_MASK_DTIM_COUNT_GROUP3_8733B) << BIT_SHIFT_DTIM_COUNT_GROUP3_8733B)
#define BITS_DTIM_COUNT_GROUP3_8733B (BIT_MASK_DTIM_COUNT_GROUP3_8733B << BIT_SHIFT_DTIM_COUNT_GROUP3_8733B)
#define BIT_CLEAR_DTIM_COUNT_GROUP3_8733B(x) ((x) & (~BITS_DTIM_COUNT_GROUP3_8733B))
#define BIT_GET_DTIM_COUNT_GROUP3_8733B(x) (((x) >> BIT_SHIFT_DTIM_COUNT_GROUP3_8733B) & BIT_MASK_DTIM_COUNT_GROUP3_8733B)
#define BIT_SET_DTIM_COUNT_GROUP3_8733B(x, v) (BIT_CLEAR_DTIM_COUNT_GROUP3_8733B(x) | BIT_DTIM_COUNT_GROUP3_8733B(v))

/* 2 REG_DTIM_COUNT_GROUP4_8733B */

#define BIT_SHIFT_DTIM_COUNT_GROUP4_8733B 0
#define BIT_MASK_DTIM_COUNT_GROUP4_8733B 0xff
#define BIT_DTIM_COUNT_GROUP4_8733B(x) (((x) & BIT_MASK_DTIM_COUNT_GROUP4_8733B) << BIT_SHIFT_DTIM_COUNT_GROUP4_8733B)
#define BITS_DTIM_COUNT_GROUP4_8733B (BIT_MASK_DTIM_COUNT_GROUP4_8733B << BIT_SHIFT_DTIM_COUNT_GROUP4_8733B)
#define BIT_CLEAR_DTIM_COUNT_GROUP4_8733B(x) ((x) & (~BITS_DTIM_COUNT_GROUP4_8733B))
#define BIT_GET_DTIM_COUNT_GROUP4_8733B(x) (((x) >> BIT_SHIFT_DTIM_COUNT_GROUP4_8733B) & BIT_MASK_DTIM_COUNT_GROUP4_8733B)
#define BIT_SET_DTIM_COUNT_GROUP4_8733B(x, v) (BIT_CLEAR_DTIM_COUNT_GROUP4_8733B(x) | BIT_DTIM_COUNT_GROUP4_8733B(v))

/* 2 REG_HIQ_NO_LMT_EN_V2_8733B */

/* 2 REG_NOT_VALID_8733B */

#define BIT_SHIFT_DIS_ATIM_V1_8733B 16
#define BIT_MASK_DIS_ATIM_V1_8733B 0xff
#define BIT_DIS_ATIM_V1_8733B(x) (((x) & BIT_MASK_DIS_ATIM_V1_8733B) << BIT_SHIFT_DIS_ATIM_V1_8733B)
#define BITS_DIS_ATIM_V1_8733B (BIT_MASK_DIS_ATIM_V1_8733B << BIT_SHIFT_DIS_ATIM_V1_8733B)
#define BIT_CLEAR_DIS_ATIM_V1_8733B(x) ((x) & (~BITS_DIS_ATIM_V1_8733B))
#define BIT_GET_DIS_ATIM_V1_8733B(x) (((x) >> BIT_SHIFT_DIS_ATIM_V1_8733B) & BIT_MASK_DIS_ATIM_V1_8733B)
#define BIT_SET_DIS_ATIM_V1_8733B(x, v) (BIT_CLEAR_DIS_ATIM_V1_8733B(x) | BIT_DIS_ATIM_V1_8733B(v))

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */
#define BIT_HIQ_NO_LMT_EN_VAP7_8733B BIT(7)
#define BIT_HIQ_NO_LMT_EN_VAP6_8733B BIT(6)
#define BIT_HIQ_NO_LMT_EN_VAP5_8733B BIT(5)
#define BIT_HIQ_NO_LMT_EN_VAP4_8733B BIT(4)
#define BIT_HIQ_NO_LMT_EN_VAP3_8733B BIT(3)
#define BIT_HIQ_NO_LMT_EN_VAP2_8733B BIT(2)
#define BIT_HIQ_NO_LMT_EN_VAP1_8733B BIT(1)
#define BIT_HIQ_NO_LMT_EN_ROOT_8733B BIT(0)

/* 2 REG_MBID_BCNQ_EN_8733B */

/* 2 REG_NOT_VALID_8733B */

#define BIT_SHIFT_ATIM_CFG_SEL_8733B 24
#define BIT_MASK_ATIM_CFG_SEL_8733B 0x3
#define BIT_ATIM_CFG_SEL_8733B(x) (((x) & BIT_MASK_ATIM_CFG_SEL_8733B) << BIT_SHIFT_ATIM_CFG_SEL_8733B)
#define BITS_ATIM_CFG_SEL_8733B (BIT_MASK_ATIM_CFG_SEL_8733B << BIT_SHIFT_ATIM_CFG_SEL_8733B)
#define BIT_CLEAR_ATIM_CFG_SEL_8733B(x) ((x) & (~BITS_ATIM_CFG_SEL_8733B))
#define BIT_GET_ATIM_CFG_SEL_8733B(x) (((x) >> BIT_SHIFT_ATIM_CFG_SEL_8733B) & BIT_MASK_ATIM_CFG_SEL_8733B)
#define BIT_SET_ATIM_CFG_SEL_8733B(x, v) (BIT_CLEAR_ATIM_CFG_SEL_8733B(x) | BIT_ATIM_CFG_SEL_8733B(v))

#define BIT_SHIFT_ATIM_URGENT_V1_8733B 16
#define BIT_MASK_ATIM_URGENT_V1_8733B 0xff
#define BIT_ATIM_URGENT_V1_8733B(x) (((x) & BIT_MASK_ATIM_URGENT_V1_8733B) << BIT_SHIFT_ATIM_URGENT_V1_8733B)
#define BITS_ATIM_URGENT_V1_8733B (BIT_MASK_ATIM_URGENT_V1_8733B << BIT_SHIFT_ATIM_URGENT_V1_8733B)
#define BIT_CLEAR_ATIM_URGENT_V1_8733B(x) ((x) & (~BITS_ATIM_URGENT_V1_8733B))
#define BIT_GET_ATIM_URGENT_V1_8733B(x) (((x) >> BIT_SHIFT_ATIM_URGENT_V1_8733B) & BIT_MASK_ATIM_URGENT_V1_8733B)
#define BIT_SET_ATIM_URGENT_V1_8733B(x, v) (BIT_CLEAR_ATIM_URGENT_V1_8733B(x) | BIT_ATIM_URGENT_V1_8733B(v))

/* 2 REG_NOT_VALID_8733B */

#define BIT_SHIFT_MBID_BCNQ_EN_V1_8733B 0
#define BIT_MASK_MBID_BCNQ_EN_V1_8733B 0xff
#define BIT_MBID_BCNQ_EN_V1_8733B(x) (((x) & BIT_MASK_MBID_BCNQ_EN_V1_8733B) << BIT_SHIFT_MBID_BCNQ_EN_V1_8733B)
#define BITS_MBID_BCNQ_EN_V1_8733B (BIT_MASK_MBID_BCNQ_EN_V1_8733B << BIT_SHIFT_MBID_BCNQ_EN_V1_8733B)
#define BIT_CLEAR_MBID_BCNQ_EN_V1_8733B(x) ((x) & (~BITS_MBID_BCNQ_EN_V1_8733B))
#define BIT_GET_MBID_BCNQ_EN_V1_8733B(x) (((x) >> BIT_SHIFT_MBID_BCNQ_EN_V1_8733B) & BIT_MASK_MBID_BCNQ_EN_V1_8733B)
#define BIT_SET_MBID_BCNQ_EN_V1_8733B(x, v) (BIT_CLEAR_MBID_BCNQ_EN_V1_8733B(x) | BIT_MBID_BCNQ_EN_V1_8733B(v))

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_EARLY_128US_8733B */

#define BIT_SHIFT_TSFT_SEL_TIMER1_8733B 3
#define BIT_MASK_TSFT_SEL_TIMER1_8733B 0x7
#define BIT_TSFT_SEL_TIMER1_8733B(x) (((x) & BIT_MASK_TSFT_SEL_TIMER1_8733B) << BIT_SHIFT_TSFT_SEL_TIMER1_8733B)
#define BITS_TSFT_SEL_TIMER1_8733B (BIT_MASK_TSFT_SEL_TIMER1_8733B << BIT_SHIFT_TSFT_SEL_TIMER1_8733B)
#define BIT_CLEAR_TSFT_SEL_TIMER1_8733B(x) ((x) & (~BITS_TSFT_SEL_TIMER1_8733B))
#define BIT_GET_TSFT_SEL_TIMER1_8733B(x) (((x) >> BIT_SHIFT_TSFT_SEL_TIMER1_8733B) & BIT_MASK_TSFT_SEL_TIMER1_8733B)
#define BIT_SET_TSFT_SEL_TIMER1_8733B(x, v) (BIT_CLEAR_TSFT_SEL_TIMER1_8733B(x) | BIT_TSFT_SEL_TIMER1_8733B(v))

#define BIT_SHIFT_EARLY_128US_8733B 0
#define BIT_MASK_EARLY_128US_8733B 0x7
#define BIT_EARLY_128US_8733B(x) (((x) & BIT_MASK_EARLY_128US_8733B) << BIT_SHIFT_EARLY_128US_8733B)
#define BITS_EARLY_128US_8733B (BIT_MASK_EARLY_128US_8733B << BIT_SHIFT_EARLY_128US_8733B)
#define BIT_CLEAR_EARLY_128US_8733B(x) ((x) & (~BITS_EARLY_128US_8733B))
#define BIT_GET_EARLY_128US_8733B(x) (((x) >> BIT_SHIFT_EARLY_128US_8733B) & BIT_MASK_EARLY_128US_8733B)
#define BIT_SET_EARLY_128US_8733B(x, v) (BIT_CLEAR_EARLY_128US_8733B(x) | BIT_EARLY_128US_8733B(v))

/* 2 REG_P2PPS1_CTRL_8733B */
#define BIT_P2P1_CTW_ALLSTASLEEP_8733B BIT(7)
#define BIT_P2P1_OFF_DISTX_EN_8733B BIT(6)
#define BIT_P2P1_PWR_MGT_EN_8733B BIT(5)
#define BIT_P2P1_NOA1_EN_8733B BIT(2)
#define BIT_P2P1_NOA0_EN_8733B BIT(1)

/* 2 REG_P2PPS2_CTRL_8733B */
#define BIT_P2P2_CTW_ALLSTASLEEP_8733B BIT(7)
#define BIT_P2P2_OFF_DISTX_EN_8733B BIT(6)
#define BIT_P2P2_PWR_MGT_EN_8733B BIT(5)
#define BIT_P2P2_NOA1_EN_8733B BIT(2)
#define BIT_P2P2_NOA0_EN_8733B BIT(1)

/* 2 REG_TIMER0_SRC_SEL_8733B */

#define BIT_SHIFT_SYNC_CLI_SEL_8733B 4
#define BIT_MASK_SYNC_CLI_SEL_8733B 0x7
#define BIT_SYNC_CLI_SEL_8733B(x) (((x) & BIT_MASK_SYNC_CLI_SEL_8733B) << BIT_SHIFT_SYNC_CLI_SEL_8733B)
#define BITS_SYNC_CLI_SEL_8733B (BIT_MASK_SYNC_CLI_SEL_8733B << BIT_SHIFT_SYNC_CLI_SEL_8733B)
#define BIT_CLEAR_SYNC_CLI_SEL_8733B(x) ((x) & (~BITS_SYNC_CLI_SEL_8733B))
#define BIT_GET_SYNC_CLI_SEL_8733B(x) (((x) >> BIT_SHIFT_SYNC_CLI_SEL_8733B) & BIT_MASK_SYNC_CLI_SEL_8733B)
#define BIT_SET_SYNC_CLI_SEL_8733B(x, v) (BIT_CLEAR_SYNC_CLI_SEL_8733B(x) | BIT_SYNC_CLI_SEL_8733B(v))

#define BIT_SHIFT_TSFT_SEL_TIMER0_8733B 0
#define BIT_MASK_TSFT_SEL_TIMER0_8733B 0x7
#define BIT_TSFT_SEL_TIMER0_8733B(x) (((x) & BIT_MASK_TSFT_SEL_TIMER0_8733B) << BIT_SHIFT_TSFT_SEL_TIMER0_8733B)
#define BITS_TSFT_SEL_TIMER0_8733B (BIT_MASK_TSFT_SEL_TIMER0_8733B << BIT_SHIFT_TSFT_SEL_TIMER0_8733B)
#define BIT_CLEAR_TSFT_SEL_TIMER0_8733B(x) ((x) & (~BITS_TSFT_SEL_TIMER0_8733B))
#define BIT_GET_TSFT_SEL_TIMER0_8733B(x) (((x) >> BIT_SHIFT_TSFT_SEL_TIMER0_8733B) & BIT_MASK_TSFT_SEL_TIMER0_8733B)
#define BIT_SET_TSFT_SEL_TIMER0_8733B(x, v) (BIT_CLEAR_TSFT_SEL_TIMER0_8733B(x) | BIT_TSFT_SEL_TIMER0_8733B(v))

/* 2 REG_NOA_UNIT_SEL_8733B */

#define BIT_SHIFT_NOA_UNIT2_SEL_8733B 8
#define BIT_MASK_NOA_UNIT2_SEL_8733B 0x7
#define BIT_NOA_UNIT2_SEL_8733B(x) (((x) & BIT_MASK_NOA_UNIT2_SEL_8733B) << BIT_SHIFT_NOA_UNIT2_SEL_8733B)
#define BITS_NOA_UNIT2_SEL_8733B (BIT_MASK_NOA_UNIT2_SEL_8733B << BIT_SHIFT_NOA_UNIT2_SEL_8733B)
#define BIT_CLEAR_NOA_UNIT2_SEL_8733B(x) ((x) & (~BITS_NOA_UNIT2_SEL_8733B))
#define BIT_GET_NOA_UNIT2_SEL_8733B(x) (((x) >> BIT_SHIFT_NOA_UNIT2_SEL_8733B) & BIT_MASK_NOA_UNIT2_SEL_8733B)
#define BIT_SET_NOA_UNIT2_SEL_8733B(x, v) (BIT_CLEAR_NOA_UNIT2_SEL_8733B(x) | BIT_NOA_UNIT2_SEL_8733B(v))

#define BIT_SHIFT_NOA_UNIT1_SEL_8733B 4
#define BIT_MASK_NOA_UNIT1_SEL_8733B 0x7
#define BIT_NOA_UNIT1_SEL_8733B(x) (((x) & BIT_MASK_NOA_UNIT1_SEL_8733B) << BIT_SHIFT_NOA_UNIT1_SEL_8733B)
#define BITS_NOA_UNIT1_SEL_8733B (BIT_MASK_NOA_UNIT1_SEL_8733B << BIT_SHIFT_NOA_UNIT1_SEL_8733B)
#define BIT_CLEAR_NOA_UNIT1_SEL_8733B(x) ((x) & (~BITS_NOA_UNIT1_SEL_8733B))
#define BIT_GET_NOA_UNIT1_SEL_8733B(x) (((x) >> BIT_SHIFT_NOA_UNIT1_SEL_8733B) & BIT_MASK_NOA_UNIT1_SEL_8733B)
#define BIT_SET_NOA_UNIT1_SEL_8733B(x, v) (BIT_CLEAR_NOA_UNIT1_SEL_8733B(x) | BIT_NOA_UNIT1_SEL_8733B(v))

#define BIT_SHIFT_NOA_UNIT0_SEL_8733B 0
#define BIT_MASK_NOA_UNIT0_SEL_8733B 0x7
#define BIT_NOA_UNIT0_SEL_8733B(x) (((x) & BIT_MASK_NOA_UNIT0_SEL_8733B) << BIT_SHIFT_NOA_UNIT0_SEL_8733B)
#define BITS_NOA_UNIT0_SEL_8733B (BIT_MASK_NOA_UNIT0_SEL_8733B << BIT_SHIFT_NOA_UNIT0_SEL_8733B)
#define BIT_CLEAR_NOA_UNIT0_SEL_8733B(x) ((x) & (~BITS_NOA_UNIT0_SEL_8733B))
#define BIT_GET_NOA_UNIT0_SEL_8733B(x) (((x) >> BIT_SHIFT_NOA_UNIT0_SEL_8733B) & BIT_MASK_NOA_UNIT0_SEL_8733B)
#define BIT_SET_NOA_UNIT0_SEL_8733B(x, v) (BIT_CLEAR_NOA_UNIT0_SEL_8733B(x) | BIT_NOA_UNIT0_SEL_8733B(v))

/* 2 REG_P2POFF_DIS_TXTIME_8733B */

#define BIT_SHIFT_P2POFF_DIS_TXTIME_8733B 0
#define BIT_MASK_P2POFF_DIS_TXTIME_8733B 0xff
#define BIT_P2POFF_DIS_TXTIME_8733B(x) (((x) & BIT_MASK_P2POFF_DIS_TXTIME_8733B) << BIT_SHIFT_P2POFF_DIS_TXTIME_8733B)
#define BITS_P2POFF_DIS_TXTIME_8733B (BIT_MASK_P2POFF_DIS_TXTIME_8733B << BIT_SHIFT_P2POFF_DIS_TXTIME_8733B)
#define BIT_CLEAR_P2POFF_DIS_TXTIME_8733B(x) ((x) & (~BITS_P2POFF_DIS_TXTIME_8733B))
#define BIT_GET_P2POFF_DIS_TXTIME_8733B(x) (((x) >> BIT_SHIFT_P2POFF_DIS_TXTIME_8733B) & BIT_MASK_P2POFF_DIS_TXTIME_8733B)
#define BIT_SET_P2POFF_DIS_TXTIME_8733B(x, v) (BIT_CLEAR_P2POFF_DIS_TXTIME_8733B(x) | BIT_P2POFF_DIS_TXTIME_8733B(v))

/* 2 REG_MBSSID_BCN_SPACE2_8733B */

#define BIT_SHIFT_BCN_SPACE_CLINT2_8733B 16
#define BIT_MASK_BCN_SPACE_CLINT2_8733B 0xfff
#define BIT_BCN_SPACE_CLINT2_8733B(x) (((x) & BIT_MASK_BCN_SPACE_CLINT2_8733B) << BIT_SHIFT_BCN_SPACE_CLINT2_8733B)
#define BITS_BCN_SPACE_CLINT2_8733B (BIT_MASK_BCN_SPACE_CLINT2_8733B << BIT_SHIFT_BCN_SPACE_CLINT2_8733B)
#define BIT_CLEAR_BCN_SPACE_CLINT2_8733B(x) ((x) & (~BITS_BCN_SPACE_CLINT2_8733B))
#define BIT_GET_BCN_SPACE_CLINT2_8733B(x) (((x) >> BIT_SHIFT_BCN_SPACE_CLINT2_8733B) & BIT_MASK_BCN_SPACE_CLINT2_8733B)
#define BIT_SET_BCN_SPACE_CLINT2_8733B(x, v) (BIT_CLEAR_BCN_SPACE_CLINT2_8733B(x) | BIT_BCN_SPACE_CLINT2_8733B(v))

#define BIT_SHIFT_BCN_SPACE_CLINT1_8733B 0
#define BIT_MASK_BCN_SPACE_CLINT1_8733B 0xfff
#define BIT_BCN_SPACE_CLINT1_8733B(x) (((x) & BIT_MASK_BCN_SPACE_CLINT1_8733B) << BIT_SHIFT_BCN_SPACE_CLINT1_8733B)
#define BITS_BCN_SPACE_CLINT1_8733B (BIT_MASK_BCN_SPACE_CLINT1_8733B << BIT_SHIFT_BCN_SPACE_CLINT1_8733B)
#define BIT_CLEAR_BCN_SPACE_CLINT1_8733B(x) ((x) & (~BITS_BCN_SPACE_CLINT1_8733B))
#define BIT_GET_BCN_SPACE_CLINT1_8733B(x) (((x) >> BIT_SHIFT_BCN_SPACE_CLINT1_8733B) & BIT_MASK_BCN_SPACE_CLINT1_8733B)
#define BIT_SET_BCN_SPACE_CLINT1_8733B(x, v) (BIT_CLEAR_BCN_SPACE_CLINT1_8733B(x) | BIT_BCN_SPACE_CLINT1_8733B(v))

/* 2 REG_MBSSID_BCN_SPACE3_8733B */

#define BIT_SHIFT_SUB_BCN_SPACE_8733B 16
#define BIT_MASK_SUB_BCN_SPACE_8733B 0xff
#define BIT_SUB_BCN_SPACE_8733B(x) (((x) & BIT_MASK_SUB_BCN_SPACE_8733B) << BIT_SHIFT_SUB_BCN_SPACE_8733B)
#define BITS_SUB_BCN_SPACE_8733B (BIT_MASK_SUB_BCN_SPACE_8733B << BIT_SHIFT_SUB_BCN_SPACE_8733B)
#define BIT_CLEAR_SUB_BCN_SPACE_8733B(x) ((x) & (~BITS_SUB_BCN_SPACE_8733B))
#define BIT_GET_SUB_BCN_SPACE_8733B(x) (((x) >> BIT_SHIFT_SUB_BCN_SPACE_8733B) & BIT_MASK_SUB_BCN_SPACE_8733B)
#define BIT_SET_SUB_BCN_SPACE_8733B(x, v) (BIT_CLEAR_SUB_BCN_SPACE_8733B(x) | BIT_SUB_BCN_SPACE_8733B(v))

#define BIT_SHIFT_BCN_SPACE_CLINT3_8733B 0
#define BIT_MASK_BCN_SPACE_CLINT3_8733B 0xfff
#define BIT_BCN_SPACE_CLINT3_8733B(x) (((x) & BIT_MASK_BCN_SPACE_CLINT3_8733B) << BIT_SHIFT_BCN_SPACE_CLINT3_8733B)
#define BITS_BCN_SPACE_CLINT3_8733B (BIT_MASK_BCN_SPACE_CLINT3_8733B << BIT_SHIFT_BCN_SPACE_CLINT3_8733B)
#define BIT_CLEAR_BCN_SPACE_CLINT3_8733B(x) ((x) & (~BITS_BCN_SPACE_CLINT3_8733B))
#define BIT_GET_BCN_SPACE_CLINT3_8733B(x) (((x) >> BIT_SHIFT_BCN_SPACE_CLINT3_8733B) & BIT_MASK_BCN_SPACE_CLINT3_8733B)
#define BIT_SET_BCN_SPACE_CLINT3_8733B(x, v) (BIT_CLEAR_BCN_SPACE_CLINT3_8733B(x) | BIT_BCN_SPACE_CLINT3_8733B(v))

/* 2 REG_ACMHWCTRL_8733B */
#define BIT_BEQ_ACM_STATUS_8733B BIT(7)
#define BIT_VIQ_ACM_STATUS_8733B BIT(6)
#define BIT_VOQ_ACM_STATUS_8733B BIT(5)
#define BIT_BEQ_ACM_EN_8733B BIT(3)
#define BIT_VIQ_ACM_EN_8733B BIT(2)
#define BIT_VOQ_ACM_EN_8733B BIT(1)
#define BIT_ACMHWEN_8733B BIT(0)

/* 2 REG_ACMRSTCTRL_8733B */
#define BIT_BE_ACM_RESET_USED_TIME_8733B BIT(2)
#define BIT_VI_ACM_RESET_USED_TIME_8733B BIT(1)
#define BIT_VO_ACM_RESET_USED_TIME_8733B BIT(0)

/* 2 REG_ACMAVG_8733B */

#define BIT_SHIFT_AVGPERIOD_8733B 0
#define BIT_MASK_AVGPERIOD_8733B 0xffff
#define BIT_AVGPERIOD_8733B(x) (((x) & BIT_MASK_AVGPERIOD_8733B) << BIT_SHIFT_AVGPERIOD_8733B)
#define BITS_AVGPERIOD_8733B (BIT_MASK_AVGPERIOD_8733B << BIT_SHIFT_AVGPERIOD_8733B)
#define BIT_CLEAR_AVGPERIOD_8733B(x) ((x) & (~BITS_AVGPERIOD_8733B))
#define BIT_GET_AVGPERIOD_8733B(x) (((x) >> BIT_SHIFT_AVGPERIOD_8733B) & BIT_MASK_AVGPERIOD_8733B)
#define BIT_SET_AVGPERIOD_8733B(x, v) (BIT_CLEAR_AVGPERIOD_8733B(x) | BIT_AVGPERIOD_8733B(v))

/* 2 REG_VO_ADMTIME_8733B */

#define BIT_SHIFT_VO_ADMITTED_TIME_8733B 0
#define BIT_MASK_VO_ADMITTED_TIME_8733B 0xffff
#define BIT_VO_ADMITTED_TIME_8733B(x) (((x) & BIT_MASK_VO_ADMITTED_TIME_8733B) << BIT_SHIFT_VO_ADMITTED_TIME_8733B)
#define BITS_VO_ADMITTED_TIME_8733B (BIT_MASK_VO_ADMITTED_TIME_8733B << BIT_SHIFT_VO_ADMITTED_TIME_8733B)
#define BIT_CLEAR_VO_ADMITTED_TIME_8733B(x) ((x) & (~BITS_VO_ADMITTED_TIME_8733B))
#define BIT_GET_VO_ADMITTED_TIME_8733B(x) (((x) >> BIT_SHIFT_VO_ADMITTED_TIME_8733B) & BIT_MASK_VO_ADMITTED_TIME_8733B)
#define BIT_SET_VO_ADMITTED_TIME_8733B(x, v) (BIT_CLEAR_VO_ADMITTED_TIME_8733B(x) | BIT_VO_ADMITTED_TIME_8733B(v))

/* 2 REG_VI_ADMTIME_8733B */

#define BIT_SHIFT_VI_ADMITTED_TIME_8733B 0
#define BIT_MASK_VI_ADMITTED_TIME_8733B 0xffff
#define BIT_VI_ADMITTED_TIME_8733B(x) (((x) & BIT_MASK_VI_ADMITTED_TIME_8733B) << BIT_SHIFT_VI_ADMITTED_TIME_8733B)
#define BITS_VI_ADMITTED_TIME_8733B (BIT_MASK_VI_ADMITTED_TIME_8733B << BIT_SHIFT_VI_ADMITTED_TIME_8733B)
#define BIT_CLEAR_VI_ADMITTED_TIME_8733B(x) ((x) & (~BITS_VI_ADMITTED_TIME_8733B))
#define BIT_GET_VI_ADMITTED_TIME_8733B(x) (((x) >> BIT_SHIFT_VI_ADMITTED_TIME_8733B) & BIT_MASK_VI_ADMITTED_TIME_8733B)
#define BIT_SET_VI_ADMITTED_TIME_8733B(x, v) (BIT_CLEAR_VI_ADMITTED_TIME_8733B(x) | BIT_VI_ADMITTED_TIME_8733B(v))

/* 2 REG_BE_ADMTIME_8733B */

#define BIT_SHIFT_BE_ADMITTED_TIME_8733B 0
#define BIT_MASK_BE_ADMITTED_TIME_8733B 0xffff
#define BIT_BE_ADMITTED_TIME_8733B(x) (((x) & BIT_MASK_BE_ADMITTED_TIME_8733B) << BIT_SHIFT_BE_ADMITTED_TIME_8733B)
#define BITS_BE_ADMITTED_TIME_8733B (BIT_MASK_BE_ADMITTED_TIME_8733B << BIT_SHIFT_BE_ADMITTED_TIME_8733B)
#define BIT_CLEAR_BE_ADMITTED_TIME_8733B(x) ((x) & (~BITS_BE_ADMITTED_TIME_8733B))
#define BIT_GET_BE_ADMITTED_TIME_8733B(x) (((x) >> BIT_SHIFT_BE_ADMITTED_TIME_8733B) & BIT_MASK_BE_ADMITTED_TIME_8733B)
#define BIT_SET_BE_ADMITTED_TIME_8733B(x, v) (BIT_CLEAR_BE_ADMITTED_TIME_8733B(x) | BIT_BE_ADMITTED_TIME_8733B(v))

#define BIT_CHANGE_POW_BCN_AREA_8733B BIT(9)
#define BIT_DIS_NDPA_NAV_CHK_8733B BIT(8)

#define BIT_SHIFT_MHDR_NAV_OFFSET_8733B 0
#define BIT_MASK_MHDR_NAV_OFFSET_8733B 0xff
#define BIT_MHDR_NAV_OFFSET_8733B(x) (((x) & BIT_MASK_MHDR_NAV_OFFSET_8733B) << BIT_SHIFT_MHDR_NAV_OFFSET_8733B)
#define BITS_MHDR_NAV_OFFSET_8733B (BIT_MASK_MHDR_NAV_OFFSET_8733B << BIT_SHIFT_MHDR_NAV_OFFSET_8733B)
#define BIT_CLEAR_MHDR_NAV_OFFSET_8733B(x) ((x) & (~BITS_MHDR_NAV_OFFSET_8733B))
#define BIT_GET_MHDR_NAV_OFFSET_8733B(x) (((x) >> BIT_SHIFT_MHDR_NAV_OFFSET_8733B) & BIT_MASK_MHDR_NAV_OFFSET_8733B)
#define BIT_SET_MHDR_NAV_OFFSET_8733B(x, v) (BIT_CLEAR_MHDR_NAV_OFFSET_8733B(x) | BIT_MHDR_NAV_OFFSET_8733B(v))

/* 2 REG_EDCA_RANDOM_GEN_8733B */

#define BIT_SHIFT_RANDOM_GEN_8733B 0
#define BIT_MASK_RANDOM_GEN_8733B 0xffffff
#define BIT_RANDOM_GEN_8733B(x) (((x) & BIT_MASK_RANDOM_GEN_8733B) << BIT_SHIFT_RANDOM_GEN_8733B)
#define BITS_RANDOM_GEN_8733B (BIT_MASK_RANDOM_GEN_8733B << BIT_SHIFT_RANDOM_GEN_8733B)
#define BIT_CLEAR_RANDOM_GEN_8733B(x) ((x) & (~BITS_RANDOM_GEN_8733B))
#define BIT_GET_RANDOM_GEN_8733B(x) (((x) >> BIT_SHIFT_RANDOM_GEN_8733B) & BIT_MASK_RANDOM_GEN_8733B)
#define BIT_SET_RANDOM_GEN_8733B(x, v) (BIT_CLEAR_RANDOM_GEN_8733B(x) | BIT_RANDOM_GEN_8733B(v))

/* 2 REG_TXCMD_NOA_SEL_8733B */

#define BIT_SHIFT_NOA_SEL_V2_8733B 4
#define BIT_MASK_NOA_SEL_V2_8733B 0x7
#define BIT_NOA_SEL_V2_8733B(x) (((x) & BIT_MASK_NOA_SEL_V2_8733B) << BIT_SHIFT_NOA_SEL_V2_8733B)
#define BITS_NOA_SEL_V2_8733B (BIT_MASK_NOA_SEL_V2_8733B << BIT_SHIFT_NOA_SEL_V2_8733B)
#define BIT_CLEAR_NOA_SEL_V2_8733B(x) ((x) & (~BITS_NOA_SEL_V2_8733B))
#define BIT_GET_NOA_SEL_V2_8733B(x) (((x) >> BIT_SHIFT_NOA_SEL_V2_8733B) & BIT_MASK_NOA_SEL_V2_8733B)
#define BIT_SET_NOA_SEL_V2_8733B(x, v) (BIT_CLEAR_NOA_SEL_V2_8733B(x) | BIT_NOA_SEL_V2_8733B(v))

#define BIT_SHIFT_TXCMD_SEG_SEL_8733B 0
#define BIT_MASK_TXCMD_SEG_SEL_8733B 0xf
#define BIT_TXCMD_SEG_SEL_8733B(x) (((x) & BIT_MASK_TXCMD_SEG_SEL_8733B) << BIT_SHIFT_TXCMD_SEG_SEL_8733B)
#define BITS_TXCMD_SEG_SEL_8733B (BIT_MASK_TXCMD_SEG_SEL_8733B << BIT_SHIFT_TXCMD_SEG_SEL_8733B)
#define BIT_CLEAR_TXCMD_SEG_SEL_8733B(x) ((x) & (~BITS_TXCMD_SEG_SEL_8733B))
#define BIT_GET_TXCMD_SEG_SEL_8733B(x) (((x) >> BIT_SHIFT_TXCMD_SEG_SEL_8733B) & BIT_MASK_TXCMD_SEG_SEL_8733B)
#define BIT_SET_TXCMD_SEG_SEL_8733B(x, v) (BIT_CLEAR_TXCMD_SEG_SEL_8733B(x) | BIT_TXCMD_SEG_SEL_8733B(v))

/* 2 REG_BCNERR_CFG_8733B */
#define BIT_BCNERR_CNT_EN_8733B BIT(20)

#define BIT_SHIFT_BCNERR_PORT_SEL_V2_8733B 16
#define BIT_MASK_BCNERR_PORT_SEL_V2_8733B 0x7
#define BIT_BCNERR_PORT_SEL_V2_8733B(x) (((x) & BIT_MASK_BCNERR_PORT_SEL_V2_8733B) << BIT_SHIFT_BCNERR_PORT_SEL_V2_8733B)
#define BITS_BCNERR_PORT_SEL_V2_8733B (BIT_MASK_BCNERR_PORT_SEL_V2_8733B << BIT_SHIFT_BCNERR_PORT_SEL_V2_8733B)
#define BIT_CLEAR_BCNERR_PORT_SEL_V2_8733B(x) ((x) & (~BITS_BCNERR_PORT_SEL_V2_8733B))
#define BIT_GET_BCNERR_PORT_SEL_V2_8733B(x) (((x) >> BIT_SHIFT_BCNERR_PORT_SEL_V2_8733B) & BIT_MASK_BCNERR_PORT_SEL_V2_8733B)
#define BIT_SET_BCNERR_PORT_SEL_V2_8733B(x, v) (BIT_CLEAR_BCNERR_PORT_SEL_V2_8733B(x) | BIT_BCNERR_PORT_SEL_V2_8733B(v))

#define BIT_SHIFT_TXPAUSE1_8733B 8
#define BIT_MASK_TXPAUSE1_8733B 0xff
#define BIT_TXPAUSE1_8733B(x) (((x) & BIT_MASK_TXPAUSE1_8733B) << BIT_SHIFT_TXPAUSE1_8733B)
#define BITS_TXPAUSE1_8733B (BIT_MASK_TXPAUSE1_8733B << BIT_SHIFT_TXPAUSE1_8733B)
#define BIT_CLEAR_TXPAUSE1_8733B(x) ((x) & (~BITS_TXPAUSE1_8733B))
#define BIT_GET_TXPAUSE1_8733B(x) (((x) >> BIT_SHIFT_TXPAUSE1_8733B) & BIT_MASK_TXPAUSE1_8733B)
#define BIT_SET_TXPAUSE1_8733B(x, v) (BIT_CLEAR_TXPAUSE1_8733B(x) | BIT_TXPAUSE1_8733B(v))

#define BIT_SHIFT_BW_CFG_8733B 0
#define BIT_MASK_BW_CFG_8733B 0x3
#define BIT_BW_CFG_8733B(x) (((x) & BIT_MASK_BW_CFG_8733B) << BIT_SHIFT_BW_CFG_8733B)
#define BITS_BW_CFG_8733B (BIT_MASK_BW_CFG_8733B << BIT_SHIFT_BW_CFG_8733B)
#define BIT_CLEAR_BW_CFG_8733B(x) ((x) & (~BITS_BW_CFG_8733B))
#define BIT_GET_BW_CFG_8733B(x) (((x) >> BIT_SHIFT_BW_CFG_8733B) & BIT_MASK_BW_CFG_8733B)
#define BIT_SET_BW_CFG_8733B(x, v) (BIT_CLEAR_BW_CFG_8733B(x) | BIT_BW_CFG_8733B(v))

/* 2 REG_BCN_ELY_ADJ_8733B */

#define BIT_SHIFT_RXBCN_TIMER_8733B 16
#define BIT_MASK_RXBCN_TIMER_8733B 0xffff
#define BIT_RXBCN_TIMER_8733B(x) (((x) & BIT_MASK_RXBCN_TIMER_8733B) << BIT_SHIFT_RXBCN_TIMER_8733B)
#define BITS_RXBCN_TIMER_8733B (BIT_MASK_RXBCN_TIMER_8733B << BIT_SHIFT_RXBCN_TIMER_8733B)
#define BIT_CLEAR_RXBCN_TIMER_8733B(x) ((x) & (~BITS_RXBCN_TIMER_8733B))
#define BIT_GET_RXBCN_TIMER_8733B(x) (((x) >> BIT_SHIFT_RXBCN_TIMER_8733B) & BIT_MASK_RXBCN_TIMER_8733B)
#define BIT_SET_RXBCN_TIMER_8733B(x, v) (BIT_CLEAR_RXBCN_TIMER_8733B(x) | BIT_RXBCN_TIMER_8733B(v))

#define BIT_SHIFT_BCN_ELY_ADJ_8733B 0
#define BIT_MASK_BCN_ELY_ADJ_8733B 0xffff
#define BIT_BCN_ELY_ADJ_8733B(x) (((x) & BIT_MASK_BCN_ELY_ADJ_8733B) << BIT_SHIFT_BCN_ELY_ADJ_8733B)
#define BITS_BCN_ELY_ADJ_8733B (BIT_MASK_BCN_ELY_ADJ_8733B << BIT_SHIFT_BCN_ELY_ADJ_8733B)
#define BIT_CLEAR_BCN_ELY_ADJ_8733B(x) ((x) & (~BITS_BCN_ELY_ADJ_8733B))
#define BIT_GET_BCN_ELY_ADJ_8733B(x) (((x) >> BIT_SHIFT_BCN_ELY_ADJ_8733B) & BIT_MASK_BCN_ELY_ADJ_8733B)
#define BIT_SET_BCN_ELY_ADJ_8733B(x, v) (BIT_CLEAR_BCN_ELY_ADJ_8733B(x) | BIT_BCN_ELY_ADJ_8733B(v))

/* 2 REG_BCNERR_CNT1_8733B */

#define BIT_SHIFT_BCNERR_CNT_OTHERS_8733B 24
#define BIT_MASK_BCNERR_CNT_OTHERS_8733B 0xff
#define BIT_BCNERR_CNT_OTHERS_8733B(x) (((x) & BIT_MASK_BCNERR_CNT_OTHERS_8733B) << BIT_SHIFT_BCNERR_CNT_OTHERS_8733B)
#define BITS_BCNERR_CNT_OTHERS_8733B (BIT_MASK_BCNERR_CNT_OTHERS_8733B << BIT_SHIFT_BCNERR_CNT_OTHERS_8733B)
#define BIT_CLEAR_BCNERR_CNT_OTHERS_8733B(x) ((x) & (~BITS_BCNERR_CNT_OTHERS_8733B))
#define BIT_GET_BCNERR_CNT_OTHERS_8733B(x) (((x) >> BIT_SHIFT_BCNERR_CNT_OTHERS_8733B) & BIT_MASK_BCNERR_CNT_OTHERS_8733B)
#define BIT_SET_BCNERR_CNT_OTHERS_8733B(x, v) (BIT_CLEAR_BCNERR_CNT_OTHERS_8733B(x) | BIT_BCNERR_CNT_OTHERS_8733B(v))

#define BIT_SHIFT_BCNERR_CNT_INVALID_8733B 16
#define BIT_MASK_BCNERR_CNT_INVALID_8733B 0xff
#define BIT_BCNERR_CNT_INVALID_8733B(x) (((x) & BIT_MASK_BCNERR_CNT_INVALID_8733B) << BIT_SHIFT_BCNERR_CNT_INVALID_8733B)
#define BITS_BCNERR_CNT_INVALID_8733B (BIT_MASK_BCNERR_CNT_INVALID_8733B << BIT_SHIFT_BCNERR_CNT_INVALID_8733B)
#define BIT_CLEAR_BCNERR_CNT_INVALID_8733B(x) ((x) & (~BITS_BCNERR_CNT_INVALID_8733B))
#define BIT_GET_BCNERR_CNT_INVALID_8733B(x) (((x) >> BIT_SHIFT_BCNERR_CNT_INVALID_8733B) & BIT_MASK_BCNERR_CNT_INVALID_8733B)
#define BIT_SET_BCNERR_CNT_INVALID_8733B(x, v) (BIT_CLEAR_BCNERR_CNT_INVALID_8733B(x) | BIT_BCNERR_CNT_INVALID_8733B(v))

#define BIT_SHIFT_BCNERR_CNT_MAC_8733B 8
#define BIT_MASK_BCNERR_CNT_MAC_8733B 0xff
#define BIT_BCNERR_CNT_MAC_8733B(x) (((x) & BIT_MASK_BCNERR_CNT_MAC_8733B) << BIT_SHIFT_BCNERR_CNT_MAC_8733B)
#define BITS_BCNERR_CNT_MAC_8733B (BIT_MASK_BCNERR_CNT_MAC_8733B << BIT_SHIFT_BCNERR_CNT_MAC_8733B)
#define BIT_CLEAR_BCNERR_CNT_MAC_8733B(x) ((x) & (~BITS_BCNERR_CNT_MAC_8733B))
#define BIT_GET_BCNERR_CNT_MAC_8733B(x) (((x) >> BIT_SHIFT_BCNERR_CNT_MAC_8733B) & BIT_MASK_BCNERR_CNT_MAC_8733B)
#define BIT_SET_BCNERR_CNT_MAC_8733B(x, v) (BIT_CLEAR_BCNERR_CNT_MAC_8733B(x) | BIT_BCNERR_CNT_MAC_8733B(v))

#define BIT_SHIFT_BCNERR_CNT_CCA_8733B 0
#define BIT_MASK_BCNERR_CNT_CCA_8733B 0xff
#define BIT_BCNERR_CNT_CCA_8733B(x) (((x) & BIT_MASK_BCNERR_CNT_CCA_8733B) << BIT_SHIFT_BCNERR_CNT_CCA_8733B)
#define BITS_BCNERR_CNT_CCA_8733B (BIT_MASK_BCNERR_CNT_CCA_8733B << BIT_SHIFT_BCNERR_CNT_CCA_8733B)
#define BIT_CLEAR_BCNERR_CNT_CCA_8733B(x) ((x) & (~BITS_BCNERR_CNT_CCA_8733B))
#define BIT_GET_BCNERR_CNT_CCA_8733B(x) (((x) >> BIT_SHIFT_BCNERR_CNT_CCA_8733B) & BIT_MASK_BCNERR_CNT_CCA_8733B)
#define BIT_SET_BCNERR_CNT_CCA_8733B(x, v) (BIT_CLEAR_BCNERR_CNT_CCA_8733B(x) | BIT_BCNERR_CNT_CCA_8733B(v))

/* 2 REG_BCNERR_CNT2_8733B */

#define BIT_SHIFT_BCNERR_CNT_EDCCA_8733B 0
#define BIT_MASK_BCNERR_CNT_EDCCA_8733B 0xff
#define BIT_BCNERR_CNT_EDCCA_8733B(x) (((x) & BIT_MASK_BCNERR_CNT_EDCCA_8733B) << BIT_SHIFT_BCNERR_CNT_EDCCA_8733B)
#define BITS_BCNERR_CNT_EDCCA_8733B (BIT_MASK_BCNERR_CNT_EDCCA_8733B << BIT_SHIFT_BCNERR_CNT_EDCCA_8733B)
#define BIT_CLEAR_BCNERR_CNT_EDCCA_8733B(x) ((x) & (~BITS_BCNERR_CNT_EDCCA_8733B))
#define BIT_GET_BCNERR_CNT_EDCCA_8733B(x) (((x) >> BIT_SHIFT_BCNERR_CNT_EDCCA_8733B) & BIT_MASK_BCNERR_CNT_EDCCA_8733B)
#define BIT_SET_BCNERR_CNT_EDCCA_8733B(x, v) (BIT_CLEAR_BCNERR_CNT_EDCCA_8733B(x) | BIT_BCNERR_CNT_EDCCA_8733B(v))

/* 2 REG_NOA_PARAM_8733B */

#define BIT_SHIFT_NOA_DURATION_V1_8733B 0
#define BIT_MASK_NOA_DURATION_V1_8733B 0xffffffffL
#define BIT_NOA_DURATION_V1_8733B(x) (((x) & BIT_MASK_NOA_DURATION_V1_8733B) << BIT_SHIFT_NOA_DURATION_V1_8733B)
#define BITS_NOA_DURATION_V1_8733B (BIT_MASK_NOA_DURATION_V1_8733B << BIT_SHIFT_NOA_DURATION_V1_8733B)
#define BIT_CLEAR_NOA_DURATION_V1_8733B(x) ((x) & (~BITS_NOA_DURATION_V1_8733B))
#define BIT_GET_NOA_DURATION_V1_8733B(x) (((x) >> BIT_SHIFT_NOA_DURATION_V1_8733B) & BIT_MASK_NOA_DURATION_V1_8733B)
#define BIT_SET_NOA_DURATION_V1_8733B(x, v) (BIT_CLEAR_NOA_DURATION_V1_8733B(x) | BIT_NOA_DURATION_V1_8733B(v))

/* 2 REG_NOA_PARAM_1_8733B */

#define BIT_SHIFT_NOA_INTERVAL_V1_8733B 0
#define BIT_MASK_NOA_INTERVAL_V1_8733B 0xffffffffL
#define BIT_NOA_INTERVAL_V1_8733B(x) (((x) & BIT_MASK_NOA_INTERVAL_V1_8733B) << BIT_SHIFT_NOA_INTERVAL_V1_8733B)
#define BITS_NOA_INTERVAL_V1_8733B (BIT_MASK_NOA_INTERVAL_V1_8733B << BIT_SHIFT_NOA_INTERVAL_V1_8733B)
#define BIT_CLEAR_NOA_INTERVAL_V1_8733B(x) ((x) & (~BITS_NOA_INTERVAL_V1_8733B))
#define BIT_GET_NOA_INTERVAL_V1_8733B(x) (((x) >> BIT_SHIFT_NOA_INTERVAL_V1_8733B) & BIT_MASK_NOA_INTERVAL_V1_8733B)
#define BIT_SET_NOA_INTERVAL_V1_8733B(x, v) (BIT_CLEAR_NOA_INTERVAL_V1_8733B(x) | BIT_NOA_INTERVAL_V1_8733B(v))

/* 2 REG_NOA_PARAM_2_8733B */

#define BIT_SHIFT_NOA_START_TIME_V1_8733B 0
#define BIT_MASK_NOA_START_TIME_V1_8733B 0xffffffffL
#define BIT_NOA_START_TIME_V1_8733B(x) (((x) & BIT_MASK_NOA_START_TIME_V1_8733B) << BIT_SHIFT_NOA_START_TIME_V1_8733B)
#define BITS_NOA_START_TIME_V1_8733B (BIT_MASK_NOA_START_TIME_V1_8733B << BIT_SHIFT_NOA_START_TIME_V1_8733B)
#define BIT_CLEAR_NOA_START_TIME_V1_8733B(x) ((x) & (~BITS_NOA_START_TIME_V1_8733B))
#define BIT_GET_NOA_START_TIME_V1_8733B(x) (((x) >> BIT_SHIFT_NOA_START_TIME_V1_8733B) & BIT_MASK_NOA_START_TIME_V1_8733B)
#define BIT_SET_NOA_START_TIME_V1_8733B(x, v) (BIT_CLEAR_NOA_START_TIME_V1_8733B(x) | BIT_NOA_START_TIME_V1_8733B(v))

/* 2 REG_NOA_PARAM_3_8733B */

#define BIT_SHIFT_NOA_COUNT_V3_8733B 0
#define BIT_MASK_NOA_COUNT_V3_8733B 0xff
#define BIT_NOA_COUNT_V3_8733B(x) (((x) & BIT_MASK_NOA_COUNT_V3_8733B) << BIT_SHIFT_NOA_COUNT_V3_8733B)
#define BITS_NOA_COUNT_V3_8733B (BIT_MASK_NOA_COUNT_V3_8733B << BIT_SHIFT_NOA_COUNT_V3_8733B)
#define BIT_CLEAR_NOA_COUNT_V3_8733B(x) ((x) & (~BITS_NOA_COUNT_V3_8733B))
#define BIT_GET_NOA_COUNT_V3_8733B(x) (((x) >> BIT_SHIFT_NOA_COUNT_V3_8733B) & BIT_MASK_NOA_COUNT_V3_8733B)
#define BIT_SET_NOA_COUNT_V3_8733B(x, v) (BIT_CLEAR_NOA_COUNT_V3_8733B(x) | BIT_NOA_COUNT_V3_8733B(v))

/* 2 REG_P2P_RST_8733B */
#define BIT_P2P2_PWR_RST1_8733B BIT(5)
#define BIT_P2P2_PWR_RST0_8733B BIT(4)
#define BIT_P2P1_PWR_RST1_8733B BIT(3)
#define BIT_P2P1_PWR_RST0_8733B BIT(2)
#define BIT_P2P_PWR_RST1_V1_8733B BIT(1)
#define BIT_P2P_PWR_RST0_V1_8733B BIT(0)

/* 2 REG_SCHEDULER_RST_8733B */
#define BIT_SYNC_CLI_ONCE_RIGHT_NOW_8733B BIT(2)
#define BIT_SYNC_CLI_ONCE_BY_TBTT_8733B BIT(1)
#define BIT_SCHEDULER_RST_V1_8733B BIT(0)

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_SCHEDULER_DBG_8733B */

#define BIT_SHIFT_DBG_SCHEDULER_8733B 0
#define BIT_MASK_DBG_SCHEDULER_8733B 0xffffffffL
#define BIT_DBG_SCHEDULER_8733B(x) (((x) & BIT_MASK_DBG_SCHEDULER_8733B) << BIT_SHIFT_DBG_SCHEDULER_8733B)
#define BITS_DBG_SCHEDULER_8733B (BIT_MASK_DBG_SCHEDULER_8733B << BIT_SHIFT_DBG_SCHEDULER_8733B)
#define BIT_CLEAR_DBG_SCHEDULER_8733B(x) ((x) & (~BITS_DBG_SCHEDULER_8733B))
#define BIT_GET_DBG_SCHEDULER_8733B(x) (((x) >> BIT_SHIFT_DBG_SCHEDULER_8733B) & BIT_MASK_DBG_SCHEDULER_8733B)
#define BIT_SET_DBG_SCHEDULER_8733B(x, v) (BIT_CLEAR_DBG_SCHEDULER_8733B(x) | BIT_DBG_SCHEDULER_8733B(v))

/* 2 REG_SCH_TXCMD_8733B */

#define BIT_SHIFT_SCH_TXCMD_8733B 0
#define BIT_MASK_SCH_TXCMD_8733B 0xffffffffL
#define BIT_SCH_TXCMD_8733B(x) (((x) & BIT_MASK_SCH_TXCMD_8733B) << BIT_SHIFT_SCH_TXCMD_8733B)
#define BITS_SCH_TXCMD_8733B (BIT_MASK_SCH_TXCMD_8733B << BIT_SHIFT_SCH_TXCMD_8733B)
#define BIT_CLEAR_SCH_TXCMD_8733B(x) ((x) & (~BITS_SCH_TXCMD_8733B))
#define BIT_GET_SCH_TXCMD_8733B(x) (((x) >> BIT_SHIFT_SCH_TXCMD_8733B) & BIT_MASK_SCH_TXCMD_8733B)
#define BIT_SET_SCH_TXCMD_8733B(x, v) (BIT_CLEAR_SCH_TXCMD_8733B(x) | BIT_SCH_TXCMD_8733B(v))

/* 2 REG_PAGE5_DUMMY_8733B */

/* 2 REG_CPUMGQ_TX_TIMER_8733B */

#define BIT_SHIFT_CPUMGQ_TX_TIMER_V1_8733B 0
#define BIT_MASK_CPUMGQ_TX_TIMER_V1_8733B 0xffffffffL
#define BIT_CPUMGQ_TX_TIMER_V1_8733B(x) (((x) & BIT_MASK_CPUMGQ_TX_TIMER_V1_8733B) << BIT_SHIFT_CPUMGQ_TX_TIMER_V1_8733B)
#define BITS_CPUMGQ_TX_TIMER_V1_8733B (BIT_MASK_CPUMGQ_TX_TIMER_V1_8733B << BIT_SHIFT_CPUMGQ_TX_TIMER_V1_8733B)
#define BIT_CLEAR_CPUMGQ_TX_TIMER_V1_8733B(x) ((x) & (~BITS_CPUMGQ_TX_TIMER_V1_8733B))
#define BIT_GET_CPUMGQ_TX_TIMER_V1_8733B(x) (((x) >> BIT_SHIFT_CPUMGQ_TX_TIMER_V1_8733B) & BIT_MASK_CPUMGQ_TX_TIMER_V1_8733B)
#define BIT_SET_CPUMGQ_TX_TIMER_V1_8733B(x, v) (BIT_CLEAR_CPUMGQ_TX_TIMER_V1_8733B(x) | BIT_CPUMGQ_TX_TIMER_V1_8733B(v))

/* 2 REG_PS_TIMER_A_8733B */

#define BIT_SHIFT_PS_TIMER_A_V1_8733B 0
#define BIT_MASK_PS_TIMER_A_V1_8733B 0xffffffffL
#define BIT_PS_TIMER_A_V1_8733B(x) (((x) & BIT_MASK_PS_TIMER_A_V1_8733B) << BIT_SHIFT_PS_TIMER_A_V1_8733B)
#define BITS_PS_TIMER_A_V1_8733B (BIT_MASK_PS_TIMER_A_V1_8733B << BIT_SHIFT_PS_TIMER_A_V1_8733B)
#define BIT_CLEAR_PS_TIMER_A_V1_8733B(x) ((x) & (~BITS_PS_TIMER_A_V1_8733B))
#define BIT_GET_PS_TIMER_A_V1_8733B(x) (((x) >> BIT_SHIFT_PS_TIMER_A_V1_8733B) & BIT_MASK_PS_TIMER_A_V1_8733B)
#define BIT_SET_PS_TIMER_A_V1_8733B(x, v) (BIT_CLEAR_PS_TIMER_A_V1_8733B(x) | BIT_PS_TIMER_A_V1_8733B(v))

/* 2 REG_PS_TIMER_B_8733B */

#define BIT_SHIFT_PS_TIMER_B_V1_8733B 0
#define BIT_MASK_PS_TIMER_B_V1_8733B 0xffffffffL
#define BIT_PS_TIMER_B_V1_8733B(x) (((x) & BIT_MASK_PS_TIMER_B_V1_8733B) << BIT_SHIFT_PS_TIMER_B_V1_8733B)
#define BITS_PS_TIMER_B_V1_8733B (BIT_MASK_PS_TIMER_B_V1_8733B << BIT_SHIFT_PS_TIMER_B_V1_8733B)
#define BIT_CLEAR_PS_TIMER_B_V1_8733B(x) ((x) & (~BITS_PS_TIMER_B_V1_8733B))
#define BIT_GET_PS_TIMER_B_V1_8733B(x) (((x) >> BIT_SHIFT_PS_TIMER_B_V1_8733B) & BIT_MASK_PS_TIMER_B_V1_8733B)
#define BIT_SET_PS_TIMER_B_V1_8733B(x, v) (BIT_CLEAR_PS_TIMER_B_V1_8733B(x) | BIT_PS_TIMER_B_V1_8733B(v))

/* 2 REG_PS_TIMER_C_8733B */

#define BIT_SHIFT_PS_TIMER_C_V1_8733B 0
#define BIT_MASK_PS_TIMER_C_V1_8733B 0xffffffffL
#define BIT_PS_TIMER_C_V1_8733B(x) (((x) & BIT_MASK_PS_TIMER_C_V1_8733B) << BIT_SHIFT_PS_TIMER_C_V1_8733B)
#define BITS_PS_TIMER_C_V1_8733B (BIT_MASK_PS_TIMER_C_V1_8733B << BIT_SHIFT_PS_TIMER_C_V1_8733B)
#define BIT_CLEAR_PS_TIMER_C_V1_8733B(x) ((x) & (~BITS_PS_TIMER_C_V1_8733B))
#define BIT_GET_PS_TIMER_C_V1_8733B(x) (((x) >> BIT_SHIFT_PS_TIMER_C_V1_8733B) & BIT_MASK_PS_TIMER_C_V1_8733B)
#define BIT_SET_PS_TIMER_C_V1_8733B(x, v) (BIT_CLEAR_PS_TIMER_C_V1_8733B(x) | BIT_PS_TIMER_C_V1_8733B(v))

/* 2 REG_PS_TIMER_ABC_CPUMGQ_TIMER_CRTL_8733B */
#define BIT_CPUMGQ_TIMER_EN_8733B BIT(31)
#define BIT_CPUMGQ_TX_EN_8733B BIT(28)

#define BIT_SHIFT_CPUMGQ_TIMER_TSF_SEL_8733B 24
#define BIT_MASK_CPUMGQ_TIMER_TSF_SEL_8733B 0x7
#define BIT_CPUMGQ_TIMER_TSF_SEL_8733B(x) (((x) & BIT_MASK_CPUMGQ_TIMER_TSF_SEL_8733B) << BIT_SHIFT_CPUMGQ_TIMER_TSF_SEL_8733B)
#define BITS_CPUMGQ_TIMER_TSF_SEL_8733B (BIT_MASK_CPUMGQ_TIMER_TSF_SEL_8733B << BIT_SHIFT_CPUMGQ_TIMER_TSF_SEL_8733B)
#define BIT_CLEAR_CPUMGQ_TIMER_TSF_SEL_8733B(x) ((x) & (~BITS_CPUMGQ_TIMER_TSF_SEL_8733B))
#define BIT_GET_CPUMGQ_TIMER_TSF_SEL_8733B(x) (((x) >> BIT_SHIFT_CPUMGQ_TIMER_TSF_SEL_8733B) & BIT_MASK_CPUMGQ_TIMER_TSF_SEL_8733B)
#define BIT_SET_CPUMGQ_TIMER_TSF_SEL_8733B(x, v) (BIT_CLEAR_CPUMGQ_TIMER_TSF_SEL_8733B(x) | BIT_CPUMGQ_TIMER_TSF_SEL_8733B(v))

#define BIT_PS_TIMER_C_EN_8733B BIT(23)

#define BIT_SHIFT_PS_TIMER_C_TSF_SEL_8733B 16
#define BIT_MASK_PS_TIMER_C_TSF_SEL_8733B 0x7
#define BIT_PS_TIMER_C_TSF_SEL_8733B(x) (((x) & BIT_MASK_PS_TIMER_C_TSF_SEL_8733B) << BIT_SHIFT_PS_TIMER_C_TSF_SEL_8733B)
#define BITS_PS_TIMER_C_TSF_SEL_8733B (BIT_MASK_PS_TIMER_C_TSF_SEL_8733B << BIT_SHIFT_PS_TIMER_C_TSF_SEL_8733B)
#define BIT_CLEAR_PS_TIMER_C_TSF_SEL_8733B(x) ((x) & (~BITS_PS_TIMER_C_TSF_SEL_8733B))
#define BIT_GET_PS_TIMER_C_TSF_SEL_8733B(x) (((x) >> BIT_SHIFT_PS_TIMER_C_TSF_SEL_8733B) & BIT_MASK_PS_TIMER_C_TSF_SEL_8733B)
#define BIT_SET_PS_TIMER_C_TSF_SEL_8733B(x, v) (BIT_CLEAR_PS_TIMER_C_TSF_SEL_8733B(x) | BIT_PS_TIMER_C_TSF_SEL_8733B(v))

#define BIT_PS_TIMER_B_EN_8733B BIT(15)

#define BIT_SHIFT_PS_TIMER_B_TSF_SEL_8733B 8
#define BIT_MASK_PS_TIMER_B_TSF_SEL_8733B 0x7
#define BIT_PS_TIMER_B_TSF_SEL_8733B(x) (((x) & BIT_MASK_PS_TIMER_B_TSF_SEL_8733B) << BIT_SHIFT_PS_TIMER_B_TSF_SEL_8733B)
#define BITS_PS_TIMER_B_TSF_SEL_8733B (BIT_MASK_PS_TIMER_B_TSF_SEL_8733B << BIT_SHIFT_PS_TIMER_B_TSF_SEL_8733B)
#define BIT_CLEAR_PS_TIMER_B_TSF_SEL_8733B(x) ((x) & (~BITS_PS_TIMER_B_TSF_SEL_8733B))
#define BIT_GET_PS_TIMER_B_TSF_SEL_8733B(x) (((x) >> BIT_SHIFT_PS_TIMER_B_TSF_SEL_8733B) & BIT_MASK_PS_TIMER_B_TSF_SEL_8733B)
#define BIT_SET_PS_TIMER_B_TSF_SEL_8733B(x, v) (BIT_CLEAR_PS_TIMER_B_TSF_SEL_8733B(x) | BIT_PS_TIMER_B_TSF_SEL_8733B(v))

#define BIT_PS_TIMER_A_EN_8733B BIT(7)

#define BIT_SHIFT_PS_TIMER_A_TSF_SEL_8733B 0
#define BIT_MASK_PS_TIMER_A_TSF_SEL_8733B 0x7
#define BIT_PS_TIMER_A_TSF_SEL_8733B(x) (((x) & BIT_MASK_PS_TIMER_A_TSF_SEL_8733B) << BIT_SHIFT_PS_TIMER_A_TSF_SEL_8733B)
#define BITS_PS_TIMER_A_TSF_SEL_8733B (BIT_MASK_PS_TIMER_A_TSF_SEL_8733B << BIT_SHIFT_PS_TIMER_A_TSF_SEL_8733B)
#define BIT_CLEAR_PS_TIMER_A_TSF_SEL_8733B(x) ((x) & (~BITS_PS_TIMER_A_TSF_SEL_8733B))
#define BIT_GET_PS_TIMER_A_TSF_SEL_8733B(x) (((x) >> BIT_SHIFT_PS_TIMER_A_TSF_SEL_8733B) & BIT_MASK_PS_TIMER_A_TSF_SEL_8733B)
#define BIT_SET_PS_TIMER_A_TSF_SEL_8733B(x, v) (BIT_CLEAR_PS_TIMER_A_TSF_SEL_8733B(x) | BIT_PS_TIMER_A_TSF_SEL_8733B(v))

/* 2 REG_CPUMGQ_TX_TIMER_EARLY_8733B */

#define BIT_SHIFT_CPUMGQ_TX_TIMER_EARLY_8733B 0
#define BIT_MASK_CPUMGQ_TX_TIMER_EARLY_8733B 0xff
#define BIT_CPUMGQ_TX_TIMER_EARLY_8733B(x) (((x) & BIT_MASK_CPUMGQ_TX_TIMER_EARLY_8733B) << BIT_SHIFT_CPUMGQ_TX_TIMER_EARLY_8733B)
#define BITS_CPUMGQ_TX_TIMER_EARLY_8733B (BIT_MASK_CPUMGQ_TX_TIMER_EARLY_8733B << BIT_SHIFT_CPUMGQ_TX_TIMER_EARLY_8733B)
#define BIT_CLEAR_CPUMGQ_TX_TIMER_EARLY_8733B(x) ((x) & (~BITS_CPUMGQ_TX_TIMER_EARLY_8733B))
#define BIT_GET_CPUMGQ_TX_TIMER_EARLY_8733B(x) (((x) >> BIT_SHIFT_CPUMGQ_TX_TIMER_EARLY_8733B) & BIT_MASK_CPUMGQ_TX_TIMER_EARLY_8733B)
#define BIT_SET_CPUMGQ_TX_TIMER_EARLY_8733B(x, v) (BIT_CLEAR_CPUMGQ_TX_TIMER_EARLY_8733B(x) | BIT_CPUMGQ_TX_TIMER_EARLY_8733B(v))

/* 2 REG_PS_TIMER_A_EARLY_8733B */

#define BIT_SHIFT_PS_TIMER_A_EARLY_8733B 0
#define BIT_MASK_PS_TIMER_A_EARLY_8733B 0xff
#define BIT_PS_TIMER_A_EARLY_8733B(x) (((x) & BIT_MASK_PS_TIMER_A_EARLY_8733B) << BIT_SHIFT_PS_TIMER_A_EARLY_8733B)
#define BITS_PS_TIMER_A_EARLY_8733B (BIT_MASK_PS_TIMER_A_EARLY_8733B << BIT_SHIFT_PS_TIMER_A_EARLY_8733B)
#define BIT_CLEAR_PS_TIMER_A_EARLY_8733B(x) ((x) & (~BITS_PS_TIMER_A_EARLY_8733B))
#define BIT_GET_PS_TIMER_A_EARLY_8733B(x) (((x) >> BIT_SHIFT_PS_TIMER_A_EARLY_8733B) & BIT_MASK_PS_TIMER_A_EARLY_8733B)
#define BIT_SET_PS_TIMER_A_EARLY_8733B(x, v) (BIT_CLEAR_PS_TIMER_A_EARLY_8733B(x) | BIT_PS_TIMER_A_EARLY_8733B(v))

/* 2 REG_PS_TIMER_B_EARLY_8733B */

#define BIT_SHIFT_PS_TIMER_B_EARLY_8733B 0
#define BIT_MASK_PS_TIMER_B_EARLY_8733B 0xff
#define BIT_PS_TIMER_B_EARLY_8733B(x) (((x) & BIT_MASK_PS_TIMER_B_EARLY_8733B) << BIT_SHIFT_PS_TIMER_B_EARLY_8733B)
#define BITS_PS_TIMER_B_EARLY_8733B (BIT_MASK_PS_TIMER_B_EARLY_8733B << BIT_SHIFT_PS_TIMER_B_EARLY_8733B)
#define BIT_CLEAR_PS_TIMER_B_EARLY_8733B(x) ((x) & (~BITS_PS_TIMER_B_EARLY_8733B))
#define BIT_GET_PS_TIMER_B_EARLY_8733B(x) (((x) >> BIT_SHIFT_PS_TIMER_B_EARLY_8733B) & BIT_MASK_PS_TIMER_B_EARLY_8733B)
#define BIT_SET_PS_TIMER_B_EARLY_8733B(x, v) (BIT_CLEAR_PS_TIMER_B_EARLY_8733B(x) | BIT_PS_TIMER_B_EARLY_8733B(v))

/* 2 REG_PS_TIMER_C_EARLY_8733B */

#define BIT_SHIFT_PS_TIMER_C_EARLY_8733B 0
#define BIT_MASK_PS_TIMER_C_EARLY_8733B 0xff
#define BIT_PS_TIMER_C_EARLY_8733B(x) (((x) & BIT_MASK_PS_TIMER_C_EARLY_8733B) << BIT_SHIFT_PS_TIMER_C_EARLY_8733B)
#define BITS_PS_TIMER_C_EARLY_8733B (BIT_MASK_PS_TIMER_C_EARLY_8733B << BIT_SHIFT_PS_TIMER_C_EARLY_8733B)
#define BIT_CLEAR_PS_TIMER_C_EARLY_8733B(x) ((x) & (~BITS_PS_TIMER_C_EARLY_8733B))
#define BIT_GET_PS_TIMER_C_EARLY_8733B(x) (((x) >> BIT_SHIFT_PS_TIMER_C_EARLY_8733B) & BIT_MASK_PS_TIMER_C_EARLY_8733B)
#define BIT_SET_PS_TIMER_C_EARLY_8733B(x, v) (BIT_CLEAR_PS_TIMER_C_EARLY_8733B(x) | BIT_PS_TIMER_C_EARLY_8733B(v))

/* 2 REG_CPUMGQ_PARAMETER_8733B */

/* 2 REG_NOT_VALID_8733B */
#define BIT_MAC_STOP_CPUMGQ_8733B BIT(16)

#define BIT_SHIFT_CW_8733B 8
#define BIT_MASK_CW_8733B 0xff
#define BIT_CW_8733B(x) (((x) & BIT_MASK_CW_8733B) << BIT_SHIFT_CW_8733B)
#define BITS_CW_8733B (BIT_MASK_CW_8733B << BIT_SHIFT_CW_8733B)
#define BIT_CLEAR_CW_8733B(x) ((x) & (~BITS_CW_8733B))
#define BIT_GET_CW_8733B(x) (((x) >> BIT_SHIFT_CW_8733B) & BIT_MASK_CW_8733B)
#define BIT_SET_CW_8733B(x, v) (BIT_CLEAR_CW_8733B(x) | BIT_CW_8733B(v))

#define BIT_SHIFT_AIFS_8733B 0
#define BIT_MASK_AIFS_8733B 0xff
#define BIT_AIFS_8733B(x) (((x) & BIT_MASK_AIFS_8733B) << BIT_SHIFT_AIFS_8733B)
#define BITS_AIFS_8733B (BIT_MASK_AIFS_8733B << BIT_SHIFT_AIFS_8733B)
#define BIT_CLEAR_AIFS_8733B(x) ((x) & (~BITS_AIFS_8733B))
#define BIT_GET_AIFS_8733B(x) (((x) >> BIT_SHIFT_AIFS_8733B) & BIT_MASK_AIFS_8733B)
#define BIT_SET_AIFS_8733B(x, v) (BIT_CLEAR_AIFS_8733B(x) | BIT_AIFS_8733B(v))

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_TSF_SYN_CTRL0_8733B */

#define BIT_SHIFT_TSF_SYNC_INTERVAL_PORT0_V1_8733B 16
#define BIT_MASK_TSF_SYNC_INTERVAL_PORT0_V1_8733B 0xffff
#define BIT_TSF_SYNC_INTERVAL_PORT0_V1_8733B(x) (((x) & BIT_MASK_TSF_SYNC_INTERVAL_PORT0_V1_8733B) << BIT_SHIFT_TSF_SYNC_INTERVAL_PORT0_V1_8733B)
#define BITS_TSF_SYNC_INTERVAL_PORT0_V1_8733B (BIT_MASK_TSF_SYNC_INTERVAL_PORT0_V1_8733B << BIT_SHIFT_TSF_SYNC_INTERVAL_PORT0_V1_8733B)
#define BIT_CLEAR_TSF_SYNC_INTERVAL_PORT0_V1_8733B(x) ((x) & (~BITS_TSF_SYNC_INTERVAL_PORT0_V1_8733B))
#define BIT_GET_TSF_SYNC_INTERVAL_PORT0_V1_8733B(x) (((x) >> BIT_SHIFT_TSF_SYNC_INTERVAL_PORT0_V1_8733B) & BIT_MASK_TSF_SYNC_INTERVAL_PORT0_V1_8733B)
#define BIT_SET_TSF_SYNC_INTERVAL_PORT0_V1_8733B(x, v) (BIT_CLEAR_TSF_SYNC_INTERVAL_PORT0_V1_8733B(x) | BIT_TSF_SYNC_INTERVAL_PORT0_V1_8733B(v))

/* 2 REG_NOT_VALID_8733B */
#define BIT_TSF_SYNC_SIGNAL_V1_8733B BIT(8)
#define BIT_TSF_SYNC_COMPARE_POLLING_8733B BIT(7)
#define BIT_TSF_SYNC_POLLING_8733B BIT(6)

#define BIT_SHIFT_TSF_SYNC_DUT_8733B 3
#define BIT_MASK_TSF_SYNC_DUT_8733B 0x7
#define BIT_TSF_SYNC_DUT_8733B(x) (((x) & BIT_MASK_TSF_SYNC_DUT_8733B) << BIT_SHIFT_TSF_SYNC_DUT_8733B)
#define BITS_TSF_SYNC_DUT_8733B (BIT_MASK_TSF_SYNC_DUT_8733B << BIT_SHIFT_TSF_SYNC_DUT_8733B)
#define BIT_CLEAR_TSF_SYNC_DUT_8733B(x) ((x) & (~BITS_TSF_SYNC_DUT_8733B))
#define BIT_GET_TSF_SYNC_DUT_8733B(x) (((x) >> BIT_SHIFT_TSF_SYNC_DUT_8733B) & BIT_MASK_TSF_SYNC_DUT_8733B)
#define BIT_SET_TSF_SYNC_DUT_8733B(x, v) (BIT_CLEAR_TSF_SYNC_DUT_8733B(x) | BIT_TSF_SYNC_DUT_8733B(v))

#define BIT_SHIFT_TSF_SYNC_SOURCE_8733B 0
#define BIT_MASK_TSF_SYNC_SOURCE_8733B 0x7
#define BIT_TSF_SYNC_SOURCE_8733B(x) (((x) & BIT_MASK_TSF_SYNC_SOURCE_8733B) << BIT_SHIFT_TSF_SYNC_SOURCE_8733B)
#define BITS_TSF_SYNC_SOURCE_8733B (BIT_MASK_TSF_SYNC_SOURCE_8733B << BIT_SHIFT_TSF_SYNC_SOURCE_8733B)
#define BIT_CLEAR_TSF_SYNC_SOURCE_8733B(x) ((x) & (~BITS_TSF_SYNC_SOURCE_8733B))
#define BIT_GET_TSF_SYNC_SOURCE_8733B(x) (((x) >> BIT_SHIFT_TSF_SYNC_SOURCE_8733B) & BIT_MASK_TSF_SYNC_SOURCE_8733B)
#define BIT_SET_TSF_SYNC_SOURCE_8733B(x, v) (BIT_CLEAR_TSF_SYNC_SOURCE_8733B(x) | BIT_TSF_SYNC_SOURCE_8733B(v))

/* 2 REG_TSF_SYN_OFFSET1_8733B */

#define BIT_SHIFT_TSF_SYNC_INTERVAL_CLI1_8733B 16
#define BIT_MASK_TSF_SYNC_INTERVAL_CLI1_8733B 0xffff
#define BIT_TSF_SYNC_INTERVAL_CLI1_8733B(x) (((x) & BIT_MASK_TSF_SYNC_INTERVAL_CLI1_8733B) << BIT_SHIFT_TSF_SYNC_INTERVAL_CLI1_8733B)
#define BITS_TSF_SYNC_INTERVAL_CLI1_8733B (BIT_MASK_TSF_SYNC_INTERVAL_CLI1_8733B << BIT_SHIFT_TSF_SYNC_INTERVAL_CLI1_8733B)
#define BIT_CLEAR_TSF_SYNC_INTERVAL_CLI1_8733B(x) ((x) & (~BITS_TSF_SYNC_INTERVAL_CLI1_8733B))
#define BIT_GET_TSF_SYNC_INTERVAL_CLI1_8733B(x) (((x) >> BIT_SHIFT_TSF_SYNC_INTERVAL_CLI1_8733B) & BIT_MASK_TSF_SYNC_INTERVAL_CLI1_8733B)
#define BIT_SET_TSF_SYNC_INTERVAL_CLI1_8733B(x, v) (BIT_CLEAR_TSF_SYNC_INTERVAL_CLI1_8733B(x) | BIT_TSF_SYNC_INTERVAL_CLI1_8733B(v))

#define BIT_SHIFT_TSF_SYNC_INTERVAL_CLI0_8733B 0
#define BIT_MASK_TSF_SYNC_INTERVAL_CLI0_8733B 0xffff
#define BIT_TSF_SYNC_INTERVAL_CLI0_8733B(x) (((x) & BIT_MASK_TSF_SYNC_INTERVAL_CLI0_8733B) << BIT_SHIFT_TSF_SYNC_INTERVAL_CLI0_8733B)
#define BITS_TSF_SYNC_INTERVAL_CLI0_8733B (BIT_MASK_TSF_SYNC_INTERVAL_CLI0_8733B << BIT_SHIFT_TSF_SYNC_INTERVAL_CLI0_8733B)
#define BIT_CLEAR_TSF_SYNC_INTERVAL_CLI0_8733B(x) ((x) & (~BITS_TSF_SYNC_INTERVAL_CLI0_8733B))
#define BIT_GET_TSF_SYNC_INTERVAL_CLI0_8733B(x) (((x) >> BIT_SHIFT_TSF_SYNC_INTERVAL_CLI0_8733B) & BIT_MASK_TSF_SYNC_INTERVAL_CLI0_8733B)
#define BIT_SET_TSF_SYNC_INTERVAL_CLI0_8733B(x, v) (BIT_CLEAR_TSF_SYNC_INTERVAL_CLI0_8733B(x) | BIT_TSF_SYNC_INTERVAL_CLI0_8733B(v))

/* 2 REG_TSF_SYN_OFFSET2_8733B */

#define BIT_SHIFT_TSF_SYNC_INTERVAL_CLI3_8733B 16
#define BIT_MASK_TSF_SYNC_INTERVAL_CLI3_8733B 0xffff
#define BIT_TSF_SYNC_INTERVAL_CLI3_8733B(x) (((x) & BIT_MASK_TSF_SYNC_INTERVAL_CLI3_8733B) << BIT_SHIFT_TSF_SYNC_INTERVAL_CLI3_8733B)
#define BITS_TSF_SYNC_INTERVAL_CLI3_8733B (BIT_MASK_TSF_SYNC_INTERVAL_CLI3_8733B << BIT_SHIFT_TSF_SYNC_INTERVAL_CLI3_8733B)
#define BIT_CLEAR_TSF_SYNC_INTERVAL_CLI3_8733B(x) ((x) & (~BITS_TSF_SYNC_INTERVAL_CLI3_8733B))
#define BIT_GET_TSF_SYNC_INTERVAL_CLI3_8733B(x) (((x) >> BIT_SHIFT_TSF_SYNC_INTERVAL_CLI3_8733B) & BIT_MASK_TSF_SYNC_INTERVAL_CLI3_8733B)
#define BIT_SET_TSF_SYNC_INTERVAL_CLI3_8733B(x, v) (BIT_CLEAR_TSF_SYNC_INTERVAL_CLI3_8733B(x) | BIT_TSF_SYNC_INTERVAL_CLI3_8733B(v))

#define BIT_SHIFT_TSF_SYNC_INTERVAL_CLI2_8733B 0
#define BIT_MASK_TSF_SYNC_INTERVAL_CLI2_8733B 0xffff
#define BIT_TSF_SYNC_INTERVAL_CLI2_8733B(x) (((x) & BIT_MASK_TSF_SYNC_INTERVAL_CLI2_8733B) << BIT_SHIFT_TSF_SYNC_INTERVAL_CLI2_8733B)
#define BITS_TSF_SYNC_INTERVAL_CLI2_8733B (BIT_MASK_TSF_SYNC_INTERVAL_CLI2_8733B << BIT_SHIFT_TSF_SYNC_INTERVAL_CLI2_8733B)
#define BIT_CLEAR_TSF_SYNC_INTERVAL_CLI2_8733B(x) ((x) & (~BITS_TSF_SYNC_INTERVAL_CLI2_8733B))
#define BIT_GET_TSF_SYNC_INTERVAL_CLI2_8733B(x) (((x) >> BIT_SHIFT_TSF_SYNC_INTERVAL_CLI2_8733B) & BIT_MASK_TSF_SYNC_INTERVAL_CLI2_8733B)
#define BIT_SET_TSF_SYNC_INTERVAL_CLI2_8733B(x, v) (BIT_CLEAR_TSF_SYNC_INTERVAL_CLI2_8733B(x) | BIT_TSF_SYNC_INTERVAL_CLI2_8733B(v))

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_TSF_SYN_COMPARE_VALUE_L_8733B */

#define BIT_SHIFT_TSF_SYN_COMPARE_VALUE_L_8733B 0
#define BIT_MASK_TSF_SYN_COMPARE_VALUE_L_8733B 0xffffffffL
#define BIT_TSF_SYN_COMPARE_VALUE_L_8733B(x) (((x) & BIT_MASK_TSF_SYN_COMPARE_VALUE_L_8733B) << BIT_SHIFT_TSF_SYN_COMPARE_VALUE_L_8733B)
#define BITS_TSF_SYN_COMPARE_VALUE_L_8733B (BIT_MASK_TSF_SYN_COMPARE_VALUE_L_8733B << BIT_SHIFT_TSF_SYN_COMPARE_VALUE_L_8733B)
#define BIT_CLEAR_TSF_SYN_COMPARE_VALUE_L_8733B(x) ((x) & (~BITS_TSF_SYN_COMPARE_VALUE_L_8733B))
#define BIT_GET_TSF_SYN_COMPARE_VALUE_L_8733B(x) (((x) >> BIT_SHIFT_TSF_SYN_COMPARE_VALUE_L_8733B) & BIT_MASK_TSF_SYN_COMPARE_VALUE_L_8733B)
#define BIT_SET_TSF_SYN_COMPARE_VALUE_L_8733B(x, v) (BIT_CLEAR_TSF_SYN_COMPARE_VALUE_L_8733B(x) | BIT_TSF_SYN_COMPARE_VALUE_L_8733B(v))

/* 2 REG_TSF_SYN_COMPARE_VALUE_H_8733B */

#define BIT_SHIFT_TSF_SYN_COMPARE_VALUE_H_8733B 0
#define BIT_MASK_TSF_SYN_COMPARE_VALUE_H_8733B 0xffffffffL
#define BIT_TSF_SYN_COMPARE_VALUE_H_8733B(x) (((x) & BIT_MASK_TSF_SYN_COMPARE_VALUE_H_8733B) << BIT_SHIFT_TSF_SYN_COMPARE_VALUE_H_8733B)
#define BITS_TSF_SYN_COMPARE_VALUE_H_8733B (BIT_MASK_TSF_SYN_COMPARE_VALUE_H_8733B << BIT_SHIFT_TSF_SYN_COMPARE_VALUE_H_8733B)
#define BIT_CLEAR_TSF_SYN_COMPARE_VALUE_H_8733B(x) ((x) & (~BITS_TSF_SYN_COMPARE_VALUE_H_8733B))
#define BIT_GET_TSF_SYN_COMPARE_VALUE_H_8733B(x) (((x) >> BIT_SHIFT_TSF_SYN_COMPARE_VALUE_H_8733B) & BIT_MASK_TSF_SYN_COMPARE_VALUE_H_8733B)
#define BIT_SET_TSF_SYN_COMPARE_VALUE_H_8733B(x, v) (BIT_CLEAR_TSF_SYN_COMPARE_VALUE_H_8733B(x) | BIT_TSF_SYN_COMPARE_VALUE_H_8733B(v))

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_SCHEDULER_COUNTER_8733B */

#define BIT_SHIFT_SCHEDULER_COUNTER_8733B 16
#define BIT_MASK_SCHEDULER_COUNTER_8733B 0xffff
#define BIT_SCHEDULER_COUNTER_8733B(x) (((x) & BIT_MASK_SCHEDULER_COUNTER_8733B) << BIT_SHIFT_SCHEDULER_COUNTER_8733B)
#define BITS_SCHEDULER_COUNTER_8733B (BIT_MASK_SCHEDULER_COUNTER_8733B << BIT_SHIFT_SCHEDULER_COUNTER_8733B)
#define BIT_CLEAR_SCHEDULER_COUNTER_8733B(x) ((x) & (~BITS_SCHEDULER_COUNTER_8733B))
#define BIT_GET_SCHEDULER_COUNTER_8733B(x) (((x) >> BIT_SHIFT_SCHEDULER_COUNTER_8733B) & BIT_MASK_SCHEDULER_COUNTER_8733B)
#define BIT_SET_SCHEDULER_COUNTER_8733B(x, v) (BIT_CLEAR_SCHEDULER_COUNTER_8733B(x) | BIT_SCHEDULER_COUNTER_8733B(v))

/* 2 REG_NOT_VALID_8733B */
#define BIT_SCHEDULER_COUNTER_RST_8733B BIT(8)

#define BIT_SHIFT_SCHEDULER_COUNTER_SEL_8733B 0
#define BIT_MASK_SCHEDULER_COUNTER_SEL_8733B 0xff
#define BIT_SCHEDULER_COUNTER_SEL_8733B(x) (((x) & BIT_MASK_SCHEDULER_COUNTER_SEL_8733B) << BIT_SHIFT_SCHEDULER_COUNTER_SEL_8733B)
#define BITS_SCHEDULER_COUNTER_SEL_8733B (BIT_MASK_SCHEDULER_COUNTER_SEL_8733B << BIT_SHIFT_SCHEDULER_COUNTER_SEL_8733B)
#define BIT_CLEAR_SCHEDULER_COUNTER_SEL_8733B(x) ((x) & (~BITS_SCHEDULER_COUNTER_SEL_8733B))
#define BIT_GET_SCHEDULER_COUNTER_SEL_8733B(x) (((x) >> BIT_SHIFT_SCHEDULER_COUNTER_SEL_8733B) & BIT_MASK_SCHEDULER_COUNTER_SEL_8733B)
#define BIT_SET_SCHEDULER_COUNTER_SEL_8733B(x, v) (BIT_CLEAR_SCHEDULER_COUNTER_SEL_8733B(x) | BIT_SCHEDULER_COUNTER_SEL_8733B(v))

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_WMAC_CR_8733B (WMAC CR REGISTER) */
#define BIT_APSDOFF_8733B BIT(6)
#define BIT_IC_MACPHY_M_8733B BIT(0)

/* 2 REG_FWPKT_CR_8733B (WMAC CR REGISTER) */
#define BIT_FWRX_EN_8733B BIT(7)
#define BIT_PHYSTS_PKT_CTRL_8733B BIT(6)

/* 2 REG_NOT_VALID_8733B */
#define BIT_APPHDR_MIDSRCH_FAIL_8733B BIT(4)
#define BIT_FWPARSING_EN_8733B BIT(3)

#define BIT_SHIFT_APPEND_MHDR_LEN_8733B 0
#define BIT_MASK_APPEND_MHDR_LEN_8733B 0x7
#define BIT_APPEND_MHDR_LEN_8733B(x) (((x) & BIT_MASK_APPEND_MHDR_LEN_8733B) << BIT_SHIFT_APPEND_MHDR_LEN_8733B)
#define BITS_APPEND_MHDR_LEN_8733B (BIT_MASK_APPEND_MHDR_LEN_8733B << BIT_SHIFT_APPEND_MHDR_LEN_8733B)
#define BIT_CLEAR_APPEND_MHDR_LEN_8733B(x) ((x) & (~BITS_APPEND_MHDR_LEN_8733B))
#define BIT_GET_APPEND_MHDR_LEN_8733B(x) (((x) >> BIT_SHIFT_APPEND_MHDR_LEN_8733B) & BIT_MASK_APPEND_MHDR_LEN_8733B)
#define BIT_SET_APPEND_MHDR_LEN_8733B(x, v) (BIT_CLEAR_APPEND_MHDR_LEN_8733B(x) | BIT_APPEND_MHDR_LEN_8733B(v))

/* 2 REG_FWPKT_CR_EXT_8733B (WMAC CR REGISTER) */
#define BIT_DATA_FW_STS_FILTER_8733B BIT(2)
#define BIT_CTRL_FW_STS_FILTER_8733B BIT(1)
#define BIT_MGNT_FW_STS_FILTER_8733B BIT(0)

/* 2 REG_WMAC_BWOPMODE_8733B (BW OPERATION MODE) */
#define BIT_WMAC_20MHZBW_8733B BIT(2)

/* 2 REG_NOT_VALID_8733B */
#define BIT_WMAC_M11J_8733B BIT(0)

/* 2 REG_TCR_8733B (TRANSMISSION CONFIGURATION REGISTER) */
#define BIT_WMAC_EN_RTS_ADDR_8733B BIT(31)
#define BIT_WMAC_DISABLE_CCK_8733B BIT(30)
#define BIT_WMAC_RAW_LEN_8733B BIT(29)
#define BIT_WMAC_NOTX_IN_RXNDP_8733B BIT(28)
#define BIT_WMAC_EN_EOF_8733B BIT(27)
#define BIT_WMAC_BF_SEL_8733B BIT(26)
#define BIT_WMAC_ANTMODE_SEL_8733B BIT(25)
#define BIT_WMAC_TCRPWRMGT_HWCTL_8733B BIT(24)
#define BIT_WMAC_SMOOTH_VAL_8733B BIT(23)
#define BIT_WMAC_EN_SCRAM_INC_8733B BIT(22)
#define BIT_UNDERFLOWEN_CMPLEN_SEL_8733B BIT(21)
#define BIT_FETCH_MPDU_AFTER_WSECRDY_8733B BIT(20)
#define BIT_WMAC_TCR_EN_20MST_8733B BIT(19)
#define BIT_WMAC_DIS_SIGTA_8733B BIT(18)
#define BIT_WMAC_DIS_A2B0_8733B BIT(17)
#define BIT_WMAC_MSK_SIGBCRC_8733B BIT(16)
#define BIT_WMAC_TCR_ERRSTEN_3_8733B BIT(15)
#define BIT_WMAC_TCR_ERRSTEN_2_8733B BIT(14)
#define BIT_WMAC_TCR_ERRSTEN_1_8733B BIT(13)
#define BIT_WMAC_TCR_ERRSTEN_0_8733B BIT(12)
#define BIT_WMAC_TCR_TXSK_PERPKT_8733B BIT(11)
#define BIT_WMAC_TCR_ICV_8733B BIT(10)
#define BIT_WMAC_CFENDFOR_8733B BIT(9)
#define BIT_WMAC_TCR_CRC_8733B BIT(8)
#define BIT_WMAC_TCR_PWRMGT_CTL_8733B BIT(7)
#define BIT_WMAC_TCR_PWRMGT_VAL_8733B BIT(6)
#define BIT_WMAC_TCR_UPD_TIMIE_8733B BIT(5)
#define BIT_WMAC_TCR_UPD_HGQMD_8733B BIT(4)
#define BIT_WMAC_TCR_VHTSIGA1_TXPS_8733B BIT(3)
#define BIT_WMAC_TCR_PADSEL_8733B BIT(2)
#define BIT_WMAC_TCR_DISGCLK_8733B BIT(1)

/* 2 REG_RCR_8733B (RECEIVE CONFIGURATION REGISTER) */
#define BIT_APP_FCS_8733B BIT(31)
#define BIT_APP_MIC_8733B BIT(30)
#define BIT_APP_ICV_8733B BIT(29)
#define BIT_APP_PHYSTS_8733B BIT(28)
#define BIT_APP_BASSN_8733B BIT(27)
#define BIT_VHT_DACK_8733B BIT(26)
#define BIT_TCPOFLD_EN_8733B BIT(25)
#define BIT_ENMBID_8733B BIT(24)
#define BIT_LSIGEN_8733B BIT(23)
#define BIT_MFBEN_8733B BIT(22)
#define BIT_DISCHKPPDLLEN_8733B BIT(21)
#define BIT_PKTCTL_DLKEN_8733B BIT(20)
#define BIT_DISGCLK_8733B BIT(19)
#define BIT_TIMPSR_EN_8733B BIT(18)
#define BIT_BCMDINT_EN_8733B BIT(17)
#define BIT_UCMDINT_EN_8733B BIT(16)
#define BIT_RXSK_PERPKT_8733B BIT(15)
#define BIT_HTCBFMC_8733B BIT(14)
#define BIT_CHK_PREVTXA2_8733B BIT(13)
#define BIT_ACK_CBSSID_8733B BIT(12)
#define BIT_CHKTA_MGNT_8733B BIT(11)
#define BIT_DISDECNMYPKT_8733B BIT(10)
#define BIT_AICV_8733B BIT(9)
#define BIT_ACRC32_8733B BIT(8)
#define BIT_CBSSID_MGNT_8733B BIT(7)
#define BIT_CBSSID_DATA_8733B BIT(6)
#define BIT_APWRMGT_8733B BIT(5)
#define BIT_ADD3_8733B BIT(4)
#define BIT_AB_8733B BIT(3)
#define BIT_AM_8733B BIT(2)
#define BIT_APM_8733B BIT(1)
#define BIT_AAP_8733B BIT(0)

/* 2 REG_RX_PKT_LIMIT_8733B (RX PACKET LENGTH LIMIT REGISTER) */

#define BIT_SHIFT_RXPKTLMT_8733B 0
#define BIT_MASK_RXPKTLMT_8733B 0x3f
#define BIT_RXPKTLMT_8733B(x) (((x) & BIT_MASK_RXPKTLMT_8733B) << BIT_SHIFT_RXPKTLMT_8733B)
#define BITS_RXPKTLMT_8733B (BIT_MASK_RXPKTLMT_8733B << BIT_SHIFT_RXPKTLMT_8733B)
#define BIT_CLEAR_RXPKTLMT_8733B(x) ((x) & (~BITS_RXPKTLMT_8733B))
#define BIT_GET_RXPKTLMT_8733B(x) (((x) >> BIT_SHIFT_RXPKTLMT_8733B) & BIT_MASK_RXPKTLMT_8733B)
#define BIT_SET_RXPKTLMT_8733B(x, v) (BIT_CLEAR_RXPKTLMT_8733B(x) | BIT_RXPKTLMT_8733B(v))

/* 2 REG_NOT_VALID_8733B */

#define BIT_SHIFT_RX_DLK_TIME_8733B 0
#define BIT_MASK_RX_DLK_TIME_8733B 0xff
#define BIT_RX_DLK_TIME_8733B(x) (((x) & BIT_MASK_RX_DLK_TIME_8733B) << BIT_SHIFT_RX_DLK_TIME_8733B)
#define BITS_RX_DLK_TIME_8733B (BIT_MASK_RX_DLK_TIME_8733B << BIT_SHIFT_RX_DLK_TIME_8733B)
#define BIT_CLEAR_RX_DLK_TIME_8733B(x) ((x) & (~BITS_RX_DLK_TIME_8733B))
#define BIT_GET_RX_DLK_TIME_8733B(x) (((x) >> BIT_SHIFT_RX_DLK_TIME_8733B) & BIT_MASK_RX_DLK_TIME_8733B)
#define BIT_SET_RX_DLK_TIME_8733B(x, v) (BIT_CLEAR_RX_DLK_TIME_8733B(x) | BIT_RX_DLK_TIME_8733B(v))

/* 2 REG_MBIDCTRL_8733B (MBSSID CONTROL REGISTER) */
#define BIT_MBID_EN_8733B BIT(7)

#define BIT_SHIFT_MBID_BCNNO_8733B 4
#define BIT_MASK_MBID_BCNNO_8733B 0x7
#define BIT_MBID_BCNNO_8733B(x) (((x) & BIT_MASK_MBID_BCNNO_8733B) << BIT_SHIFT_MBID_BCNNO_8733B)
#define BITS_MBID_BCNNO_8733B (BIT_MASK_MBID_BCNNO_8733B << BIT_SHIFT_MBID_BCNNO_8733B)
#define BIT_CLEAR_MBID_BCNNO_8733B(x) ((x) & (~BITS_MBID_BCNNO_8733B))
#define BIT_GET_MBID_BCNNO_8733B(x) (((x) >> BIT_SHIFT_MBID_BCNNO_8733B) & BIT_MASK_MBID_BCNNO_8733B)
#define BIT_SET_MBID_BCNNO_8733B(x, v) (BIT_CLEAR_MBID_BCNNO_8733B(x) | BIT_MBID_BCNNO_8733B(v))

/* 2 REG_RX_DRVINFO_SZ_8733B (RX DRIVER INFO SIZE REGISTER) */
#define BIT_APP_PHYSTS_PER_SUBMPDU_8733B BIT(7)
#define BIT_APP_MH_SHIFT_VAL_8733B BIT(6)
#define BIT_WMAC_ENSHIFT_8733B BIT(5)

#define BIT_SHIFT_RX_DRVINFO_SZ_8733B 0
#define BIT_MASK_RX_DRVINFO_SZ_8733B 0xf
#define BIT_RX_DRVINFO_SZ_8733B(x) (((x) & BIT_MASK_RX_DRVINFO_SZ_8733B) << BIT_SHIFT_RX_DRVINFO_SZ_8733B)
#define BITS_RX_DRVINFO_SZ_8733B (BIT_MASK_RX_DRVINFO_SZ_8733B << BIT_SHIFT_RX_DRVINFO_SZ_8733B)
#define BIT_CLEAR_RX_DRVINFO_SZ_8733B(x) ((x) & (~BITS_RX_DRVINFO_SZ_8733B))
#define BIT_GET_RX_DRVINFO_SZ_8733B(x) (((x) >> BIT_SHIFT_RX_DRVINFO_SZ_8733B) & BIT_MASK_RX_DRVINFO_SZ_8733B)
#define BIT_SET_RX_DRVINFO_SZ_8733B(x, v) (BIT_CLEAR_RX_DRVINFO_SZ_8733B(x) | BIT_RX_DRVINFO_SZ_8733B(v))

/* 2 REG_MACID_8733B	(MAC ID REGISTER) */

#define BIT_SHIFT_MACID_V1_8733B 0
#define BIT_MASK_MACID_V1_8733B 0xffffffffL
#define BIT_MACID_V1_8733B(x) (((x) & BIT_MASK_MACID_V1_8733B) << BIT_SHIFT_MACID_V1_8733B)
#define BITS_MACID_V1_8733B (BIT_MASK_MACID_V1_8733B << BIT_SHIFT_MACID_V1_8733B)
#define BIT_CLEAR_MACID_V1_8733B(x) ((x) & (~BITS_MACID_V1_8733B))
#define BIT_GET_MACID_V1_8733B(x) (((x) >> BIT_SHIFT_MACID_V1_8733B) & BIT_MASK_MACID_V1_8733B)
#define BIT_SET_MACID_V1_8733B(x, v) (BIT_CLEAR_MACID_V1_8733B(x) | BIT_MACID_V1_8733B(v))

/* 2 REG_MACID_H_8733B	(MAC ID REGISTER) */
#define BIT_AP_BSSID_FIT_UC_8733B BIT(21)
#define BIT_EN_PORT4_8733B BIT(20)
#define BIT_EN_PORT3_8733B BIT(19)
#define BIT_EN_PORT2_8733B BIT(18)
#define BIT_EN_PORT1_8733B BIT(17)
#define BIT_EN_PORT0_8733B BIT(16)

#define BIT_SHIFT_MACID_H_8733B 0
#define BIT_MASK_MACID_H_8733B 0xffff
#define BIT_MACID_H_8733B(x) (((x) & BIT_MASK_MACID_H_8733B) << BIT_SHIFT_MACID_H_8733B)
#define BITS_MACID_H_8733B (BIT_MASK_MACID_H_8733B << BIT_SHIFT_MACID_H_8733B)
#define BIT_CLEAR_MACID_H_8733B(x) ((x) & (~BITS_MACID_H_8733B))
#define BIT_GET_MACID_H_8733B(x) (((x) >> BIT_SHIFT_MACID_H_8733B) & BIT_MASK_MACID_H_8733B)
#define BIT_SET_MACID_H_8733B(x, v) (BIT_CLEAR_MACID_H_8733B(x) | BIT_MACID_H_8733B(v))

/* 2 REG_BSSID_8733B (BSSID REGISTER) */

#define BIT_SHIFT_BSSID_V1_8733B 0
#define BIT_MASK_BSSID_V1_8733B 0xffffffffL
#define BIT_BSSID_V1_8733B(x) (((x) & BIT_MASK_BSSID_V1_8733B) << BIT_SHIFT_BSSID_V1_8733B)
#define BITS_BSSID_V1_8733B (BIT_MASK_BSSID_V1_8733B << BIT_SHIFT_BSSID_V1_8733B)
#define BIT_CLEAR_BSSID_V1_8733B(x) ((x) & (~BITS_BSSID_V1_8733B))
#define BIT_GET_BSSID_V1_8733B(x) (((x) >> BIT_SHIFT_BSSID_V1_8733B) & BIT_MASK_BSSID_V1_8733B)
#define BIT_SET_BSSID_V1_8733B(x, v) (BIT_CLEAR_BSSID_V1_8733B(x) | BIT_BSSID_V1_8733B(v))

/* 2 REG_BSSID_H_8733B	(BSSID REGISTER) */

#define BIT_SHIFT_BSSID_H_8733B 0
#define BIT_MASK_BSSID_H_8733B 0xffff
#define BIT_BSSID_H_8733B(x) (((x) & BIT_MASK_BSSID_H_8733B) << BIT_SHIFT_BSSID_H_8733B)
#define BITS_BSSID_H_8733B (BIT_MASK_BSSID_H_8733B << BIT_SHIFT_BSSID_H_8733B)
#define BIT_CLEAR_BSSID_H_8733B(x) ((x) & (~BITS_BSSID_H_8733B))
#define BIT_GET_BSSID_H_8733B(x) (((x) >> BIT_SHIFT_BSSID_H_8733B) & BIT_MASK_BSSID_H_8733B)
#define BIT_SET_BSSID_H_8733B(x, v) (BIT_CLEAR_BSSID_H_8733B(x) | BIT_BSSID_H_8733B(v))

/* 2 REG_MAR_8733B (MULTICAST ADDRESS REGISTER) */

#define BIT_SHIFT_MAR_V1_8733B 0
#define BIT_MASK_MAR_V1_8733B 0xffffffffL
#define BIT_MAR_V1_8733B(x) (((x) & BIT_MASK_MAR_V1_8733B) << BIT_SHIFT_MAR_V1_8733B)
#define BITS_MAR_V1_8733B (BIT_MASK_MAR_V1_8733B << BIT_SHIFT_MAR_V1_8733B)
#define BIT_CLEAR_MAR_V1_8733B(x) ((x) & (~BITS_MAR_V1_8733B))
#define BIT_GET_MAR_V1_8733B(x) (((x) >> BIT_SHIFT_MAR_V1_8733B) & BIT_MASK_MAR_V1_8733B)
#define BIT_SET_MAR_V1_8733B(x, v) (BIT_CLEAR_MAR_V1_8733B(x) | BIT_MAR_V1_8733B(v))

/* 2 REG_MAR_H_8733B (MULTICAST ADDRESS REGISTER) */

#define BIT_SHIFT_MAR_H_8733B 0
#define BIT_MASK_MAR_H_8733B 0xffffffffL
#define BIT_MAR_H_8733B(x) (((x) & BIT_MASK_MAR_H_8733B) << BIT_SHIFT_MAR_H_8733B)
#define BITS_MAR_H_8733B (BIT_MASK_MAR_H_8733B << BIT_SHIFT_MAR_H_8733B)
#define BIT_CLEAR_MAR_H_8733B(x) ((x) & (~BITS_MAR_H_8733B))
#define BIT_GET_MAR_H_8733B(x) (((x) >> BIT_SHIFT_MAR_H_8733B) & BIT_MASK_MAR_H_8733B)
#define BIT_SET_MAR_H_8733B(x, v) (BIT_CLEAR_MAR_H_8733B(x) | BIT_MAR_H_8733B(v))

/* 2 REG_MBIDCAMCFG_1_8733B (MBSSID CAM CONFIGURATION REGISTER) */

#define BIT_SHIFT_MBIDCAM_WDATA_L_8733B 0
#define BIT_MASK_MBIDCAM_WDATA_L_8733B 0xffffffffL
#define BIT_MBIDCAM_WDATA_L_8733B(x) (((x) & BIT_MASK_MBIDCAM_WDATA_L_8733B) << BIT_SHIFT_MBIDCAM_WDATA_L_8733B)
#define BITS_MBIDCAM_WDATA_L_8733B (BIT_MASK_MBIDCAM_WDATA_L_8733B << BIT_SHIFT_MBIDCAM_WDATA_L_8733B)
#define BIT_CLEAR_MBIDCAM_WDATA_L_8733B(x) ((x) & (~BITS_MBIDCAM_WDATA_L_8733B))
#define BIT_GET_MBIDCAM_WDATA_L_8733B(x) (((x) >> BIT_SHIFT_MBIDCAM_WDATA_L_8733B) & BIT_MASK_MBIDCAM_WDATA_L_8733B)
#define BIT_SET_MBIDCAM_WDATA_L_8733B(x, v) (BIT_CLEAR_MBIDCAM_WDATA_L_8733B(x) | BIT_MBIDCAM_WDATA_L_8733B(v))

/* 2 REG_MBIDCAMCFG_2_8733B (MBSSID CAM CONFIGURATION REGISTER) */
#define BIT_MBIDCAM_POLL_8733B BIT(31)
#define BIT_MBIDCAM_WT_EN_8733B BIT(30)
#define BIT_MBIDCAM_DA_EN_8733B BIT(29)

#define BIT_SHIFT_MBIDCAM_ADDR_V1_8733B 24
#define BIT_MASK_MBIDCAM_ADDR_V1_8733B 0x1f
#define BIT_MBIDCAM_ADDR_V1_8733B(x) (((x) & BIT_MASK_MBIDCAM_ADDR_V1_8733B) << BIT_SHIFT_MBIDCAM_ADDR_V1_8733B)
#define BITS_MBIDCAM_ADDR_V1_8733B (BIT_MASK_MBIDCAM_ADDR_V1_8733B << BIT_SHIFT_MBIDCAM_ADDR_V1_8733B)
#define BIT_CLEAR_MBIDCAM_ADDR_V1_8733B(x) ((x) & (~BITS_MBIDCAM_ADDR_V1_8733B))
#define BIT_GET_MBIDCAM_ADDR_V1_8733B(x) (((x) >> BIT_SHIFT_MBIDCAM_ADDR_V1_8733B) & BIT_MASK_MBIDCAM_ADDR_V1_8733B)
#define BIT_SET_MBIDCAM_ADDR_V1_8733B(x, v) (BIT_CLEAR_MBIDCAM_ADDR_V1_8733B(x) | BIT_MBIDCAM_ADDR_V1_8733B(v))

#define BIT_MBIDCAM_VALID_8733B BIT(23)
#define BIT_LSIC_TXOP_EN_8733B BIT(17)
#define BIT_CTS_EN_8733B BIT(16)

#define BIT_SHIFT_MBIDCAM_RWDATA_H_8733B 0
#define BIT_MASK_MBIDCAM_RWDATA_H_8733B 0xffff
#define BIT_MBIDCAM_RWDATA_H_8733B(x) (((x) & BIT_MASK_MBIDCAM_RWDATA_H_8733B) << BIT_SHIFT_MBIDCAM_RWDATA_H_8733B)
#define BITS_MBIDCAM_RWDATA_H_8733B (BIT_MASK_MBIDCAM_RWDATA_H_8733B << BIT_SHIFT_MBIDCAM_RWDATA_H_8733B)
#define BIT_CLEAR_MBIDCAM_RWDATA_H_8733B(x) ((x) & (~BITS_MBIDCAM_RWDATA_H_8733B))
#define BIT_GET_MBIDCAM_RWDATA_H_8733B(x) (((x) >> BIT_SHIFT_MBIDCAM_RWDATA_H_8733B) & BIT_MASK_MBIDCAM_RWDATA_H_8733B)
#define BIT_SET_MBIDCAM_RWDATA_H_8733B(x, v) (BIT_CLEAR_MBIDCAM_RWDATA_H_8733B(x) | BIT_MBIDCAM_RWDATA_H_8733B(v))

/* 2 REG_WMAC_TCR_TSFT_OFS_8733B */

#define BIT_SHIFT_WMAC_TCR_TSFT_OFS_8733B 0
#define BIT_MASK_WMAC_TCR_TSFT_OFS_8733B 0xffff
#define BIT_WMAC_TCR_TSFT_OFS_8733B(x) (((x) & BIT_MASK_WMAC_TCR_TSFT_OFS_8733B) << BIT_SHIFT_WMAC_TCR_TSFT_OFS_8733B)
#define BITS_WMAC_TCR_TSFT_OFS_8733B (BIT_MASK_WMAC_TCR_TSFT_OFS_8733B << BIT_SHIFT_WMAC_TCR_TSFT_OFS_8733B)
#define BIT_CLEAR_WMAC_TCR_TSFT_OFS_8733B(x) ((x) & (~BITS_WMAC_TCR_TSFT_OFS_8733B))
#define BIT_GET_WMAC_TCR_TSFT_OFS_8733B(x) (((x) >> BIT_SHIFT_WMAC_TCR_TSFT_OFS_8733B) & BIT_MASK_WMAC_TCR_TSFT_OFS_8733B)
#define BIT_SET_WMAC_TCR_TSFT_OFS_8733B(x, v) (BIT_CLEAR_WMAC_TCR_TSFT_OFS_8733B(x) | BIT_WMAC_TCR_TSFT_OFS_8733B(v))

/* 2 REG_UDF_THSD_8733B */
#define BIT_UDF_THSD_V1_8733B BIT(7)

#define BIT_SHIFT_UDF_THSD_VALUE_8733B 0
#define BIT_MASK_UDF_THSD_VALUE_8733B 0x7f
#define BIT_UDF_THSD_VALUE_8733B(x) (((x) & BIT_MASK_UDF_THSD_VALUE_8733B) << BIT_SHIFT_UDF_THSD_VALUE_8733B)
#define BITS_UDF_THSD_VALUE_8733B (BIT_MASK_UDF_THSD_VALUE_8733B << BIT_SHIFT_UDF_THSD_VALUE_8733B)
#define BIT_CLEAR_UDF_THSD_VALUE_8733B(x) ((x) & (~BITS_UDF_THSD_VALUE_8733B))
#define BIT_GET_UDF_THSD_VALUE_8733B(x) (((x) >> BIT_SHIFT_UDF_THSD_VALUE_8733B) & BIT_MASK_UDF_THSD_VALUE_8733B)
#define BIT_SET_UDF_THSD_VALUE_8733B(x, v) (BIT_CLEAR_UDF_THSD_VALUE_8733B(x) | BIT_UDF_THSD_VALUE_8733B(v))

/* 2 REG_ZLD_NUM_8733B */

#define BIT_SHIFT_ZLD_NUM_8733B 0
#define BIT_MASK_ZLD_NUM_8733B 0xff
#define BIT_ZLD_NUM_8733B(x) (((x) & BIT_MASK_ZLD_NUM_8733B) << BIT_SHIFT_ZLD_NUM_8733B)
#define BITS_ZLD_NUM_8733B (BIT_MASK_ZLD_NUM_8733B << BIT_SHIFT_ZLD_NUM_8733B)
#define BIT_CLEAR_ZLD_NUM_8733B(x) ((x) & (~BITS_ZLD_NUM_8733B))
#define BIT_GET_ZLD_NUM_8733B(x) (((x) >> BIT_SHIFT_ZLD_NUM_8733B) & BIT_MASK_ZLD_NUM_8733B)
#define BIT_SET_ZLD_NUM_8733B(x, v) (BIT_CLEAR_ZLD_NUM_8733B(x) | BIT_ZLD_NUM_8733B(v))

/* 2 REG_STMP_THSD_8733B */

#define BIT_SHIFT_STMP_THSD_8733B 0
#define BIT_MASK_STMP_THSD_8733B 0xff
#define BIT_STMP_THSD_8733B(x) (((x) & BIT_MASK_STMP_THSD_8733B) << BIT_SHIFT_STMP_THSD_8733B)
#define BITS_STMP_THSD_8733B (BIT_MASK_STMP_THSD_8733B << BIT_SHIFT_STMP_THSD_8733B)
#define BIT_CLEAR_STMP_THSD_8733B(x) ((x) & (~BITS_STMP_THSD_8733B))
#define BIT_GET_STMP_THSD_8733B(x) (((x) >> BIT_SHIFT_STMP_THSD_8733B) & BIT_MASK_STMP_THSD_8733B)
#define BIT_SET_STMP_THSD_8733B(x, v) (BIT_CLEAR_STMP_THSD_8733B(x) | BIT_STMP_THSD_8733B(v))

/* 2 REG_WMAC_TXTIMEOUT_8733B */

#define BIT_SHIFT_WMAC_TXTIMEOUT_8733B 0
#define BIT_MASK_WMAC_TXTIMEOUT_8733B 0xff
#define BIT_WMAC_TXTIMEOUT_8733B(x) (((x) & BIT_MASK_WMAC_TXTIMEOUT_8733B) << BIT_SHIFT_WMAC_TXTIMEOUT_8733B)
#define BITS_WMAC_TXTIMEOUT_8733B (BIT_MASK_WMAC_TXTIMEOUT_8733B << BIT_SHIFT_WMAC_TXTIMEOUT_8733B)
#define BIT_CLEAR_WMAC_TXTIMEOUT_8733B(x) ((x) & (~BITS_WMAC_TXTIMEOUT_8733B))
#define BIT_GET_WMAC_TXTIMEOUT_8733B(x) (((x) >> BIT_SHIFT_WMAC_TXTIMEOUT_8733B) & BIT_MASK_WMAC_TXTIMEOUT_8733B)
#define BIT_SET_WMAC_TXTIMEOUT_8733B(x, v) (BIT_CLEAR_WMAC_TXTIMEOUT_8733B(x) | BIT_WMAC_TXTIMEOUT_8733B(v))

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_USTIME_EDCA_8733B (US TIME TUNING FOR EDCA REGISTER) */

#define BIT_SHIFT_USTIME_EDCA_8733B 0
#define BIT_MASK_USTIME_EDCA_8733B 0xff
#define BIT_USTIME_EDCA_8733B(x) (((x) & BIT_MASK_USTIME_EDCA_8733B) << BIT_SHIFT_USTIME_EDCA_8733B)
#define BITS_USTIME_EDCA_8733B (BIT_MASK_USTIME_EDCA_8733B << BIT_SHIFT_USTIME_EDCA_8733B)
#define BIT_CLEAR_USTIME_EDCA_8733B(x) ((x) & (~BITS_USTIME_EDCA_8733B))
#define BIT_GET_USTIME_EDCA_8733B(x) (((x) >> BIT_SHIFT_USTIME_EDCA_8733B) & BIT_MASK_USTIME_EDCA_8733B)
#define BIT_SET_USTIME_EDCA_8733B(x, v) (BIT_CLEAR_USTIME_EDCA_8733B(x) | BIT_USTIME_EDCA_8733B(v))

/* 2 REG_ACKTO_CCK_8733B (ACK TIMEOUT REGISTER FOR CCK RATE) */

#define BIT_SHIFT_ACKTO_CCK_8733B 0
#define BIT_MASK_ACKTO_CCK_8733B 0xff
#define BIT_ACKTO_CCK_8733B(x) (((x) & BIT_MASK_ACKTO_CCK_8733B) << BIT_SHIFT_ACKTO_CCK_8733B)
#define BITS_ACKTO_CCK_8733B (BIT_MASK_ACKTO_CCK_8733B << BIT_SHIFT_ACKTO_CCK_8733B)
#define BIT_CLEAR_ACKTO_CCK_8733B(x) ((x) & (~BITS_ACKTO_CCK_8733B))
#define BIT_GET_ACKTO_CCK_8733B(x) (((x) >> BIT_SHIFT_ACKTO_CCK_8733B) & BIT_MASK_ACKTO_CCK_8733B)
#define BIT_SET_ACKTO_CCK_8733B(x, v) (BIT_CLEAR_ACKTO_CCK_8733B(x) | BIT_ACKTO_CCK_8733B(v))

/* 2 REG_MAC_SPEC_SIFS_8733B (SPECIFICATION SIFS REGISTER) */

#define BIT_SHIFT_SPEC_SIFS_OFDM_8733B 8
#define BIT_MASK_SPEC_SIFS_OFDM_8733B 0xff
#define BIT_SPEC_SIFS_OFDM_8733B(x) (((x) & BIT_MASK_SPEC_SIFS_OFDM_8733B) << BIT_SHIFT_SPEC_SIFS_OFDM_8733B)
#define BITS_SPEC_SIFS_OFDM_8733B (BIT_MASK_SPEC_SIFS_OFDM_8733B << BIT_SHIFT_SPEC_SIFS_OFDM_8733B)
#define BIT_CLEAR_SPEC_SIFS_OFDM_8733B(x) ((x) & (~BITS_SPEC_SIFS_OFDM_8733B))
#define BIT_GET_SPEC_SIFS_OFDM_8733B(x) (((x) >> BIT_SHIFT_SPEC_SIFS_OFDM_8733B) & BIT_MASK_SPEC_SIFS_OFDM_8733B)
#define BIT_SET_SPEC_SIFS_OFDM_8733B(x, v) (BIT_CLEAR_SPEC_SIFS_OFDM_8733B(x) | BIT_SPEC_SIFS_OFDM_8733B(v))

#define BIT_SHIFT_SPEC_SIFS_CCK_8733B 0
#define BIT_MASK_SPEC_SIFS_CCK_8733B 0xff
#define BIT_SPEC_SIFS_CCK_8733B(x) (((x) & BIT_MASK_SPEC_SIFS_CCK_8733B) << BIT_SHIFT_SPEC_SIFS_CCK_8733B)
#define BITS_SPEC_SIFS_CCK_8733B (BIT_MASK_SPEC_SIFS_CCK_8733B << BIT_SHIFT_SPEC_SIFS_CCK_8733B)
#define BIT_CLEAR_SPEC_SIFS_CCK_8733B(x) ((x) & (~BITS_SPEC_SIFS_CCK_8733B))
#define BIT_GET_SPEC_SIFS_CCK_8733B(x) (((x) >> BIT_SHIFT_SPEC_SIFS_CCK_8733B) & BIT_MASK_SPEC_SIFS_CCK_8733B)
#define BIT_SET_SPEC_SIFS_CCK_8733B(x, v) (BIT_CLEAR_SPEC_SIFS_CCK_8733B(x) | BIT_SPEC_SIFS_CCK_8733B(v))

/* 2 REG_RESP_SIFS_CCK_8733B (RESPONSE SIFS FOR CCK REGISTER) */

#define BIT_SHIFT_R2T_SIFS_CCK_8733B 8
#define BIT_MASK_R2T_SIFS_CCK_8733B 0xff
#define BIT_R2T_SIFS_CCK_8733B(x) (((x) & BIT_MASK_R2T_SIFS_CCK_8733B) << BIT_SHIFT_R2T_SIFS_CCK_8733B)
#define BITS_R2T_SIFS_CCK_8733B (BIT_MASK_R2T_SIFS_CCK_8733B << BIT_SHIFT_R2T_SIFS_CCK_8733B)
#define BIT_CLEAR_R2T_SIFS_CCK_8733B(x) ((x) & (~BITS_R2T_SIFS_CCK_8733B))
#define BIT_GET_R2T_SIFS_CCK_8733B(x) (((x) >> BIT_SHIFT_R2T_SIFS_CCK_8733B) & BIT_MASK_R2T_SIFS_CCK_8733B)
#define BIT_SET_R2T_SIFS_CCK_8733B(x, v) (BIT_CLEAR_R2T_SIFS_CCK_8733B(x) | BIT_R2T_SIFS_CCK_8733B(v))

#define BIT_SHIFT_R2T_SIFS_CCK_8733B 8
#define BIT_MASK_R2T_SIFS_CCK_8733B 0xff
#define BIT_R2T_SIFS_CCK_8733B(x) (((x) & BIT_MASK_R2T_SIFS_CCK_8733B) << BIT_SHIFT_R2T_SIFS_CCK_8733B)
#define BITS_R2T_SIFS_CCK_8733B (BIT_MASK_R2T_SIFS_CCK_8733B << BIT_SHIFT_R2T_SIFS_CCK_8733B)
#define BIT_CLEAR_R2T_SIFS_CCK_8733B(x) ((x) & (~BITS_R2T_SIFS_CCK_8733B))
#define BIT_GET_R2T_SIFS_CCK_8733B(x) (((x) >> BIT_SHIFT_R2T_SIFS_CCK_8733B) & BIT_MASK_R2T_SIFS_CCK_8733B)
#define BIT_SET_R2T_SIFS_CCK_8733B(x, v) (BIT_CLEAR_R2T_SIFS_CCK_8733B(x) | BIT_R2T_SIFS_CCK_8733B(v))

#define BIT_SHIFT_R2T_SIFS_CCK_8733B 8
#define BIT_MASK_R2T_SIFS_CCK_8733B 0xff
#define BIT_R2T_SIFS_CCK_8733B(x) (((x) & BIT_MASK_R2T_SIFS_CCK_8733B) << BIT_SHIFT_R2T_SIFS_CCK_8733B)
#define BITS_R2T_SIFS_CCK_8733B (BIT_MASK_R2T_SIFS_CCK_8733B << BIT_SHIFT_R2T_SIFS_CCK_8733B)
#define BIT_CLEAR_R2T_SIFS_CCK_8733B(x) ((x) & (~BITS_R2T_SIFS_CCK_8733B))
#define BIT_GET_R2T_SIFS_CCK_8733B(x) (((x) >> BIT_SHIFT_R2T_SIFS_CCK_8733B) & BIT_MASK_R2T_SIFS_CCK_8733B)
#define BIT_SET_R2T_SIFS_CCK_8733B(x, v) (BIT_CLEAR_R2T_SIFS_CCK_8733B(x) | BIT_R2T_SIFS_CCK_8733B(v))

#define BIT_SHIFT_R2T_SIFS_CCK_8733B 8
#define BIT_MASK_R2T_SIFS_CCK_8733B 0xff
#define BIT_R2T_SIFS_CCK_8733B(x) (((x) & BIT_MASK_R2T_SIFS_CCK_8733B) << BIT_SHIFT_R2T_SIFS_CCK_8733B)
#define BITS_R2T_SIFS_CCK_8733B (BIT_MASK_R2T_SIFS_CCK_8733B << BIT_SHIFT_R2T_SIFS_CCK_8733B)
#define BIT_CLEAR_R2T_SIFS_CCK_8733B(x) ((x) & (~BITS_R2T_SIFS_CCK_8733B))
#define BIT_GET_R2T_SIFS_CCK_8733B(x) (((x) >> BIT_SHIFT_R2T_SIFS_CCK_8733B) & BIT_MASK_R2T_SIFS_CCK_8733B)
#define BIT_SET_R2T_SIFS_CCK_8733B(x, v) (BIT_CLEAR_R2T_SIFS_CCK_8733B(x) | BIT_R2T_SIFS_CCK_8733B(v))

#define BIT_SHIFT_R2T_SIFS_CCK_8733B 8
#define BIT_MASK_R2T_SIFS_CCK_8733B 0xff
#define BIT_R2T_SIFS_CCK_8733B(x) (((x) & BIT_MASK_R2T_SIFS_CCK_8733B) << BIT_SHIFT_R2T_SIFS_CCK_8733B)
#define BITS_R2T_SIFS_CCK_8733B (BIT_MASK_R2T_SIFS_CCK_8733B << BIT_SHIFT_R2T_SIFS_CCK_8733B)
#define BIT_CLEAR_R2T_SIFS_CCK_8733B(x) ((x) & (~BITS_R2T_SIFS_CCK_8733B))
#define BIT_GET_R2T_SIFS_CCK_8733B(x) (((x) >> BIT_SHIFT_R2T_SIFS_CCK_8733B) & BIT_MASK_R2T_SIFS_CCK_8733B)
#define BIT_SET_R2T_SIFS_CCK_8733B(x, v) (BIT_CLEAR_R2T_SIFS_CCK_8733B(x) | BIT_R2T_SIFS_CCK_8733B(v))

#define BIT_SHIFT_R2T_SIFS_CCK_8733B 8
#define BIT_MASK_R2T_SIFS_CCK_8733B 0xff
#define BIT_R2T_SIFS_CCK_8733B(x) (((x) & BIT_MASK_R2T_SIFS_CCK_8733B) << BIT_SHIFT_R2T_SIFS_CCK_8733B)
#define BITS_R2T_SIFS_CCK_8733B (BIT_MASK_R2T_SIFS_CCK_8733B << BIT_SHIFT_R2T_SIFS_CCK_8733B)
#define BIT_CLEAR_R2T_SIFS_CCK_8733B(x) ((x) & (~BITS_R2T_SIFS_CCK_8733B))
#define BIT_GET_R2T_SIFS_CCK_8733B(x) (((x) >> BIT_SHIFT_R2T_SIFS_CCK_8733B) & BIT_MASK_R2T_SIFS_CCK_8733B)
#define BIT_SET_R2T_SIFS_CCK_8733B(x, v) (BIT_CLEAR_R2T_SIFS_CCK_8733B(x) | BIT_R2T_SIFS_CCK_8733B(v))

#define BIT_SHIFT_R2T_SIFS_CCK_8733B 8
#define BIT_MASK_R2T_SIFS_CCK_8733B 0xff
#define BIT_R2T_SIFS_CCK_8733B(x) (((x) & BIT_MASK_R2T_SIFS_CCK_8733B) << BIT_SHIFT_R2T_SIFS_CCK_8733B)
#define BITS_R2T_SIFS_CCK_8733B (BIT_MASK_R2T_SIFS_CCK_8733B << BIT_SHIFT_R2T_SIFS_CCK_8733B)
#define BIT_CLEAR_R2T_SIFS_CCK_8733B(x) ((x) & (~BITS_R2T_SIFS_CCK_8733B))
#define BIT_GET_R2T_SIFS_CCK_8733B(x) (((x) >> BIT_SHIFT_R2T_SIFS_CCK_8733B) & BIT_MASK_R2T_SIFS_CCK_8733B)
#define BIT_SET_R2T_SIFS_CCK_8733B(x, v) (BIT_CLEAR_R2T_SIFS_CCK_8733B(x) | BIT_R2T_SIFS_CCK_8733B(v))

#define BIT_SHIFT_R2T_SIFS_CCK_8733B 8
#define BIT_MASK_R2T_SIFS_CCK_8733B 0xff
#define BIT_R2T_SIFS_CCK_8733B(x) (((x) & BIT_MASK_R2T_SIFS_CCK_8733B) << BIT_SHIFT_R2T_SIFS_CCK_8733B)
#define BITS_R2T_SIFS_CCK_8733B (BIT_MASK_R2T_SIFS_CCK_8733B << BIT_SHIFT_R2T_SIFS_CCK_8733B)
#define BIT_CLEAR_R2T_SIFS_CCK_8733B(x) ((x) & (~BITS_R2T_SIFS_CCK_8733B))
#define BIT_GET_R2T_SIFS_CCK_8733B(x) (((x) >> BIT_SHIFT_R2T_SIFS_CCK_8733B) & BIT_MASK_R2T_SIFS_CCK_8733B)
#define BIT_SET_R2T_SIFS_CCK_8733B(x, v) (BIT_CLEAR_R2T_SIFS_CCK_8733B(x) | BIT_R2T_SIFS_CCK_8733B(v))

#define BIT_SHIFT_T2T_SIFS_CCK_8733B 0
#define BIT_MASK_T2T_SIFS_CCK_8733B 0xff
#define BIT_T2T_SIFS_CCK_8733B(x) (((x) & BIT_MASK_T2T_SIFS_CCK_8733B) << BIT_SHIFT_T2T_SIFS_CCK_8733B)
#define BITS_T2T_SIFS_CCK_8733B (BIT_MASK_T2T_SIFS_CCK_8733B << BIT_SHIFT_T2T_SIFS_CCK_8733B)
#define BIT_CLEAR_T2T_SIFS_CCK_8733B(x) ((x) & (~BITS_T2T_SIFS_CCK_8733B))
#define BIT_GET_T2T_SIFS_CCK_8733B(x) (((x) >> BIT_SHIFT_T2T_SIFS_CCK_8733B) & BIT_MASK_T2T_SIFS_CCK_8733B)
#define BIT_SET_T2T_SIFS_CCK_8733B(x, v) (BIT_CLEAR_T2T_SIFS_CCK_8733B(x) | BIT_T2T_SIFS_CCK_8733B(v))

#define BIT_SHIFT_T2T_SIFS_CCK_8733B 0
#define BIT_MASK_T2T_SIFS_CCK_8733B 0xff
#define BIT_T2T_SIFS_CCK_8733B(x) (((x) & BIT_MASK_T2T_SIFS_CCK_8733B) << BIT_SHIFT_T2T_SIFS_CCK_8733B)
#define BITS_T2T_SIFS_CCK_8733B (BIT_MASK_T2T_SIFS_CCK_8733B << BIT_SHIFT_T2T_SIFS_CCK_8733B)
#define BIT_CLEAR_T2T_SIFS_CCK_8733B(x) ((x) & (~BITS_T2T_SIFS_CCK_8733B))
#define BIT_GET_T2T_SIFS_CCK_8733B(x) (((x) >> BIT_SHIFT_T2T_SIFS_CCK_8733B) & BIT_MASK_T2T_SIFS_CCK_8733B)
#define BIT_SET_T2T_SIFS_CCK_8733B(x, v) (BIT_CLEAR_T2T_SIFS_CCK_8733B(x) | BIT_T2T_SIFS_CCK_8733B(v))

#define BIT_SHIFT_T2T_SIFS_CCK_8733B 0
#define BIT_MASK_T2T_SIFS_CCK_8733B 0xff
#define BIT_T2T_SIFS_CCK_8733B(x) (((x) & BIT_MASK_T2T_SIFS_CCK_8733B) << BIT_SHIFT_T2T_SIFS_CCK_8733B)
#define BITS_T2T_SIFS_CCK_8733B (BIT_MASK_T2T_SIFS_CCK_8733B << BIT_SHIFT_T2T_SIFS_CCK_8733B)
#define BIT_CLEAR_T2T_SIFS_CCK_8733B(x) ((x) & (~BITS_T2T_SIFS_CCK_8733B))
#define BIT_GET_T2T_SIFS_CCK_8733B(x) (((x) >> BIT_SHIFT_T2T_SIFS_CCK_8733B) & BIT_MASK_T2T_SIFS_CCK_8733B)
#define BIT_SET_T2T_SIFS_CCK_8733B(x, v) (BIT_CLEAR_T2T_SIFS_CCK_8733B(x) | BIT_T2T_SIFS_CCK_8733B(v))

#define BIT_SHIFT_T2T_SIFS_CCK_8733B 0
#define BIT_MASK_T2T_SIFS_CCK_8733B 0xff
#define BIT_T2T_SIFS_CCK_8733B(x) (((x) & BIT_MASK_T2T_SIFS_CCK_8733B) << BIT_SHIFT_T2T_SIFS_CCK_8733B)
#define BITS_T2T_SIFS_CCK_8733B (BIT_MASK_T2T_SIFS_CCK_8733B << BIT_SHIFT_T2T_SIFS_CCK_8733B)
#define BIT_CLEAR_T2T_SIFS_CCK_8733B(x) ((x) & (~BITS_T2T_SIFS_CCK_8733B))
#define BIT_GET_T2T_SIFS_CCK_8733B(x) (((x) >> BIT_SHIFT_T2T_SIFS_CCK_8733B) & BIT_MASK_T2T_SIFS_CCK_8733B)
#define BIT_SET_T2T_SIFS_CCK_8733B(x, v) (BIT_CLEAR_T2T_SIFS_CCK_8733B(x) | BIT_T2T_SIFS_CCK_8733B(v))

#define BIT_SHIFT_T2T_SIFS_CCK_8733B 0
#define BIT_MASK_T2T_SIFS_CCK_8733B 0xff
#define BIT_T2T_SIFS_CCK_8733B(x) (((x) & BIT_MASK_T2T_SIFS_CCK_8733B) << BIT_SHIFT_T2T_SIFS_CCK_8733B)
#define BITS_T2T_SIFS_CCK_8733B (BIT_MASK_T2T_SIFS_CCK_8733B << BIT_SHIFT_T2T_SIFS_CCK_8733B)
#define BIT_CLEAR_T2T_SIFS_CCK_8733B(x) ((x) & (~BITS_T2T_SIFS_CCK_8733B))
#define BIT_GET_T2T_SIFS_CCK_8733B(x) (((x) >> BIT_SHIFT_T2T_SIFS_CCK_8733B) & BIT_MASK_T2T_SIFS_CCK_8733B)
#define BIT_SET_T2T_SIFS_CCK_8733B(x, v) (BIT_CLEAR_T2T_SIFS_CCK_8733B(x) | BIT_T2T_SIFS_CCK_8733B(v))

#define BIT_SHIFT_T2T_SIFS_CCK_8733B 0
#define BIT_MASK_T2T_SIFS_CCK_8733B 0xff
#define BIT_T2T_SIFS_CCK_8733B(x) (((x) & BIT_MASK_T2T_SIFS_CCK_8733B) << BIT_SHIFT_T2T_SIFS_CCK_8733B)
#define BITS_T2T_SIFS_CCK_8733B (BIT_MASK_T2T_SIFS_CCK_8733B << BIT_SHIFT_T2T_SIFS_CCK_8733B)
#define BIT_CLEAR_T2T_SIFS_CCK_8733B(x) ((x) & (~BITS_T2T_SIFS_CCK_8733B))
#define BIT_GET_T2T_SIFS_CCK_8733B(x) (((x) >> BIT_SHIFT_T2T_SIFS_CCK_8733B) & BIT_MASK_T2T_SIFS_CCK_8733B)
#define BIT_SET_T2T_SIFS_CCK_8733B(x, v) (BIT_CLEAR_T2T_SIFS_CCK_8733B(x) | BIT_T2T_SIFS_CCK_8733B(v))

#define BIT_SHIFT_T2T_SIFS_CCK_8733B 0
#define BIT_MASK_T2T_SIFS_CCK_8733B 0xff
#define BIT_T2T_SIFS_CCK_8733B(x) (((x) & BIT_MASK_T2T_SIFS_CCK_8733B) << BIT_SHIFT_T2T_SIFS_CCK_8733B)
#define BITS_T2T_SIFS_CCK_8733B (BIT_MASK_T2T_SIFS_CCK_8733B << BIT_SHIFT_T2T_SIFS_CCK_8733B)
#define BIT_CLEAR_T2T_SIFS_CCK_8733B(x) ((x) & (~BITS_T2T_SIFS_CCK_8733B))
#define BIT_GET_T2T_SIFS_CCK_8733B(x) (((x) >> BIT_SHIFT_T2T_SIFS_CCK_8733B) & BIT_MASK_T2T_SIFS_CCK_8733B)
#define BIT_SET_T2T_SIFS_CCK_8733B(x, v) (BIT_CLEAR_T2T_SIFS_CCK_8733B(x) | BIT_T2T_SIFS_CCK_8733B(v))

#define BIT_SHIFT_T2T_SIFS_CCK_8733B 0
#define BIT_MASK_T2T_SIFS_CCK_8733B 0xff
#define BIT_T2T_SIFS_CCK_8733B(x) (((x) & BIT_MASK_T2T_SIFS_CCK_8733B) << BIT_SHIFT_T2T_SIFS_CCK_8733B)
#define BITS_T2T_SIFS_CCK_8733B (BIT_MASK_T2T_SIFS_CCK_8733B << BIT_SHIFT_T2T_SIFS_CCK_8733B)
#define BIT_CLEAR_T2T_SIFS_CCK_8733B(x) ((x) & (~BITS_T2T_SIFS_CCK_8733B))
#define BIT_GET_T2T_SIFS_CCK_8733B(x) (((x) >> BIT_SHIFT_T2T_SIFS_CCK_8733B) & BIT_MASK_T2T_SIFS_CCK_8733B)
#define BIT_SET_T2T_SIFS_CCK_8733B(x, v) (BIT_CLEAR_T2T_SIFS_CCK_8733B(x) | BIT_T2T_SIFS_CCK_8733B(v))

/* 2 REG_RESP_SIFS_OFDM_8733B (RESPONSE SIFS FOR OFDM REGISTER) */

#define BIT_SHIFT_R2T_SIFS_OFDM_8733B 8
#define BIT_MASK_R2T_SIFS_OFDM_8733B 0xff
#define BIT_R2T_SIFS_OFDM_8733B(x) (((x) & BIT_MASK_R2T_SIFS_OFDM_8733B) << BIT_SHIFT_R2T_SIFS_OFDM_8733B)
#define BITS_R2T_SIFS_OFDM_8733B (BIT_MASK_R2T_SIFS_OFDM_8733B << BIT_SHIFT_R2T_SIFS_OFDM_8733B)
#define BIT_CLEAR_R2T_SIFS_OFDM_8733B(x) ((x) & (~BITS_R2T_SIFS_OFDM_8733B))
#define BIT_GET_R2T_SIFS_OFDM_8733B(x) (((x) >> BIT_SHIFT_R2T_SIFS_OFDM_8733B) & BIT_MASK_R2T_SIFS_OFDM_8733B)
#define BIT_SET_R2T_SIFS_OFDM_8733B(x, v) (BIT_CLEAR_R2T_SIFS_OFDM_8733B(x) | BIT_R2T_SIFS_OFDM_8733B(v))

#define BIT_SHIFT_R2T_SIFS_OFDM_8733B 8
#define BIT_MASK_R2T_SIFS_OFDM_8733B 0xff
#define BIT_R2T_SIFS_OFDM_8733B(x) (((x) & BIT_MASK_R2T_SIFS_OFDM_8733B) << BIT_SHIFT_R2T_SIFS_OFDM_8733B)
#define BITS_R2T_SIFS_OFDM_8733B (BIT_MASK_R2T_SIFS_OFDM_8733B << BIT_SHIFT_R2T_SIFS_OFDM_8733B)
#define BIT_CLEAR_R2T_SIFS_OFDM_8733B(x) ((x) & (~BITS_R2T_SIFS_OFDM_8733B))
#define BIT_GET_R2T_SIFS_OFDM_8733B(x) (((x) >> BIT_SHIFT_R2T_SIFS_OFDM_8733B) & BIT_MASK_R2T_SIFS_OFDM_8733B)
#define BIT_SET_R2T_SIFS_OFDM_8733B(x, v) (BIT_CLEAR_R2T_SIFS_OFDM_8733B(x) | BIT_R2T_SIFS_OFDM_8733B(v))

#define BIT_SHIFT_R2T_SIFS_OFDM_8733B 8
#define BIT_MASK_R2T_SIFS_OFDM_8733B 0xff
#define BIT_R2T_SIFS_OFDM_8733B(x) (((x) & BIT_MASK_R2T_SIFS_OFDM_8733B) << BIT_SHIFT_R2T_SIFS_OFDM_8733B)
#define BITS_R2T_SIFS_OFDM_8733B (BIT_MASK_R2T_SIFS_OFDM_8733B << BIT_SHIFT_R2T_SIFS_OFDM_8733B)
#define BIT_CLEAR_R2T_SIFS_OFDM_8733B(x) ((x) & (~BITS_R2T_SIFS_OFDM_8733B))
#define BIT_GET_R2T_SIFS_OFDM_8733B(x) (((x) >> BIT_SHIFT_R2T_SIFS_OFDM_8733B) & BIT_MASK_R2T_SIFS_OFDM_8733B)
#define BIT_SET_R2T_SIFS_OFDM_8733B(x, v) (BIT_CLEAR_R2T_SIFS_OFDM_8733B(x) | BIT_R2T_SIFS_OFDM_8733B(v))

#define BIT_SHIFT_R2T_SIFS_OFDM_8733B 8
#define BIT_MASK_R2T_SIFS_OFDM_8733B 0xff
#define BIT_R2T_SIFS_OFDM_8733B(x) (((x) & BIT_MASK_R2T_SIFS_OFDM_8733B) << BIT_SHIFT_R2T_SIFS_OFDM_8733B)
#define BITS_R2T_SIFS_OFDM_8733B (BIT_MASK_R2T_SIFS_OFDM_8733B << BIT_SHIFT_R2T_SIFS_OFDM_8733B)
#define BIT_CLEAR_R2T_SIFS_OFDM_8733B(x) ((x) & (~BITS_R2T_SIFS_OFDM_8733B))
#define BIT_GET_R2T_SIFS_OFDM_8733B(x) (((x) >> BIT_SHIFT_R2T_SIFS_OFDM_8733B) & BIT_MASK_R2T_SIFS_OFDM_8733B)
#define BIT_SET_R2T_SIFS_OFDM_8733B(x, v) (BIT_CLEAR_R2T_SIFS_OFDM_8733B(x) | BIT_R2T_SIFS_OFDM_8733B(v))

#define BIT_SHIFT_R2T_SIFS_OFDM_8733B 8
#define BIT_MASK_R2T_SIFS_OFDM_8733B 0xff
#define BIT_R2T_SIFS_OFDM_8733B(x) (((x) & BIT_MASK_R2T_SIFS_OFDM_8733B) << BIT_SHIFT_R2T_SIFS_OFDM_8733B)
#define BITS_R2T_SIFS_OFDM_8733B (BIT_MASK_R2T_SIFS_OFDM_8733B << BIT_SHIFT_R2T_SIFS_OFDM_8733B)
#define BIT_CLEAR_R2T_SIFS_OFDM_8733B(x) ((x) & (~BITS_R2T_SIFS_OFDM_8733B))
#define BIT_GET_R2T_SIFS_OFDM_8733B(x) (((x) >> BIT_SHIFT_R2T_SIFS_OFDM_8733B) & BIT_MASK_R2T_SIFS_OFDM_8733B)
#define BIT_SET_R2T_SIFS_OFDM_8733B(x, v) (BIT_CLEAR_R2T_SIFS_OFDM_8733B(x) | BIT_R2T_SIFS_OFDM_8733B(v))

#define BIT_SHIFT_R2T_SIFS_OFDM_8733B 8
#define BIT_MASK_R2T_SIFS_OFDM_8733B 0xff
#define BIT_R2T_SIFS_OFDM_8733B(x) (((x) & BIT_MASK_R2T_SIFS_OFDM_8733B) << BIT_SHIFT_R2T_SIFS_OFDM_8733B)
#define BITS_R2T_SIFS_OFDM_8733B (BIT_MASK_R2T_SIFS_OFDM_8733B << BIT_SHIFT_R2T_SIFS_OFDM_8733B)
#define BIT_CLEAR_R2T_SIFS_OFDM_8733B(x) ((x) & (~BITS_R2T_SIFS_OFDM_8733B))
#define BIT_GET_R2T_SIFS_OFDM_8733B(x) (((x) >> BIT_SHIFT_R2T_SIFS_OFDM_8733B) & BIT_MASK_R2T_SIFS_OFDM_8733B)
#define BIT_SET_R2T_SIFS_OFDM_8733B(x, v) (BIT_CLEAR_R2T_SIFS_OFDM_8733B(x) | BIT_R2T_SIFS_OFDM_8733B(v))

#define BIT_SHIFT_R2T_SIFS_OFDM_8733B 8
#define BIT_MASK_R2T_SIFS_OFDM_8733B 0xff
#define BIT_R2T_SIFS_OFDM_8733B(x) (((x) & BIT_MASK_R2T_SIFS_OFDM_8733B) << BIT_SHIFT_R2T_SIFS_OFDM_8733B)
#define BITS_R2T_SIFS_OFDM_8733B (BIT_MASK_R2T_SIFS_OFDM_8733B << BIT_SHIFT_R2T_SIFS_OFDM_8733B)
#define BIT_CLEAR_R2T_SIFS_OFDM_8733B(x) ((x) & (~BITS_R2T_SIFS_OFDM_8733B))
#define BIT_GET_R2T_SIFS_OFDM_8733B(x) (((x) >> BIT_SHIFT_R2T_SIFS_OFDM_8733B) & BIT_MASK_R2T_SIFS_OFDM_8733B)
#define BIT_SET_R2T_SIFS_OFDM_8733B(x, v) (BIT_CLEAR_R2T_SIFS_OFDM_8733B(x) | BIT_R2T_SIFS_OFDM_8733B(v))

#define BIT_SHIFT_R2T_SIFS_OFDM_8733B 8
#define BIT_MASK_R2T_SIFS_OFDM_8733B 0xff
#define BIT_R2T_SIFS_OFDM_8733B(x) (((x) & BIT_MASK_R2T_SIFS_OFDM_8733B) << BIT_SHIFT_R2T_SIFS_OFDM_8733B)
#define BITS_R2T_SIFS_OFDM_8733B (BIT_MASK_R2T_SIFS_OFDM_8733B << BIT_SHIFT_R2T_SIFS_OFDM_8733B)
#define BIT_CLEAR_R2T_SIFS_OFDM_8733B(x) ((x) & (~BITS_R2T_SIFS_OFDM_8733B))
#define BIT_GET_R2T_SIFS_OFDM_8733B(x) (((x) >> BIT_SHIFT_R2T_SIFS_OFDM_8733B) & BIT_MASK_R2T_SIFS_OFDM_8733B)
#define BIT_SET_R2T_SIFS_OFDM_8733B(x, v) (BIT_CLEAR_R2T_SIFS_OFDM_8733B(x) | BIT_R2T_SIFS_OFDM_8733B(v))

#define BIT_SHIFT_T2T_SIFS_OFDM_8733B 0
#define BIT_MASK_T2T_SIFS_OFDM_8733B 0xff
#define BIT_T2T_SIFS_OFDM_8733B(x) (((x) & BIT_MASK_T2T_SIFS_OFDM_8733B) << BIT_SHIFT_T2T_SIFS_OFDM_8733B)
#define BITS_T2T_SIFS_OFDM_8733B (BIT_MASK_T2T_SIFS_OFDM_8733B << BIT_SHIFT_T2T_SIFS_OFDM_8733B)
#define BIT_CLEAR_T2T_SIFS_OFDM_8733B(x) ((x) & (~BITS_T2T_SIFS_OFDM_8733B))
#define BIT_GET_T2T_SIFS_OFDM_8733B(x) (((x) >> BIT_SHIFT_T2T_SIFS_OFDM_8733B) & BIT_MASK_T2T_SIFS_OFDM_8733B)
#define BIT_SET_T2T_SIFS_OFDM_8733B(x, v) (BIT_CLEAR_T2T_SIFS_OFDM_8733B(x) | BIT_T2T_SIFS_OFDM_8733B(v))

#define BIT_SHIFT_T2T_SIFS_OFDM_8733B 0
#define BIT_MASK_T2T_SIFS_OFDM_8733B 0xff
#define BIT_T2T_SIFS_OFDM_8733B(x) (((x) & BIT_MASK_T2T_SIFS_OFDM_8733B) << BIT_SHIFT_T2T_SIFS_OFDM_8733B)
#define BITS_T2T_SIFS_OFDM_8733B (BIT_MASK_T2T_SIFS_OFDM_8733B << BIT_SHIFT_T2T_SIFS_OFDM_8733B)
#define BIT_CLEAR_T2T_SIFS_OFDM_8733B(x) ((x) & (~BITS_T2T_SIFS_OFDM_8733B))
#define BIT_GET_T2T_SIFS_OFDM_8733B(x) (((x) >> BIT_SHIFT_T2T_SIFS_OFDM_8733B) & BIT_MASK_T2T_SIFS_OFDM_8733B)
#define BIT_SET_T2T_SIFS_OFDM_8733B(x, v) (BIT_CLEAR_T2T_SIFS_OFDM_8733B(x) | BIT_T2T_SIFS_OFDM_8733B(v))

#define BIT_SHIFT_T2T_SIFS_OFDM_8733B 0
#define BIT_MASK_T2T_SIFS_OFDM_8733B 0xff
#define BIT_T2T_SIFS_OFDM_8733B(x) (((x) & BIT_MASK_T2T_SIFS_OFDM_8733B) << BIT_SHIFT_T2T_SIFS_OFDM_8733B)
#define BITS_T2T_SIFS_OFDM_8733B (BIT_MASK_T2T_SIFS_OFDM_8733B << BIT_SHIFT_T2T_SIFS_OFDM_8733B)
#define BIT_CLEAR_T2T_SIFS_OFDM_8733B(x) ((x) & (~BITS_T2T_SIFS_OFDM_8733B))
#define BIT_GET_T2T_SIFS_OFDM_8733B(x) (((x) >> BIT_SHIFT_T2T_SIFS_OFDM_8733B) & BIT_MASK_T2T_SIFS_OFDM_8733B)
#define BIT_SET_T2T_SIFS_OFDM_8733B(x, v) (BIT_CLEAR_T2T_SIFS_OFDM_8733B(x) | BIT_T2T_SIFS_OFDM_8733B(v))

#define BIT_SHIFT_T2T_SIFS_OFDM_8733B 0
#define BIT_MASK_T2T_SIFS_OFDM_8733B 0xff
#define BIT_T2T_SIFS_OFDM_8733B(x) (((x) & BIT_MASK_T2T_SIFS_OFDM_8733B) << BIT_SHIFT_T2T_SIFS_OFDM_8733B)
#define BITS_T2T_SIFS_OFDM_8733B (BIT_MASK_T2T_SIFS_OFDM_8733B << BIT_SHIFT_T2T_SIFS_OFDM_8733B)
#define BIT_CLEAR_T2T_SIFS_OFDM_8733B(x) ((x) & (~BITS_T2T_SIFS_OFDM_8733B))
#define BIT_GET_T2T_SIFS_OFDM_8733B(x) (((x) >> BIT_SHIFT_T2T_SIFS_OFDM_8733B) & BIT_MASK_T2T_SIFS_OFDM_8733B)
#define BIT_SET_T2T_SIFS_OFDM_8733B(x, v) (BIT_CLEAR_T2T_SIFS_OFDM_8733B(x) | BIT_T2T_SIFS_OFDM_8733B(v))

#define BIT_SHIFT_T2T_SIFS_OFDM_8733B 0
#define BIT_MASK_T2T_SIFS_OFDM_8733B 0xff
#define BIT_T2T_SIFS_OFDM_8733B(x) (((x) & BIT_MASK_T2T_SIFS_OFDM_8733B) << BIT_SHIFT_T2T_SIFS_OFDM_8733B)
#define BITS_T2T_SIFS_OFDM_8733B (BIT_MASK_T2T_SIFS_OFDM_8733B << BIT_SHIFT_T2T_SIFS_OFDM_8733B)
#define BIT_CLEAR_T2T_SIFS_OFDM_8733B(x) ((x) & (~BITS_T2T_SIFS_OFDM_8733B))
#define BIT_GET_T2T_SIFS_OFDM_8733B(x) (((x) >> BIT_SHIFT_T2T_SIFS_OFDM_8733B) & BIT_MASK_T2T_SIFS_OFDM_8733B)
#define BIT_SET_T2T_SIFS_OFDM_8733B(x, v) (BIT_CLEAR_T2T_SIFS_OFDM_8733B(x) | BIT_T2T_SIFS_OFDM_8733B(v))

#define BIT_SHIFT_T2T_SIFS_OFDM_8733B 0
#define BIT_MASK_T2T_SIFS_OFDM_8733B 0xff
#define BIT_T2T_SIFS_OFDM_8733B(x) (((x) & BIT_MASK_T2T_SIFS_OFDM_8733B) << BIT_SHIFT_T2T_SIFS_OFDM_8733B)
#define BITS_T2T_SIFS_OFDM_8733B (BIT_MASK_T2T_SIFS_OFDM_8733B << BIT_SHIFT_T2T_SIFS_OFDM_8733B)
#define BIT_CLEAR_T2T_SIFS_OFDM_8733B(x) ((x) & (~BITS_T2T_SIFS_OFDM_8733B))
#define BIT_GET_T2T_SIFS_OFDM_8733B(x) (((x) >> BIT_SHIFT_T2T_SIFS_OFDM_8733B) & BIT_MASK_T2T_SIFS_OFDM_8733B)
#define BIT_SET_T2T_SIFS_OFDM_8733B(x, v) (BIT_CLEAR_T2T_SIFS_OFDM_8733B(x) | BIT_T2T_SIFS_OFDM_8733B(v))

#define BIT_SHIFT_T2T_SIFS_OFDM_8733B 0
#define BIT_MASK_T2T_SIFS_OFDM_8733B 0xff
#define BIT_T2T_SIFS_OFDM_8733B(x) (((x) & BIT_MASK_T2T_SIFS_OFDM_8733B) << BIT_SHIFT_T2T_SIFS_OFDM_8733B)
#define BITS_T2T_SIFS_OFDM_8733B (BIT_MASK_T2T_SIFS_OFDM_8733B << BIT_SHIFT_T2T_SIFS_OFDM_8733B)
#define BIT_CLEAR_T2T_SIFS_OFDM_8733B(x) ((x) & (~BITS_T2T_SIFS_OFDM_8733B))
#define BIT_GET_T2T_SIFS_OFDM_8733B(x) (((x) >> BIT_SHIFT_T2T_SIFS_OFDM_8733B) & BIT_MASK_T2T_SIFS_OFDM_8733B)
#define BIT_SET_T2T_SIFS_OFDM_8733B(x, v) (BIT_CLEAR_T2T_SIFS_OFDM_8733B(x) | BIT_T2T_SIFS_OFDM_8733B(v))

/* 2 REG_ACKTO_8733B (ACK TIMEOUT REGISTER) */

#define BIT_SHIFT_ACKTO_8733B 0
#define BIT_MASK_ACKTO_8733B 0xff
#define BIT_ACKTO_8733B(x) (((x) & BIT_MASK_ACKTO_8733B) << BIT_SHIFT_ACKTO_8733B)
#define BITS_ACKTO_8733B (BIT_MASK_ACKTO_8733B << BIT_SHIFT_ACKTO_8733B)
#define BIT_CLEAR_ACKTO_8733B(x) ((x) & (~BITS_ACKTO_8733B))
#define BIT_GET_ACKTO_8733B(x) (((x) >> BIT_SHIFT_ACKTO_8733B) & BIT_MASK_ACKTO_8733B)
#define BIT_SET_ACKTO_8733B(x, v) (BIT_CLEAR_ACKTO_8733B(x) | BIT_ACKTO_8733B(v))

#define BIT_SHIFT_ACKTO_8733B 0
#define BIT_MASK_ACKTO_8733B 0xff
#define BIT_ACKTO_8733B(x) (((x) & BIT_MASK_ACKTO_8733B) << BIT_SHIFT_ACKTO_8733B)
#define BITS_ACKTO_8733B (BIT_MASK_ACKTO_8733B << BIT_SHIFT_ACKTO_8733B)
#define BIT_CLEAR_ACKTO_8733B(x) ((x) & (~BITS_ACKTO_8733B))
#define BIT_GET_ACKTO_8733B(x) (((x) >> BIT_SHIFT_ACKTO_8733B) & BIT_MASK_ACKTO_8733B)
#define BIT_SET_ACKTO_8733B(x, v) (BIT_CLEAR_ACKTO_8733B(x) | BIT_ACKTO_8733B(v))

#define BIT_SHIFT_ACKTO_8733B 0
#define BIT_MASK_ACKTO_8733B 0xff
#define BIT_ACKTO_8733B(x) (((x) & BIT_MASK_ACKTO_8733B) << BIT_SHIFT_ACKTO_8733B)
#define BITS_ACKTO_8733B (BIT_MASK_ACKTO_8733B << BIT_SHIFT_ACKTO_8733B)
#define BIT_CLEAR_ACKTO_8733B(x) ((x) & (~BITS_ACKTO_8733B))
#define BIT_GET_ACKTO_8733B(x) (((x) >> BIT_SHIFT_ACKTO_8733B) & BIT_MASK_ACKTO_8733B)
#define BIT_SET_ACKTO_8733B(x, v) (BIT_CLEAR_ACKTO_8733B(x) | BIT_ACKTO_8733B(v))

#define BIT_SHIFT_ACKTO_8733B 0
#define BIT_MASK_ACKTO_8733B 0xff
#define BIT_ACKTO_8733B(x) (((x) & BIT_MASK_ACKTO_8733B) << BIT_SHIFT_ACKTO_8733B)
#define BITS_ACKTO_8733B (BIT_MASK_ACKTO_8733B << BIT_SHIFT_ACKTO_8733B)
#define BIT_CLEAR_ACKTO_8733B(x) ((x) & (~BITS_ACKTO_8733B))
#define BIT_GET_ACKTO_8733B(x) (((x) >> BIT_SHIFT_ACKTO_8733B) & BIT_MASK_ACKTO_8733B)
#define BIT_SET_ACKTO_8733B(x, v) (BIT_CLEAR_ACKTO_8733B(x) | BIT_ACKTO_8733B(v))

#define BIT_SHIFT_ACKTO_8733B 0
#define BIT_MASK_ACKTO_8733B 0xff
#define BIT_ACKTO_8733B(x) (((x) & BIT_MASK_ACKTO_8733B) << BIT_SHIFT_ACKTO_8733B)
#define BITS_ACKTO_8733B (BIT_MASK_ACKTO_8733B << BIT_SHIFT_ACKTO_8733B)
#define BIT_CLEAR_ACKTO_8733B(x) ((x) & (~BITS_ACKTO_8733B))
#define BIT_GET_ACKTO_8733B(x) (((x) >> BIT_SHIFT_ACKTO_8733B) & BIT_MASK_ACKTO_8733B)
#define BIT_SET_ACKTO_8733B(x, v) (BIT_CLEAR_ACKTO_8733B(x) | BIT_ACKTO_8733B(v))

#define BIT_SHIFT_ACKTO_8733B 0
#define BIT_MASK_ACKTO_8733B 0xff
#define BIT_ACKTO_8733B(x) (((x) & BIT_MASK_ACKTO_8733B) << BIT_SHIFT_ACKTO_8733B)
#define BITS_ACKTO_8733B (BIT_MASK_ACKTO_8733B << BIT_SHIFT_ACKTO_8733B)
#define BIT_CLEAR_ACKTO_8733B(x) ((x) & (~BITS_ACKTO_8733B))
#define BIT_GET_ACKTO_8733B(x) (((x) >> BIT_SHIFT_ACKTO_8733B) & BIT_MASK_ACKTO_8733B)
#define BIT_SET_ACKTO_8733B(x, v) (BIT_CLEAR_ACKTO_8733B(x) | BIT_ACKTO_8733B(v))

#define BIT_SHIFT_ACKTO_8733B 0
#define BIT_MASK_ACKTO_8733B 0xff
#define BIT_ACKTO_8733B(x) (((x) & BIT_MASK_ACKTO_8733B) << BIT_SHIFT_ACKTO_8733B)
#define BITS_ACKTO_8733B (BIT_MASK_ACKTO_8733B << BIT_SHIFT_ACKTO_8733B)
#define BIT_CLEAR_ACKTO_8733B(x) ((x) & (~BITS_ACKTO_8733B))
#define BIT_GET_ACKTO_8733B(x) (((x) >> BIT_SHIFT_ACKTO_8733B) & BIT_MASK_ACKTO_8733B)
#define BIT_SET_ACKTO_8733B(x, v) (BIT_CLEAR_ACKTO_8733B(x) | BIT_ACKTO_8733B(v))

#define BIT_SHIFT_ACKTO_8733B 0
#define BIT_MASK_ACKTO_8733B 0xff
#define BIT_ACKTO_8733B(x) (((x) & BIT_MASK_ACKTO_8733B) << BIT_SHIFT_ACKTO_8733B)
#define BITS_ACKTO_8733B (BIT_MASK_ACKTO_8733B << BIT_SHIFT_ACKTO_8733B)
#define BIT_CLEAR_ACKTO_8733B(x) ((x) & (~BITS_ACKTO_8733B))
#define BIT_GET_ACKTO_8733B(x) (((x) >> BIT_SHIFT_ACKTO_8733B) & BIT_MASK_ACKTO_8733B)
#define BIT_SET_ACKTO_8733B(x, v) (BIT_CLEAR_ACKTO_8733B(x) | BIT_ACKTO_8733B(v))

/* 2 REG_CTS2TO_8733B (CTS2 TIMEOUT REGISTER) */

#define BIT_SHIFT_CTS2TO_8733B 0
#define BIT_MASK_CTS2TO_8733B 0xff
#define BIT_CTS2TO_8733B(x) (((x) & BIT_MASK_CTS2TO_8733B) << BIT_SHIFT_CTS2TO_8733B)
#define BITS_CTS2TO_8733B (BIT_MASK_CTS2TO_8733B << BIT_SHIFT_CTS2TO_8733B)
#define BIT_CLEAR_CTS2TO_8733B(x) ((x) & (~BITS_CTS2TO_8733B))
#define BIT_GET_CTS2TO_8733B(x) (((x) >> BIT_SHIFT_CTS2TO_8733B) & BIT_MASK_CTS2TO_8733B)
#define BIT_SET_CTS2TO_8733B(x, v) (BIT_CLEAR_CTS2TO_8733B(x) | BIT_CTS2TO_8733B(v))

#define BIT_SHIFT_CTS2TO_8733B 0
#define BIT_MASK_CTS2TO_8733B 0xff
#define BIT_CTS2TO_8733B(x) (((x) & BIT_MASK_CTS2TO_8733B) << BIT_SHIFT_CTS2TO_8733B)
#define BITS_CTS2TO_8733B (BIT_MASK_CTS2TO_8733B << BIT_SHIFT_CTS2TO_8733B)
#define BIT_CLEAR_CTS2TO_8733B(x) ((x) & (~BITS_CTS2TO_8733B))
#define BIT_GET_CTS2TO_8733B(x) (((x) >> BIT_SHIFT_CTS2TO_8733B) & BIT_MASK_CTS2TO_8733B)
#define BIT_SET_CTS2TO_8733B(x, v) (BIT_CLEAR_CTS2TO_8733B(x) | BIT_CTS2TO_8733B(v))

#define BIT_SHIFT_CTS2TO_8733B 0
#define BIT_MASK_CTS2TO_8733B 0xff
#define BIT_CTS2TO_8733B(x) (((x) & BIT_MASK_CTS2TO_8733B) << BIT_SHIFT_CTS2TO_8733B)
#define BITS_CTS2TO_8733B (BIT_MASK_CTS2TO_8733B << BIT_SHIFT_CTS2TO_8733B)
#define BIT_CLEAR_CTS2TO_8733B(x) ((x) & (~BITS_CTS2TO_8733B))
#define BIT_GET_CTS2TO_8733B(x) (((x) >> BIT_SHIFT_CTS2TO_8733B) & BIT_MASK_CTS2TO_8733B)
#define BIT_SET_CTS2TO_8733B(x, v) (BIT_CLEAR_CTS2TO_8733B(x) | BIT_CTS2TO_8733B(v))

#define BIT_SHIFT_CTS2TO_8733B 0
#define BIT_MASK_CTS2TO_8733B 0xff
#define BIT_CTS2TO_8733B(x) (((x) & BIT_MASK_CTS2TO_8733B) << BIT_SHIFT_CTS2TO_8733B)
#define BITS_CTS2TO_8733B (BIT_MASK_CTS2TO_8733B << BIT_SHIFT_CTS2TO_8733B)
#define BIT_CLEAR_CTS2TO_8733B(x) ((x) & (~BITS_CTS2TO_8733B))
#define BIT_GET_CTS2TO_8733B(x) (((x) >> BIT_SHIFT_CTS2TO_8733B) & BIT_MASK_CTS2TO_8733B)
#define BIT_SET_CTS2TO_8733B(x, v) (BIT_CLEAR_CTS2TO_8733B(x) | BIT_CTS2TO_8733B(v))

#define BIT_SHIFT_CTS2TO_8733B 0
#define BIT_MASK_CTS2TO_8733B 0xff
#define BIT_CTS2TO_8733B(x) (((x) & BIT_MASK_CTS2TO_8733B) << BIT_SHIFT_CTS2TO_8733B)
#define BITS_CTS2TO_8733B (BIT_MASK_CTS2TO_8733B << BIT_SHIFT_CTS2TO_8733B)
#define BIT_CLEAR_CTS2TO_8733B(x) ((x) & (~BITS_CTS2TO_8733B))
#define BIT_GET_CTS2TO_8733B(x) (((x) >> BIT_SHIFT_CTS2TO_8733B) & BIT_MASK_CTS2TO_8733B)
#define BIT_SET_CTS2TO_8733B(x, v) (BIT_CLEAR_CTS2TO_8733B(x) | BIT_CTS2TO_8733B(v))

#define BIT_SHIFT_CTS2TO_8733B 0
#define BIT_MASK_CTS2TO_8733B 0xff
#define BIT_CTS2TO_8733B(x) (((x) & BIT_MASK_CTS2TO_8733B) << BIT_SHIFT_CTS2TO_8733B)
#define BITS_CTS2TO_8733B (BIT_MASK_CTS2TO_8733B << BIT_SHIFT_CTS2TO_8733B)
#define BIT_CLEAR_CTS2TO_8733B(x) ((x) & (~BITS_CTS2TO_8733B))
#define BIT_GET_CTS2TO_8733B(x) (((x) >> BIT_SHIFT_CTS2TO_8733B) & BIT_MASK_CTS2TO_8733B)
#define BIT_SET_CTS2TO_8733B(x, v) (BIT_CLEAR_CTS2TO_8733B(x) | BIT_CTS2TO_8733B(v))

#define BIT_SHIFT_CTS2TO_8733B 0
#define BIT_MASK_CTS2TO_8733B 0xff
#define BIT_CTS2TO_8733B(x) (((x) & BIT_MASK_CTS2TO_8733B) << BIT_SHIFT_CTS2TO_8733B)
#define BITS_CTS2TO_8733B (BIT_MASK_CTS2TO_8733B << BIT_SHIFT_CTS2TO_8733B)
#define BIT_CLEAR_CTS2TO_8733B(x) ((x) & (~BITS_CTS2TO_8733B))
#define BIT_GET_CTS2TO_8733B(x) (((x) >> BIT_SHIFT_CTS2TO_8733B) & BIT_MASK_CTS2TO_8733B)
#define BIT_SET_CTS2TO_8733B(x, v) (BIT_CLEAR_CTS2TO_8733B(x) | BIT_CTS2TO_8733B(v))

#define BIT_SHIFT_CTS2TO_8733B 0
#define BIT_MASK_CTS2TO_8733B 0xff
#define BIT_CTS2TO_8733B(x) (((x) & BIT_MASK_CTS2TO_8733B) << BIT_SHIFT_CTS2TO_8733B)
#define BITS_CTS2TO_8733B (BIT_MASK_CTS2TO_8733B << BIT_SHIFT_CTS2TO_8733B)
#define BIT_CLEAR_CTS2TO_8733B(x) ((x) & (~BITS_CTS2TO_8733B))
#define BIT_GET_CTS2TO_8733B(x) (((x) >> BIT_SHIFT_CTS2TO_8733B) & BIT_MASK_CTS2TO_8733B)
#define BIT_SET_CTS2TO_8733B(x, v) (BIT_CLEAR_CTS2TO_8733B(x) | BIT_CTS2TO_8733B(v))

/* 2 REG_EIFS_8733B (EIFS REGISTER) */

#define BIT_SHIFT_EIFS_8733B 0
#define BIT_MASK_EIFS_8733B 0xffff
#define BIT_EIFS_8733B(x) (((x) & BIT_MASK_EIFS_8733B) << BIT_SHIFT_EIFS_8733B)
#define BITS_EIFS_8733B (BIT_MASK_EIFS_8733B << BIT_SHIFT_EIFS_8733B)
#define BIT_CLEAR_EIFS_8733B(x) ((x) & (~BITS_EIFS_8733B))
#define BIT_GET_EIFS_8733B(x) (((x) >> BIT_SHIFT_EIFS_8733B) & BIT_MASK_EIFS_8733B)
#define BIT_SET_EIFS_8733B(x, v) (BIT_CLEAR_EIFS_8733B(x) | BIT_EIFS_8733B(v))

#define BIT_SHIFT_EIFS_8733B 0
#define BIT_MASK_EIFS_8733B 0xffff
#define BIT_EIFS_8733B(x) (((x) & BIT_MASK_EIFS_8733B) << BIT_SHIFT_EIFS_8733B)
#define BITS_EIFS_8733B (BIT_MASK_EIFS_8733B << BIT_SHIFT_EIFS_8733B)
#define BIT_CLEAR_EIFS_8733B(x) ((x) & (~BITS_EIFS_8733B))
#define BIT_GET_EIFS_8733B(x) (((x) >> BIT_SHIFT_EIFS_8733B) & BIT_MASK_EIFS_8733B)
#define BIT_SET_EIFS_8733B(x, v) (BIT_CLEAR_EIFS_8733B(x) | BIT_EIFS_8733B(v))

#define BIT_SHIFT_EIFS_8733B 0
#define BIT_MASK_EIFS_8733B 0xffff
#define BIT_EIFS_8733B(x) (((x) & BIT_MASK_EIFS_8733B) << BIT_SHIFT_EIFS_8733B)
#define BITS_EIFS_8733B (BIT_MASK_EIFS_8733B << BIT_SHIFT_EIFS_8733B)
#define BIT_CLEAR_EIFS_8733B(x) ((x) & (~BITS_EIFS_8733B))
#define BIT_GET_EIFS_8733B(x) (((x) >> BIT_SHIFT_EIFS_8733B) & BIT_MASK_EIFS_8733B)
#define BIT_SET_EIFS_8733B(x, v) (BIT_CLEAR_EIFS_8733B(x) | BIT_EIFS_8733B(v))

#define BIT_SHIFT_EIFS_8733B 0
#define BIT_MASK_EIFS_8733B 0xffff
#define BIT_EIFS_8733B(x) (((x) & BIT_MASK_EIFS_8733B) << BIT_SHIFT_EIFS_8733B)
#define BITS_EIFS_8733B (BIT_MASK_EIFS_8733B << BIT_SHIFT_EIFS_8733B)
#define BIT_CLEAR_EIFS_8733B(x) ((x) & (~BITS_EIFS_8733B))
#define BIT_GET_EIFS_8733B(x) (((x) >> BIT_SHIFT_EIFS_8733B) & BIT_MASK_EIFS_8733B)
#define BIT_SET_EIFS_8733B(x, v) (BIT_CLEAR_EIFS_8733B(x) | BIT_EIFS_8733B(v))

#define BIT_SHIFT_EIFS_8733B 0
#define BIT_MASK_EIFS_8733B 0xffff
#define BIT_EIFS_8733B(x) (((x) & BIT_MASK_EIFS_8733B) << BIT_SHIFT_EIFS_8733B)
#define BITS_EIFS_8733B (BIT_MASK_EIFS_8733B << BIT_SHIFT_EIFS_8733B)
#define BIT_CLEAR_EIFS_8733B(x) ((x) & (~BITS_EIFS_8733B))
#define BIT_GET_EIFS_8733B(x) (((x) >> BIT_SHIFT_EIFS_8733B) & BIT_MASK_EIFS_8733B)
#define BIT_SET_EIFS_8733B(x, v) (BIT_CLEAR_EIFS_8733B(x) | BIT_EIFS_8733B(v))

#define BIT_SHIFT_EIFS_8733B 0
#define BIT_MASK_EIFS_8733B 0xffff
#define BIT_EIFS_8733B(x) (((x) & BIT_MASK_EIFS_8733B) << BIT_SHIFT_EIFS_8733B)
#define BITS_EIFS_8733B (BIT_MASK_EIFS_8733B << BIT_SHIFT_EIFS_8733B)
#define BIT_CLEAR_EIFS_8733B(x) ((x) & (~BITS_EIFS_8733B))
#define BIT_GET_EIFS_8733B(x) (((x) >> BIT_SHIFT_EIFS_8733B) & BIT_MASK_EIFS_8733B)
#define BIT_SET_EIFS_8733B(x, v) (BIT_CLEAR_EIFS_8733B(x) | BIT_EIFS_8733B(v))

#define BIT_SHIFT_EIFS_8733B 0
#define BIT_MASK_EIFS_8733B 0xffff
#define BIT_EIFS_8733B(x) (((x) & BIT_MASK_EIFS_8733B) << BIT_SHIFT_EIFS_8733B)
#define BITS_EIFS_8733B (BIT_MASK_EIFS_8733B << BIT_SHIFT_EIFS_8733B)
#define BIT_CLEAR_EIFS_8733B(x) ((x) & (~BITS_EIFS_8733B))
#define BIT_GET_EIFS_8733B(x) (((x) >> BIT_SHIFT_EIFS_8733B) & BIT_MASK_EIFS_8733B)
#define BIT_SET_EIFS_8733B(x, v) (BIT_CLEAR_EIFS_8733B(x) | BIT_EIFS_8733B(v))

#define BIT_SHIFT_EIFS_8733B 0
#define BIT_MASK_EIFS_8733B 0xffff
#define BIT_EIFS_8733B(x) (((x) & BIT_MASK_EIFS_8733B) << BIT_SHIFT_EIFS_8733B)
#define BITS_EIFS_8733B (BIT_MASK_EIFS_8733B << BIT_SHIFT_EIFS_8733B)
#define BIT_CLEAR_EIFS_8733B(x) ((x) & (~BITS_EIFS_8733B))
#define BIT_GET_EIFS_8733B(x) (((x) >> BIT_SHIFT_EIFS_8733B) & BIT_MASK_EIFS_8733B)
#define BIT_SET_EIFS_8733B(x, v) (BIT_CLEAR_EIFS_8733B(x) | BIT_EIFS_8733B(v))

#define BIT_SHIFT_EIFS_8733B 0
#define BIT_MASK_EIFS_8733B 0xffff
#define BIT_EIFS_8733B(x) (((x) & BIT_MASK_EIFS_8733B) << BIT_SHIFT_EIFS_8733B)
#define BITS_EIFS_8733B (BIT_MASK_EIFS_8733B << BIT_SHIFT_EIFS_8733B)
#define BIT_CLEAR_EIFS_8733B(x) ((x) & (~BITS_EIFS_8733B))
#define BIT_GET_EIFS_8733B(x) (((x) >> BIT_SHIFT_EIFS_8733B) & BIT_MASK_EIFS_8733B)
#define BIT_SET_EIFS_8733B(x, v) (BIT_CLEAR_EIFS_8733B(x) | BIT_EIFS_8733B(v))

#define BIT_SHIFT_EIFS_8733B 0
#define BIT_MASK_EIFS_8733B 0xffff
#define BIT_EIFS_8733B(x) (((x) & BIT_MASK_EIFS_8733B) << BIT_SHIFT_EIFS_8733B)
#define BITS_EIFS_8733B (BIT_MASK_EIFS_8733B << BIT_SHIFT_EIFS_8733B)
#define BIT_CLEAR_EIFS_8733B(x) ((x) & (~BITS_EIFS_8733B))
#define BIT_GET_EIFS_8733B(x) (((x) >> BIT_SHIFT_EIFS_8733B) & BIT_MASK_EIFS_8733B)
#define BIT_SET_EIFS_8733B(x, v) (BIT_CLEAR_EIFS_8733B(x) | BIT_EIFS_8733B(v))

#define BIT_SHIFT_EIFS_8733B 0
#define BIT_MASK_EIFS_8733B 0xffff
#define BIT_EIFS_8733B(x) (((x) & BIT_MASK_EIFS_8733B) << BIT_SHIFT_EIFS_8733B)
#define BITS_EIFS_8733B (BIT_MASK_EIFS_8733B << BIT_SHIFT_EIFS_8733B)
#define BIT_CLEAR_EIFS_8733B(x) ((x) & (~BITS_EIFS_8733B))
#define BIT_GET_EIFS_8733B(x) (((x) >> BIT_SHIFT_EIFS_8733B) & BIT_MASK_EIFS_8733B)
#define BIT_SET_EIFS_8733B(x, v) (BIT_CLEAR_EIFS_8733B(x) | BIT_EIFS_8733B(v))

#define BIT_SHIFT_EIFS_8733B 0
#define BIT_MASK_EIFS_8733B 0xffff
#define BIT_EIFS_8733B(x) (((x) & BIT_MASK_EIFS_8733B) << BIT_SHIFT_EIFS_8733B)
#define BITS_EIFS_8733B (BIT_MASK_EIFS_8733B << BIT_SHIFT_EIFS_8733B)
#define BIT_CLEAR_EIFS_8733B(x) ((x) & (~BITS_EIFS_8733B))
#define BIT_GET_EIFS_8733B(x) (((x) >> BIT_SHIFT_EIFS_8733B) & BIT_MASK_EIFS_8733B)
#define BIT_SET_EIFS_8733B(x, v) (BIT_CLEAR_EIFS_8733B(x) | BIT_EIFS_8733B(v))

#define BIT_SHIFT_EIFS_8733B 0
#define BIT_MASK_EIFS_8733B 0xffff
#define BIT_EIFS_8733B(x) (((x) & BIT_MASK_EIFS_8733B) << BIT_SHIFT_EIFS_8733B)
#define BITS_EIFS_8733B (BIT_MASK_EIFS_8733B << BIT_SHIFT_EIFS_8733B)
#define BIT_CLEAR_EIFS_8733B(x) ((x) & (~BITS_EIFS_8733B))
#define BIT_GET_EIFS_8733B(x) (((x) >> BIT_SHIFT_EIFS_8733B) & BIT_MASK_EIFS_8733B)
#define BIT_SET_EIFS_8733B(x, v) (BIT_CLEAR_EIFS_8733B(x) | BIT_EIFS_8733B(v))

#define BIT_SHIFT_EIFS_8733B 0
#define BIT_MASK_EIFS_8733B 0xffff
#define BIT_EIFS_8733B(x) (((x) & BIT_MASK_EIFS_8733B) << BIT_SHIFT_EIFS_8733B)
#define BITS_EIFS_8733B (BIT_MASK_EIFS_8733B << BIT_SHIFT_EIFS_8733B)
#define BIT_CLEAR_EIFS_8733B(x) ((x) & (~BITS_EIFS_8733B))
#define BIT_GET_EIFS_8733B(x) (((x) >> BIT_SHIFT_EIFS_8733B) & BIT_MASK_EIFS_8733B)
#define BIT_SET_EIFS_8733B(x, v) (BIT_CLEAR_EIFS_8733B(x) | BIT_EIFS_8733B(v))

#define BIT_SHIFT_EIFS_8733B 0
#define BIT_MASK_EIFS_8733B 0xffff
#define BIT_EIFS_8733B(x) (((x) & BIT_MASK_EIFS_8733B) << BIT_SHIFT_EIFS_8733B)
#define BITS_EIFS_8733B (BIT_MASK_EIFS_8733B << BIT_SHIFT_EIFS_8733B)
#define BIT_CLEAR_EIFS_8733B(x) ((x) & (~BITS_EIFS_8733B))
#define BIT_GET_EIFS_8733B(x) (((x) >> BIT_SHIFT_EIFS_8733B) & BIT_MASK_EIFS_8733B)
#define BIT_SET_EIFS_8733B(x, v) (BIT_CLEAR_EIFS_8733B(x) | BIT_EIFS_8733B(v))

#define BIT_SHIFT_EIFS_8733B 0
#define BIT_MASK_EIFS_8733B 0xffff
#define BIT_EIFS_8733B(x) (((x) & BIT_MASK_EIFS_8733B) << BIT_SHIFT_EIFS_8733B)
#define BITS_EIFS_8733B (BIT_MASK_EIFS_8733B << BIT_SHIFT_EIFS_8733B)
#define BIT_CLEAR_EIFS_8733B(x) ((x) & (~BITS_EIFS_8733B))
#define BIT_GET_EIFS_8733B(x) (((x) >> BIT_SHIFT_EIFS_8733B) & BIT_MASK_EIFS_8733B)
#define BIT_SET_EIFS_8733B(x, v) (BIT_CLEAR_EIFS_8733B(x) | BIT_EIFS_8733B(v))

/* 2 REG_RPFM_MAP_8733B */

#define BIT_SHIFT_PRFM_MAP1_8733B 16
#define BIT_MASK_PRFM_MAP1_8733B 0xffff
#define BIT_PRFM_MAP1_8733B(x) (((x) & BIT_MASK_PRFM_MAP1_8733B) << BIT_SHIFT_PRFM_MAP1_8733B)
#define BITS_PRFM_MAP1_8733B (BIT_MASK_PRFM_MAP1_8733B << BIT_SHIFT_PRFM_MAP1_8733B)
#define BIT_CLEAR_PRFM_MAP1_8733B(x) ((x) & (~BITS_PRFM_MAP1_8733B))
#define BIT_GET_PRFM_MAP1_8733B(x) (((x) >> BIT_SHIFT_PRFM_MAP1_8733B) & BIT_MASK_PRFM_MAP1_8733B)
#define BIT_SET_PRFM_MAP1_8733B(x, v) (BIT_CLEAR_PRFM_MAP1_8733B(x) | BIT_PRFM_MAP1_8733B(v))

#define BIT_SHIFT_PRFM_MAP0_8733B 0
#define BIT_MASK_PRFM_MAP0_8733B 0xffff
#define BIT_PRFM_MAP0_8733B(x) (((x) & BIT_MASK_PRFM_MAP0_8733B) << BIT_SHIFT_PRFM_MAP0_8733B)
#define BITS_PRFM_MAP0_8733B (BIT_MASK_PRFM_MAP0_8733B << BIT_SHIFT_PRFM_MAP0_8733B)
#define BIT_CLEAR_PRFM_MAP0_8733B(x) ((x) & (~BITS_PRFM_MAP0_8733B))
#define BIT_GET_PRFM_MAP0_8733B(x) (((x) >> BIT_SHIFT_PRFM_MAP0_8733B) & BIT_MASK_PRFM_MAP0_8733B)
#define BIT_SET_PRFM_MAP0_8733B(x, v) (BIT_CLEAR_PRFM_MAP0_8733B(x) | BIT_PRFM_MAP0_8733B(v))

/* 2 REG_RPFMCAM_CMD_8733B */
#define BIT_RPFMCAM_WE_8733B BIT(16)

#define BIT_SHIFT_RPFMCAM_ADD_8733B 0
#define BIT_MASK_RPFMCAM_ADD_8733B 0x7f
#define BIT_RPFMCAM_ADD_8733B(x) (((x) & BIT_MASK_RPFMCAM_ADD_8733B) << BIT_SHIFT_RPFMCAM_ADD_8733B)
#define BITS_RPFMCAM_ADD_8733B (BIT_MASK_RPFMCAM_ADD_8733B << BIT_SHIFT_RPFMCAM_ADD_8733B)
#define BIT_CLEAR_RPFMCAM_ADD_8733B(x) ((x) & (~BITS_RPFMCAM_ADD_8733B))
#define BIT_GET_RPFMCAM_ADD_8733B(x) (((x) >> BIT_SHIFT_RPFMCAM_ADD_8733B) & BIT_MASK_RPFMCAM_ADD_8733B)
#define BIT_SET_RPFMCAM_ADD_8733B(x, v) (BIT_CLEAR_RPFMCAM_ADD_8733B(x) | BIT_RPFMCAM_ADD_8733B(v))

/* 2 REG_RPFMCAM_WD_8733B */

#define BIT_SHIFT_RPFMCAM_WD_8733B 0
#define BIT_MASK_RPFMCAM_WD_8733B 0xffffffffL
#define BIT_RPFMCAM_WD_8733B(x) (((x) & BIT_MASK_RPFMCAM_WD_8733B) << BIT_SHIFT_RPFMCAM_WD_8733B)
#define BITS_RPFMCAM_WD_8733B (BIT_MASK_RPFMCAM_WD_8733B << BIT_SHIFT_RPFMCAM_WD_8733B)
#define BIT_CLEAR_RPFMCAM_WD_8733B(x) ((x) & (~BITS_RPFMCAM_WD_8733B))
#define BIT_GET_RPFMCAM_WD_8733B(x) (((x) >> BIT_SHIFT_RPFMCAM_WD_8733B) & BIT_MASK_RPFMCAM_WD_8733B)
#define BIT_SET_RPFMCAM_WD_8733B(x, v) (BIT_CLEAR_RPFMCAM_WD_8733B(x) | BIT_RPFMCAM_WD_8733B(v))

/* 2 REG_NAV_CTRL_8733B (NAV CONTROL REGISTER) */

#define BIT_SHIFT_NAV_UPBDY_8733B 16
#define BIT_MASK_NAV_UPBDY_8733B 0xff
#define BIT_NAV_UPBDY_8733B(x) (((x) & BIT_MASK_NAV_UPBDY_8733B) << BIT_SHIFT_NAV_UPBDY_8733B)
#define BITS_NAV_UPBDY_8733B (BIT_MASK_NAV_UPBDY_8733B << BIT_SHIFT_NAV_UPBDY_8733B)
#define BIT_CLEAR_NAV_UPBDY_8733B(x) ((x) & (~BITS_NAV_UPBDY_8733B))
#define BIT_GET_NAV_UPBDY_8733B(x) (((x) >> BIT_SHIFT_NAV_UPBDY_8733B) & BIT_MASK_NAV_UPBDY_8733B)
#define BIT_SET_NAV_UPBDY_8733B(x, v) (BIT_CLEAR_NAV_UPBDY_8733B(x) | BIT_NAV_UPBDY_8733B(v))

#define BIT_SHIFT_NAV_UPPER_8733B 16
#define BIT_MASK_NAV_UPPER_8733B 0xff
#define BIT_NAV_UPPER_8733B(x) (((x) & BIT_MASK_NAV_UPPER_8733B) << BIT_SHIFT_NAV_UPPER_8733B)
#define BITS_NAV_UPPER_8733B (BIT_MASK_NAV_UPPER_8733B << BIT_SHIFT_NAV_UPPER_8733B)
#define BIT_CLEAR_NAV_UPPER_8733B(x) ((x) & (~BITS_NAV_UPPER_8733B))
#define BIT_GET_NAV_UPPER_8733B(x) (((x) >> BIT_SHIFT_NAV_UPPER_8733B) & BIT_MASK_NAV_UPPER_8733B)
#define BIT_SET_NAV_UPPER_8733B(x, v) (BIT_CLEAR_NAV_UPPER_8733B(x) | BIT_NAV_UPPER_8733B(v))

#define BIT_SHIFT_NAV_UPPER_8733B 16
#define BIT_MASK_NAV_UPPER_8733B 0xff
#define BIT_NAV_UPPER_8733B(x) (((x) & BIT_MASK_NAV_UPPER_8733B) << BIT_SHIFT_NAV_UPPER_8733B)
#define BITS_NAV_UPPER_8733B (BIT_MASK_NAV_UPPER_8733B << BIT_SHIFT_NAV_UPPER_8733B)
#define BIT_CLEAR_NAV_UPPER_8733B(x) ((x) & (~BITS_NAV_UPPER_8733B))
#define BIT_GET_NAV_UPPER_8733B(x) (((x) >> BIT_SHIFT_NAV_UPPER_8733B) & BIT_MASK_NAV_UPPER_8733B)
#define BIT_SET_NAV_UPPER_8733B(x, v) (BIT_CLEAR_NAV_UPPER_8733B(x) | BIT_NAV_UPPER_8733B(v))

#define BIT_SHIFT_NAV_UPPER_8733B 16
#define BIT_MASK_NAV_UPPER_8733B 0xff
#define BIT_NAV_UPPER_8733B(x) (((x) & BIT_MASK_NAV_UPPER_8733B) << BIT_SHIFT_NAV_UPPER_8733B)
#define BITS_NAV_UPPER_8733B (BIT_MASK_NAV_UPPER_8733B << BIT_SHIFT_NAV_UPPER_8733B)
#define BIT_CLEAR_NAV_UPPER_8733B(x) ((x) & (~BITS_NAV_UPPER_8733B))
#define BIT_GET_NAV_UPPER_8733B(x) (((x) >> BIT_SHIFT_NAV_UPPER_8733B) & BIT_MASK_NAV_UPPER_8733B)
#define BIT_SET_NAV_UPPER_8733B(x, v) (BIT_CLEAR_NAV_UPPER_8733B(x) | BIT_NAV_UPPER_8733B(v))

#define BIT_SHIFT_NAV_UPPER_8733B 16
#define BIT_MASK_NAV_UPPER_8733B 0xff
#define BIT_NAV_UPPER_8733B(x) (((x) & BIT_MASK_NAV_UPPER_8733B) << BIT_SHIFT_NAV_UPPER_8733B)
#define BITS_NAV_UPPER_8733B (BIT_MASK_NAV_UPPER_8733B << BIT_SHIFT_NAV_UPPER_8733B)
#define BIT_CLEAR_NAV_UPPER_8733B(x) ((x) & (~BITS_NAV_UPPER_8733B))
#define BIT_GET_NAV_UPPER_8733B(x) (((x) >> BIT_SHIFT_NAV_UPPER_8733B) & BIT_MASK_NAV_UPPER_8733B)
#define BIT_SET_NAV_UPPER_8733B(x, v) (BIT_CLEAR_NAV_UPPER_8733B(x) | BIT_NAV_UPPER_8733B(v))

#define BIT_SHIFT_NAV_UPPER_8733B 16
#define BIT_MASK_NAV_UPPER_8733B 0xff
#define BIT_NAV_UPPER_8733B(x) (((x) & BIT_MASK_NAV_UPPER_8733B) << BIT_SHIFT_NAV_UPPER_8733B)
#define BITS_NAV_UPPER_8733B (BIT_MASK_NAV_UPPER_8733B << BIT_SHIFT_NAV_UPPER_8733B)
#define BIT_CLEAR_NAV_UPPER_8733B(x) ((x) & (~BITS_NAV_UPPER_8733B))
#define BIT_GET_NAV_UPPER_8733B(x) (((x) >> BIT_SHIFT_NAV_UPPER_8733B) & BIT_MASK_NAV_UPPER_8733B)
#define BIT_SET_NAV_UPPER_8733B(x, v) (BIT_CLEAR_NAV_UPPER_8733B(x) | BIT_NAV_UPPER_8733B(v))

#define BIT_SHIFT_NAV_UPPER_8733B 16
#define BIT_MASK_NAV_UPPER_8733B 0xff
#define BIT_NAV_UPPER_8733B(x) (((x) & BIT_MASK_NAV_UPPER_8733B) << BIT_SHIFT_NAV_UPPER_8733B)
#define BITS_NAV_UPPER_8733B (BIT_MASK_NAV_UPPER_8733B << BIT_SHIFT_NAV_UPPER_8733B)
#define BIT_CLEAR_NAV_UPPER_8733B(x) ((x) & (~BITS_NAV_UPPER_8733B))
#define BIT_GET_NAV_UPPER_8733B(x) (((x) >> BIT_SHIFT_NAV_UPPER_8733B) & BIT_MASK_NAV_UPPER_8733B)
#define BIT_SET_NAV_UPPER_8733B(x, v) (BIT_CLEAR_NAV_UPPER_8733B(x) | BIT_NAV_UPPER_8733B(v))

#define BIT_SHIFT_NAV_UPPER_8733B 16
#define BIT_MASK_NAV_UPPER_8733B 0xff
#define BIT_NAV_UPPER_8733B(x) (((x) & BIT_MASK_NAV_UPPER_8733B) << BIT_SHIFT_NAV_UPPER_8733B)
#define BITS_NAV_UPPER_8733B (BIT_MASK_NAV_UPPER_8733B << BIT_SHIFT_NAV_UPPER_8733B)
#define BIT_CLEAR_NAV_UPPER_8733B(x) ((x) & (~BITS_NAV_UPPER_8733B))
#define BIT_GET_NAV_UPPER_8733B(x) (((x) >> BIT_SHIFT_NAV_UPPER_8733B) & BIT_MASK_NAV_UPPER_8733B)
#define BIT_SET_NAV_UPPER_8733B(x, v) (BIT_CLEAR_NAV_UPPER_8733B(x) | BIT_NAV_UPPER_8733B(v))

#define BIT_SHIFT_RXMYRTS_NAV_8733B 8
#define BIT_MASK_RXMYRTS_NAV_8733B 0xf
#define BIT_RXMYRTS_NAV_8733B(x) (((x) & BIT_MASK_RXMYRTS_NAV_8733B) << BIT_SHIFT_RXMYRTS_NAV_8733B)
#define BITS_RXMYRTS_NAV_8733B (BIT_MASK_RXMYRTS_NAV_8733B << BIT_SHIFT_RXMYRTS_NAV_8733B)
#define BIT_CLEAR_RXMYRTS_NAV_8733B(x) ((x) & (~BITS_RXMYRTS_NAV_8733B))
#define BIT_GET_RXMYRTS_NAV_8733B(x) (((x) >> BIT_SHIFT_RXMYRTS_NAV_8733B) & BIT_MASK_RXMYRTS_NAV_8733B)
#define BIT_SET_RXMYRTS_NAV_8733B(x, v) (BIT_CLEAR_RXMYRTS_NAV_8733B(x) | BIT_RXMYRTS_NAV_8733B(v))

#define BIT_SHIFT_RXMYRTS_NAV_8733B 8
#define BIT_MASK_RXMYRTS_NAV_8733B 0xf
#define BIT_RXMYRTS_NAV_8733B(x) (((x) & BIT_MASK_RXMYRTS_NAV_8733B) << BIT_SHIFT_RXMYRTS_NAV_8733B)
#define BITS_RXMYRTS_NAV_8733B (BIT_MASK_RXMYRTS_NAV_8733B << BIT_SHIFT_RXMYRTS_NAV_8733B)
#define BIT_CLEAR_RXMYRTS_NAV_8733B(x) ((x) & (~BITS_RXMYRTS_NAV_8733B))
#define BIT_GET_RXMYRTS_NAV_8733B(x) (((x) >> BIT_SHIFT_RXMYRTS_NAV_8733B) & BIT_MASK_RXMYRTS_NAV_8733B)
#define BIT_SET_RXMYRTS_NAV_8733B(x, v) (BIT_CLEAR_RXMYRTS_NAV_8733B(x) | BIT_RXMYRTS_NAV_8733B(v))

#define BIT_SHIFT_RXMYRTS_NAV_8733B 8
#define BIT_MASK_RXMYRTS_NAV_8733B 0xf
#define BIT_RXMYRTS_NAV_8733B(x) (((x) & BIT_MASK_RXMYRTS_NAV_8733B) << BIT_SHIFT_RXMYRTS_NAV_8733B)
#define BITS_RXMYRTS_NAV_8733B (BIT_MASK_RXMYRTS_NAV_8733B << BIT_SHIFT_RXMYRTS_NAV_8733B)
#define BIT_CLEAR_RXMYRTS_NAV_8733B(x) ((x) & (~BITS_RXMYRTS_NAV_8733B))
#define BIT_GET_RXMYRTS_NAV_8733B(x) (((x) >> BIT_SHIFT_RXMYRTS_NAV_8733B) & BIT_MASK_RXMYRTS_NAV_8733B)
#define BIT_SET_RXMYRTS_NAV_8733B(x, v) (BIT_CLEAR_RXMYRTS_NAV_8733B(x) | BIT_RXMYRTS_NAV_8733B(v))

#define BIT_SHIFT_RXMYRTS_NAV_8733B 8
#define BIT_MASK_RXMYRTS_NAV_8733B 0xf
#define BIT_RXMYRTS_NAV_8733B(x) (((x) & BIT_MASK_RXMYRTS_NAV_8733B) << BIT_SHIFT_RXMYRTS_NAV_8733B)
#define BITS_RXMYRTS_NAV_8733B (BIT_MASK_RXMYRTS_NAV_8733B << BIT_SHIFT_RXMYRTS_NAV_8733B)
#define BIT_CLEAR_RXMYRTS_NAV_8733B(x) ((x) & (~BITS_RXMYRTS_NAV_8733B))
#define BIT_GET_RXMYRTS_NAV_8733B(x) (((x) >> BIT_SHIFT_RXMYRTS_NAV_8733B) & BIT_MASK_RXMYRTS_NAV_8733B)
#define BIT_SET_RXMYRTS_NAV_8733B(x, v) (BIT_CLEAR_RXMYRTS_NAV_8733B(x) | BIT_RXMYRTS_NAV_8733B(v))

#define BIT_SHIFT_RTS_RST_DUR_8733B 0
#define BIT_MASK_RTS_RST_DUR_8733B 0xff
#define BIT_RTS_RST_DUR_8733B(x) (((x) & BIT_MASK_RTS_RST_DUR_8733B) << BIT_SHIFT_RTS_RST_DUR_8733B)
#define BITS_RTS_RST_DUR_8733B (BIT_MASK_RTS_RST_DUR_8733B << BIT_SHIFT_RTS_RST_DUR_8733B)
#define BIT_CLEAR_RTS_RST_DUR_8733B(x) ((x) & (~BITS_RTS_RST_DUR_8733B))
#define BIT_GET_RTS_RST_DUR_8733B(x) (((x) >> BIT_SHIFT_RTS_RST_DUR_8733B) & BIT_MASK_RTS_RST_DUR_8733B)
#define BIT_SET_RTS_RST_DUR_8733B(x, v) (BIT_CLEAR_RTS_RST_DUR_8733B(x) | BIT_RTS_RST_DUR_8733B(v))

#define BIT_SHIFT_RTSRST_8733B 0
#define BIT_MASK_RTSRST_8733B 0xff
#define BIT_RTSRST_8733B(x) (((x) & BIT_MASK_RTSRST_8733B) << BIT_SHIFT_RTSRST_8733B)
#define BITS_RTSRST_8733B (BIT_MASK_RTSRST_8733B << BIT_SHIFT_RTSRST_8733B)
#define BIT_CLEAR_RTSRST_8733B(x) ((x) & (~BITS_RTSRST_8733B))
#define BIT_GET_RTSRST_8733B(x) (((x) >> BIT_SHIFT_RTSRST_8733B) & BIT_MASK_RTSRST_8733B)
#define BIT_SET_RTSRST_8733B(x, v) (BIT_CLEAR_RTSRST_8733B(x) | BIT_RTSRST_8733B(v))

#define BIT_SHIFT_RTSRST_8733B 0
#define BIT_MASK_RTSRST_8733B 0xff
#define BIT_RTSRST_8733B(x) (((x) & BIT_MASK_RTSRST_8733B) << BIT_SHIFT_RTSRST_8733B)
#define BITS_RTSRST_8733B (BIT_MASK_RTSRST_8733B << BIT_SHIFT_RTSRST_8733B)
#define BIT_CLEAR_RTSRST_8733B(x) ((x) & (~BITS_RTSRST_8733B))
#define BIT_GET_RTSRST_8733B(x) (((x) >> BIT_SHIFT_RTSRST_8733B) & BIT_MASK_RTSRST_8733B)
#define BIT_SET_RTSRST_8733B(x, v) (BIT_CLEAR_RTSRST_8733B(x) | BIT_RTSRST_8733B(v))

#define BIT_SHIFT_RTSRST_8733B 0
#define BIT_MASK_RTSRST_8733B 0xff
#define BIT_RTSRST_8733B(x) (((x) & BIT_MASK_RTSRST_8733B) << BIT_SHIFT_RTSRST_8733B)
#define BITS_RTSRST_8733B (BIT_MASK_RTSRST_8733B << BIT_SHIFT_RTSRST_8733B)
#define BIT_CLEAR_RTSRST_8733B(x) ((x) & (~BITS_RTSRST_8733B))
#define BIT_GET_RTSRST_8733B(x) (((x) >> BIT_SHIFT_RTSRST_8733B) & BIT_MASK_RTSRST_8733B)
#define BIT_SET_RTSRST_8733B(x, v) (BIT_CLEAR_RTSRST_8733B(x) | BIT_RTSRST_8733B(v))

#define BIT_SHIFT_RTSRST_8733B 0
#define BIT_MASK_RTSRST_8733B 0xff
#define BIT_RTSRST_8733B(x) (((x) & BIT_MASK_RTSRST_8733B) << BIT_SHIFT_RTSRST_8733B)
#define BITS_RTSRST_8733B (BIT_MASK_RTSRST_8733B << BIT_SHIFT_RTSRST_8733B)
#define BIT_CLEAR_RTSRST_8733B(x) ((x) & (~BITS_RTSRST_8733B))
#define BIT_GET_RTSRST_8733B(x) (((x) >> BIT_SHIFT_RTSRST_8733B) & BIT_MASK_RTSRST_8733B)
#define BIT_SET_RTSRST_8733B(x, v) (BIT_CLEAR_RTSRST_8733B(x) | BIT_RTSRST_8733B(v))

#define BIT_SHIFT_RTSRST_8733B 0
#define BIT_MASK_RTSRST_8733B 0xff
#define BIT_RTSRST_8733B(x) (((x) & BIT_MASK_RTSRST_8733B) << BIT_SHIFT_RTSRST_8733B)
#define BITS_RTSRST_8733B (BIT_MASK_RTSRST_8733B << BIT_SHIFT_RTSRST_8733B)
#define BIT_CLEAR_RTSRST_8733B(x) ((x) & (~BITS_RTSRST_8733B))
#define BIT_GET_RTSRST_8733B(x) (((x) >> BIT_SHIFT_RTSRST_8733B) & BIT_MASK_RTSRST_8733B)
#define BIT_SET_RTSRST_8733B(x, v) (BIT_CLEAR_RTSRST_8733B(x) | BIT_RTSRST_8733B(v))

#define BIT_SHIFT_RTSRST_8733B 0
#define BIT_MASK_RTSRST_8733B 0xff
#define BIT_RTSRST_8733B(x) (((x) & BIT_MASK_RTSRST_8733B) << BIT_SHIFT_RTSRST_8733B)
#define BITS_RTSRST_8733B (BIT_MASK_RTSRST_8733B << BIT_SHIFT_RTSRST_8733B)
#define BIT_CLEAR_RTSRST_8733B(x) ((x) & (~BITS_RTSRST_8733B))
#define BIT_GET_RTSRST_8733B(x) (((x) >> BIT_SHIFT_RTSRST_8733B) & BIT_MASK_RTSRST_8733B)
#define BIT_SET_RTSRST_8733B(x, v) (BIT_CLEAR_RTSRST_8733B(x) | BIT_RTSRST_8733B(v))

#define BIT_SHIFT_RTSRST_8733B 0
#define BIT_MASK_RTSRST_8733B 0xff
#define BIT_RTSRST_8733B(x) (((x) & BIT_MASK_RTSRST_8733B) << BIT_SHIFT_RTSRST_8733B)
#define BITS_RTSRST_8733B (BIT_MASK_RTSRST_8733B << BIT_SHIFT_RTSRST_8733B)
#define BIT_CLEAR_RTSRST_8733B(x) ((x) & (~BITS_RTSRST_8733B))
#define BIT_GET_RTSRST_8733B(x) (((x) >> BIT_SHIFT_RTSRST_8733B) & BIT_MASK_RTSRST_8733B)
#define BIT_SET_RTSRST_8733B(x, v) (BIT_CLEAR_RTSRST_8733B(x) | BIT_RTSRST_8733B(v))

/* 2 REG_BACAMCMD_8733B (BLOCK ACK CAM COMMAND REGISTER) */
#define BIT_BACAM_POLL_8733B BIT(31)
#define BIT_BACAM_RST_8733B BIT(17)
#define BIT_BACAM_RW_8733B BIT(16)

#define BIT_SHIFT_TXSBMPMOD_8733B 14
#define BIT_MASK_TXSBMPMOD_8733B 0x3
#define BIT_TXSBMPMOD_8733B(x) (((x) & BIT_MASK_TXSBMPMOD_8733B) << BIT_SHIFT_TXSBMPMOD_8733B)
#define BITS_TXSBMPMOD_8733B (BIT_MASK_TXSBMPMOD_8733B << BIT_SHIFT_TXSBMPMOD_8733B)
#define BIT_CLEAR_TXSBMPMOD_8733B(x) ((x) & (~BITS_TXSBMPMOD_8733B))
#define BIT_GET_TXSBMPMOD_8733B(x) (((x) >> BIT_SHIFT_TXSBMPMOD_8733B) & BIT_MASK_TXSBMPMOD_8733B)
#define BIT_SET_TXSBMPMOD_8733B(x, v) (BIT_CLEAR_TXSBMPMOD_8733B(x) | BIT_TXSBMPMOD_8733B(v))

#define BIT_SHIFT_TXSBMPMOD_8733B 14
#define BIT_MASK_TXSBMPMOD_8733B 0x3
#define BIT_TXSBMPMOD_8733B(x) (((x) & BIT_MASK_TXSBMPMOD_8733B) << BIT_SHIFT_TXSBMPMOD_8733B)
#define BITS_TXSBMPMOD_8733B (BIT_MASK_TXSBMPMOD_8733B << BIT_SHIFT_TXSBMPMOD_8733B)
#define BIT_CLEAR_TXSBMPMOD_8733B(x) ((x) & (~BITS_TXSBMPMOD_8733B))
#define BIT_GET_TXSBMPMOD_8733B(x) (((x) >> BIT_SHIFT_TXSBMPMOD_8733B) & BIT_MASK_TXSBMPMOD_8733B)
#define BIT_SET_TXSBMPMOD_8733B(x, v) (BIT_CLEAR_TXSBMPMOD_8733B(x) | BIT_TXSBMPMOD_8733B(v))

#define BIT_RXBACAM_DA_EN_8733B BIT(13)

#define BIT_SHIFT_BACAM_AD_8733B 0
#define BIT_MASK_BACAM_AD_8733B 0x3f
#define BIT_BACAM_AD_8733B(x) (((x) & BIT_MASK_BACAM_AD_8733B) << BIT_SHIFT_BACAM_AD_8733B)
#define BITS_BACAM_AD_8733B (BIT_MASK_BACAM_AD_8733B << BIT_SHIFT_BACAM_AD_8733B)
#define BIT_CLEAR_BACAM_AD_8733B(x) ((x) & (~BITS_BACAM_AD_8733B))
#define BIT_GET_BACAM_AD_8733B(x) (((x) >> BIT_SHIFT_BACAM_AD_8733B) & BIT_MASK_BACAM_AD_8733B)
#define BIT_SET_BACAM_AD_8733B(x, v) (BIT_CLEAR_BACAM_AD_8733B(x) | BIT_BACAM_AD_8733B(v))

/* 2 REG_BACAM_WD_L_8733B (BLOCK ACK CAM CONTENT REGISTER) */

#define BIT_SHIFT_BA_CONTENT_L_8733B 0
#define BIT_MASK_BA_CONTENT_L_8733B 0xffffffffL
#define BIT_BA_CONTENT_L_8733B(x) (((x) & BIT_MASK_BA_CONTENT_L_8733B) << BIT_SHIFT_BA_CONTENT_L_8733B)
#define BITS_BA_CONTENT_L_8733B (BIT_MASK_BA_CONTENT_L_8733B << BIT_SHIFT_BA_CONTENT_L_8733B)
#define BIT_CLEAR_BA_CONTENT_L_8733B(x) ((x) & (~BITS_BA_CONTENT_L_8733B))
#define BIT_GET_BA_CONTENT_L_8733B(x) (((x) >> BIT_SHIFT_BA_CONTENT_L_8733B) & BIT_MASK_BA_CONTENT_L_8733B)
#define BIT_SET_BA_CONTENT_L_8733B(x, v) (BIT_CLEAR_BA_CONTENT_L_8733B(x) | BIT_BA_CONTENT_L_8733B(v))

/* 2 REG_BACAM_WD_H_8733B (BLOCK ACK CAM CONTENT REGISTER) */

#define BIT_SHIFT_BA_CONTENT_H_8733B 0
#define BIT_MASK_BA_CONTENT_H_8733B 0xffffffffL
#define BIT_BA_CONTENT_H_8733B(x) (((x) & BIT_MASK_BA_CONTENT_H_8733B) << BIT_SHIFT_BA_CONTENT_H_8733B)
#define BITS_BA_CONTENT_H_8733B (BIT_MASK_BA_CONTENT_H_8733B << BIT_SHIFT_BA_CONTENT_H_8733B)
#define BIT_CLEAR_BA_CONTENT_H_8733B(x) ((x) & (~BITS_BA_CONTENT_H_8733B))
#define BIT_GET_BA_CONTENT_H_8733B(x) (((x) >> BIT_SHIFT_BA_CONTENT_H_8733B) & BIT_MASK_BA_CONTENT_H_8733B)
#define BIT_SET_BA_CONTENT_H_8733B(x, v) (BIT_CLEAR_BA_CONTENT_H_8733B(x) | BIT_BA_CONTENT_H_8733B(v))

/* 2 REG_LBK_DLY_8733B (LOOPBACK DELAY REGISTER) */

#define BIT_SHIFT_LBK_DLY_8733B 0
#define BIT_MASK_LBK_DLY_8733B 0x1f
#define BIT_LBK_DLY_8733B(x) (((x) & BIT_MASK_LBK_DLY_8733B) << BIT_SHIFT_LBK_DLY_8733B)
#define BITS_LBK_DLY_8733B (BIT_MASK_LBK_DLY_8733B << BIT_SHIFT_LBK_DLY_8733B)
#define BIT_CLEAR_LBK_DLY_8733B(x) ((x) & (~BITS_LBK_DLY_8733B))
#define BIT_GET_LBK_DLY_8733B(x) (((x) >> BIT_SHIFT_LBK_DLY_8733B) & BIT_MASK_LBK_DLY_8733B)
#define BIT_SET_LBK_DLY_8733B(x, v) (BIT_CLEAR_LBK_DLY_8733B(x) | BIT_LBK_DLY_8733B(v))

/* 2 REG_BITMAP_CMD_8733B */

#define BIT_SHIFT_BITMAP_SSNBK_COUNTER_8733B 2
#define BIT_MASK_BITMAP_SSNBK_COUNTER_8733B 0x3f
#define BIT_BITMAP_SSNBK_COUNTER_8733B(x) (((x) & BIT_MASK_BITMAP_SSNBK_COUNTER_8733B) << BIT_SHIFT_BITMAP_SSNBK_COUNTER_8733B)
#define BITS_BITMAP_SSNBK_COUNTER_8733B (BIT_MASK_BITMAP_SSNBK_COUNTER_8733B << BIT_SHIFT_BITMAP_SSNBK_COUNTER_8733B)
#define BIT_CLEAR_BITMAP_SSNBK_COUNTER_8733B(x) ((x) & (~BITS_BITMAP_SSNBK_COUNTER_8733B))
#define BIT_GET_BITMAP_SSNBK_COUNTER_8733B(x) (((x) >> BIT_SHIFT_BITMAP_SSNBK_COUNTER_8733B) & BIT_MASK_BITMAP_SSNBK_COUNTER_8733B)
#define BIT_SET_BITMAP_SSNBK_COUNTER_8733B(x, v) (BIT_CLEAR_BITMAP_SSNBK_COUNTER_8733B(x) | BIT_BITMAP_SSNBK_COUNTER_8733B(v))

#define BIT_BITMAP_EN_8733B BIT(1)
#define BIT_BACAM_RPMEN_8733B BIT(0)

/* 2 REG_TX_RX_8733B STATUS */

#define BIT_SHIFT_RXPKT_TYPE_8733B 2
#define BIT_MASK_RXPKT_TYPE_8733B 0x3f
#define BIT_RXPKT_TYPE_8733B(x) (((x) & BIT_MASK_RXPKT_TYPE_8733B) << BIT_SHIFT_RXPKT_TYPE_8733B)
#define BITS_RXPKT_TYPE_8733B (BIT_MASK_RXPKT_TYPE_8733B << BIT_SHIFT_RXPKT_TYPE_8733B)
#define BIT_CLEAR_RXPKT_TYPE_8733B(x) ((x) & (~BITS_RXPKT_TYPE_8733B))
#define BIT_GET_RXPKT_TYPE_8733B(x) (((x) >> BIT_SHIFT_RXPKT_TYPE_8733B) & BIT_MASK_RXPKT_TYPE_8733B)
#define BIT_SET_RXPKT_TYPE_8733B(x, v) (BIT_CLEAR_RXPKT_TYPE_8733B(x) | BIT_RXPKT_TYPE_8733B(v))

#define BIT_TXACT_IND_8733B BIT(1)
#define BIT_RXACT_IND_8733B BIT(0)

/* 2 REG_WMAC_BITMAP_CTL_8733B */
#define BIT_BITMAP_FLAG_VO_8733B BIT(7)
#define BIT_BITMAP_FLAG_VI_8733B BIT(6)
#define BIT_BITMAP_FLAG_BE_8733B BIT(5)
#define BIT_BITMAP_FLAG_BK_8733B BIT(4)

#define BIT_SHIFT_BITMAP_CONDITION_8733B 2
#define BIT_MASK_BITMAP_CONDITION_8733B 0x3
#define BIT_BITMAP_CONDITION_8733B(x) (((x) & BIT_MASK_BITMAP_CONDITION_8733B) << BIT_SHIFT_BITMAP_CONDITION_8733B)
#define BITS_BITMAP_CONDITION_8733B (BIT_MASK_BITMAP_CONDITION_8733B << BIT_SHIFT_BITMAP_CONDITION_8733B)
#define BIT_CLEAR_BITMAP_CONDITION_8733B(x) ((x) & (~BITS_BITMAP_CONDITION_8733B))
#define BIT_GET_BITMAP_CONDITION_8733B(x) (((x) >> BIT_SHIFT_BITMAP_CONDITION_8733B) & BIT_MASK_BITMAP_CONDITION_8733B)
#define BIT_SET_BITMAP_CONDITION_8733B(x, v) (BIT_CLEAR_BITMAP_CONDITION_8733B(x) | BIT_BITMAP_CONDITION_8733B(v))

#define BIT_BITMAP_SSNBK_COUNTER_CLR_8733B BIT(1)
#define BIT_BITMAP_FORCE_8733B BIT(0)

/* 2 REG_RXERR_RPT_8733B (RX ERROR REPORT REGISTER) */

#define BIT_SHIFT_RXERR_RPT_SEL_V1_3_0_8733B 28
#define BIT_MASK_RXERR_RPT_SEL_V1_3_0_8733B 0xf
#define BIT_RXERR_RPT_SEL_V1_3_0_8733B(x) (((x) & BIT_MASK_RXERR_RPT_SEL_V1_3_0_8733B) << BIT_SHIFT_RXERR_RPT_SEL_V1_3_0_8733B)
#define BITS_RXERR_RPT_SEL_V1_3_0_8733B (BIT_MASK_RXERR_RPT_SEL_V1_3_0_8733B << BIT_SHIFT_RXERR_RPT_SEL_V1_3_0_8733B)
#define BIT_CLEAR_RXERR_RPT_SEL_V1_3_0_8733B(x) ((x) & (~BITS_RXERR_RPT_SEL_V1_3_0_8733B))
#define BIT_GET_RXERR_RPT_SEL_V1_3_0_8733B(x) (((x) >> BIT_SHIFT_RXERR_RPT_SEL_V1_3_0_8733B) & BIT_MASK_RXERR_RPT_SEL_V1_3_0_8733B)
#define BIT_SET_RXERR_RPT_SEL_V1_3_0_8733B(x, v) (BIT_CLEAR_RXERR_RPT_SEL_V1_3_0_8733B(x) | BIT_RXERR_RPT_SEL_V1_3_0_8733B(v))

#define BIT_RXERR_RPT_RST_8733B BIT(27)
#define BIT_RXERR_RPT_SEL_V1_4_8733B BIT(26)

#define BIT_SHIFT_UD_SELECT_BSSID_2_1_8733B 24
#define BIT_MASK_UD_SELECT_BSSID_2_1_8733B 0x3
#define BIT_UD_SELECT_BSSID_2_1_8733B(x) (((x) & BIT_MASK_UD_SELECT_BSSID_2_1_8733B) << BIT_SHIFT_UD_SELECT_BSSID_2_1_8733B)
#define BITS_UD_SELECT_BSSID_2_1_8733B (BIT_MASK_UD_SELECT_BSSID_2_1_8733B << BIT_SHIFT_UD_SELECT_BSSID_2_1_8733B)
#define BIT_CLEAR_UD_SELECT_BSSID_2_1_8733B(x) ((x) & (~BITS_UD_SELECT_BSSID_2_1_8733B))
#define BIT_GET_UD_SELECT_BSSID_2_1_8733B(x) (((x) >> BIT_SHIFT_UD_SELECT_BSSID_2_1_8733B) & BIT_MASK_UD_SELECT_BSSID_2_1_8733B)
#define BIT_SET_UD_SELECT_BSSID_2_1_8733B(x, v) (BIT_CLEAR_UD_SELECT_BSSID_2_1_8733B(x) | BIT_UD_SELECT_BSSID_2_1_8733B(v))

#define BIT_W1S_8733B BIT(23)
#define BIT_UD_SELECT_BSSID_8733B BIT(22)

#define BIT_SHIFT_UD_SUB_TYPE_8733B 18
#define BIT_MASK_UD_SUB_TYPE_8733B 0xf
#define BIT_UD_SUB_TYPE_8733B(x) (((x) & BIT_MASK_UD_SUB_TYPE_8733B) << BIT_SHIFT_UD_SUB_TYPE_8733B)
#define BITS_UD_SUB_TYPE_8733B (BIT_MASK_UD_SUB_TYPE_8733B << BIT_SHIFT_UD_SUB_TYPE_8733B)
#define BIT_CLEAR_UD_SUB_TYPE_8733B(x) ((x) & (~BITS_UD_SUB_TYPE_8733B))
#define BIT_GET_UD_SUB_TYPE_8733B(x) (((x) >> BIT_SHIFT_UD_SUB_TYPE_8733B) & BIT_MASK_UD_SUB_TYPE_8733B)
#define BIT_SET_UD_SUB_TYPE_8733B(x, v) (BIT_CLEAR_UD_SUB_TYPE_8733B(x) | BIT_UD_SUB_TYPE_8733B(v))

#define BIT_SHIFT_UD_TYPE_8733B 16
#define BIT_MASK_UD_TYPE_8733B 0x3
#define BIT_UD_TYPE_8733B(x) (((x) & BIT_MASK_UD_TYPE_8733B) << BIT_SHIFT_UD_TYPE_8733B)
#define BITS_UD_TYPE_8733B (BIT_MASK_UD_TYPE_8733B << BIT_SHIFT_UD_TYPE_8733B)
#define BIT_CLEAR_UD_TYPE_8733B(x) ((x) & (~BITS_UD_TYPE_8733B))
#define BIT_GET_UD_TYPE_8733B(x) (((x) >> BIT_SHIFT_UD_TYPE_8733B) & BIT_MASK_UD_TYPE_8733B)
#define BIT_SET_UD_TYPE_8733B(x, v) (BIT_CLEAR_UD_TYPE_8733B(x) | BIT_UD_TYPE_8733B(v))

#define BIT_SHIFT_RPT_COUNTER_8733B 0
#define BIT_MASK_RPT_COUNTER_8733B 0xffff
#define BIT_RPT_COUNTER_8733B(x) (((x) & BIT_MASK_RPT_COUNTER_8733B) << BIT_SHIFT_RPT_COUNTER_8733B)
#define BITS_RPT_COUNTER_8733B (BIT_MASK_RPT_COUNTER_8733B << BIT_SHIFT_RPT_COUNTER_8733B)
#define BIT_CLEAR_RPT_COUNTER_8733B(x) ((x) & (~BITS_RPT_COUNTER_8733B))
#define BIT_GET_RPT_COUNTER_8733B(x) (((x) >> BIT_SHIFT_RPT_COUNTER_8733B) & BIT_MASK_RPT_COUNTER_8733B)
#define BIT_SET_RPT_COUNTER_8733B(x, v) (BIT_CLEAR_RPT_COUNTER_8733B(x) | BIT_RPT_COUNTER_8733B(v))

/* 2 REG_WMAC_TRXPTCL_CTL_8733B (WMAC TX/RX PROTOCOL CONTROL REGISTER) */
#define BIT_BLK_EDCA_BBSLP_8733B BIT(31)
#define BIT_BLK_EDCA_BBSBY_8733B BIT(30)
#define BIT_EN_STOP_UPDNAV_8733B BIT(28)
#define BIT_RST_EDCA_ACKTO_8733B BIT(27)
#define BIT_RST_EDCA_EIFS_8733B BIT(26)
#define BIT_PLCPCHK_RST_EIFS_8733B BIT(25)
#define BIT_CCA_RST_EIFS_8733B BIT(24)
#define BIT_DIS_UPD_MYRXPKTNAV_8733B BIT(23)
#define BIT_EARLY_TXBA_8733B BIT(22)

#define BIT_SHIFT_RESP_CHNBUSY_8733B 20
#define BIT_MASK_RESP_CHNBUSY_8733B 0x3
#define BIT_RESP_CHNBUSY_8733B(x) (((x) & BIT_MASK_RESP_CHNBUSY_8733B) << BIT_SHIFT_RESP_CHNBUSY_8733B)
#define BITS_RESP_CHNBUSY_8733B (BIT_MASK_RESP_CHNBUSY_8733B << BIT_SHIFT_RESP_CHNBUSY_8733B)
#define BIT_CLEAR_RESP_CHNBUSY_8733B(x) ((x) & (~BITS_RESP_CHNBUSY_8733B))
#define BIT_GET_RESP_CHNBUSY_8733B(x) (((x) >> BIT_SHIFT_RESP_CHNBUSY_8733B) & BIT_MASK_RESP_CHNBUSY_8733B)
#define BIT_SET_RESP_CHNBUSY_8733B(x, v) (BIT_CLEAR_RESP_CHNBUSY_8733B(x) | BIT_RESP_CHNBUSY_8733B(v))

#define BIT_RESP_DCTS_EN_8733B BIT(19)
#define BIT_RESP_DCFE_EN_8733B BIT(18)
#define BIT_RESP_SPLCPEN_8733B BIT(17)
#define BIT_RESP_SGIEN_8733B BIT(16)
#define BIT_RESP_LDPC_EN_8733B BIT(15)
#define BIT_DIS_RESP_ACKINCCA_8733B BIT(14)
#define BIT_DIS_RESP_CTSINCCA_8733B BIT(13)

#define BIT_SHIFT_SECOND_CCA_TIMER_8733B 10
#define BIT_MASK_SECOND_CCA_TIMER_8733B 0x7
#define BIT_SECOND_CCA_TIMER_8733B(x) (((x) & BIT_MASK_SECOND_CCA_TIMER_8733B) << BIT_SHIFT_SECOND_CCA_TIMER_8733B)
#define BITS_SECOND_CCA_TIMER_8733B (BIT_MASK_SECOND_CCA_TIMER_8733B << BIT_SHIFT_SECOND_CCA_TIMER_8733B)
#define BIT_CLEAR_SECOND_CCA_TIMER_8733B(x) ((x) & (~BITS_SECOND_CCA_TIMER_8733B))
#define BIT_GET_SECOND_CCA_TIMER_8733B(x) (((x) >> BIT_SHIFT_SECOND_CCA_TIMER_8733B) & BIT_MASK_SECOND_CCA_TIMER_8733B)
#define BIT_SET_SECOND_CCA_TIMER_8733B(x, v) (BIT_CLEAR_SECOND_CCA_TIMER_8733B(x) | BIT_SECOND_CCA_TIMER_8733B(v))

#define BIT_SHIFT_RFMOD_8733B 7
#define BIT_MASK_RFMOD_8733B 0x3
#define BIT_RFMOD_8733B(x) (((x) & BIT_MASK_RFMOD_8733B) << BIT_SHIFT_RFMOD_8733B)
#define BITS_RFMOD_8733B (BIT_MASK_RFMOD_8733B << BIT_SHIFT_RFMOD_8733B)
#define BIT_CLEAR_RFMOD_8733B(x) ((x) & (~BITS_RFMOD_8733B))
#define BIT_GET_RFMOD_8733B(x) (((x) >> BIT_SHIFT_RFMOD_8733B) & BIT_MASK_RFMOD_8733B)
#define BIT_SET_RFMOD_8733B(x, v) (BIT_CLEAR_RFMOD_8733B(x) | BIT_RFMOD_8733B(v))

#define BIT_SHIFT_RESP_CTS_DYNBW_SEL_8733B 5
#define BIT_MASK_RESP_CTS_DYNBW_SEL_8733B 0x3
#define BIT_RESP_CTS_DYNBW_SEL_8733B(x) (((x) & BIT_MASK_RESP_CTS_DYNBW_SEL_8733B) << BIT_SHIFT_RESP_CTS_DYNBW_SEL_8733B)
#define BITS_RESP_CTS_DYNBW_SEL_8733B (BIT_MASK_RESP_CTS_DYNBW_SEL_8733B << BIT_SHIFT_RESP_CTS_DYNBW_SEL_8733B)
#define BIT_CLEAR_RESP_CTS_DYNBW_SEL_8733B(x) ((x) & (~BITS_RESP_CTS_DYNBW_SEL_8733B))
#define BIT_GET_RESP_CTS_DYNBW_SEL_8733B(x) (((x) >> BIT_SHIFT_RESP_CTS_DYNBW_SEL_8733B) & BIT_MASK_RESP_CTS_DYNBW_SEL_8733B)
#define BIT_SET_RESP_CTS_DYNBW_SEL_8733B(x, v) (BIT_CLEAR_RESP_CTS_DYNBW_SEL_8733B(x) | BIT_RESP_CTS_DYNBW_SEL_8733B(v))

#define BIT_DLY_TX_WAIT_RXANTSEL_8733B BIT(4)
#define BIT_TXRESP_BY_RXANTSEL_8733B BIT(3)

#define BIT_SHIFT_ORIG_DCTS_CHK_8733B 0
#define BIT_MASK_ORIG_DCTS_CHK_8733B 0x3
#define BIT_ORIG_DCTS_CHK_8733B(x) (((x) & BIT_MASK_ORIG_DCTS_CHK_8733B) << BIT_SHIFT_ORIG_DCTS_CHK_8733B)
#define BITS_ORIG_DCTS_CHK_8733B (BIT_MASK_ORIG_DCTS_CHK_8733B << BIT_SHIFT_ORIG_DCTS_CHK_8733B)
#define BIT_CLEAR_ORIG_DCTS_CHK_8733B(x) ((x) & (~BITS_ORIG_DCTS_CHK_8733B))
#define BIT_GET_ORIG_DCTS_CHK_8733B(x) (((x) >> BIT_SHIFT_ORIG_DCTS_CHK_8733B) & BIT_MASK_ORIG_DCTS_CHK_8733B)
#define BIT_SET_ORIG_DCTS_CHK_8733B(x, v) (BIT_CLEAR_ORIG_DCTS_CHK_8733B(x) | BIT_ORIG_DCTS_CHK_8733B(v))

/* 2 REG_WMAC_TRXPTCL_CTL_H_8733B (WMAC TX/RX PROTOCOL CONTROL REGISTER HIGHER BIT) */

#define BIT_SHIFT_ACKBA_TYPSEL_8733B 28
#define BIT_MASK_ACKBA_TYPSEL_8733B 0xf
#define BIT_ACKBA_TYPSEL_8733B(x) (((x) & BIT_MASK_ACKBA_TYPSEL_8733B) << BIT_SHIFT_ACKBA_TYPSEL_8733B)
#define BITS_ACKBA_TYPSEL_8733B (BIT_MASK_ACKBA_TYPSEL_8733B << BIT_SHIFT_ACKBA_TYPSEL_8733B)
#define BIT_CLEAR_ACKBA_TYPSEL_8733B(x) ((x) & (~BITS_ACKBA_TYPSEL_8733B))
#define BIT_GET_ACKBA_TYPSEL_8733B(x) (((x) >> BIT_SHIFT_ACKBA_TYPSEL_8733B) & BIT_MASK_ACKBA_TYPSEL_8733B)
#define BIT_SET_ACKBA_TYPSEL_8733B(x, v) (BIT_CLEAR_ACKBA_TYPSEL_8733B(x) | BIT_ACKBA_TYPSEL_8733B(v))

#define BIT_SHIFT_ACKBA_ACKPCHK_8733B 24
#define BIT_MASK_ACKBA_ACKPCHK_8733B 0xf
#define BIT_ACKBA_ACKPCHK_8733B(x) (((x) & BIT_MASK_ACKBA_ACKPCHK_8733B) << BIT_SHIFT_ACKBA_ACKPCHK_8733B)
#define BITS_ACKBA_ACKPCHK_8733B (BIT_MASK_ACKBA_ACKPCHK_8733B << BIT_SHIFT_ACKBA_ACKPCHK_8733B)
#define BIT_CLEAR_ACKBA_ACKPCHK_8733B(x) ((x) & (~BITS_ACKBA_ACKPCHK_8733B))
#define BIT_GET_ACKBA_ACKPCHK_8733B(x) (((x) >> BIT_SHIFT_ACKBA_ACKPCHK_8733B) & BIT_MASK_ACKBA_ACKPCHK_8733B)
#define BIT_SET_ACKBA_ACKPCHK_8733B(x, v) (BIT_CLEAR_ACKBA_ACKPCHK_8733B(x) | BIT_ACKBA_ACKPCHK_8733B(v))

#define BIT_SHIFT_ACKBAR_TYPESEL_8733B 16
#define BIT_MASK_ACKBAR_TYPESEL_8733B 0xff
#define BIT_ACKBAR_TYPESEL_8733B(x) (((x) & BIT_MASK_ACKBAR_TYPESEL_8733B) << BIT_SHIFT_ACKBAR_TYPESEL_8733B)
#define BITS_ACKBAR_TYPESEL_8733B (BIT_MASK_ACKBAR_TYPESEL_8733B << BIT_SHIFT_ACKBAR_TYPESEL_8733B)
#define BIT_CLEAR_ACKBAR_TYPESEL_8733B(x) ((x) & (~BITS_ACKBAR_TYPESEL_8733B))
#define BIT_GET_ACKBAR_TYPESEL_8733B(x) (((x) >> BIT_SHIFT_ACKBAR_TYPESEL_8733B) & BIT_MASK_ACKBAR_TYPESEL_8733B)
#define BIT_SET_ACKBAR_TYPESEL_8733B(x, v) (BIT_CLEAR_ACKBAR_TYPESEL_8733B(x) | BIT_ACKBAR_TYPESEL_8733B(v))

#define BIT_SHIFT_ACKBAR_ACKPCHK_8733B 12
#define BIT_MASK_ACKBAR_ACKPCHK_8733B 0xf
#define BIT_ACKBAR_ACKPCHK_8733B(x) (((x) & BIT_MASK_ACKBAR_ACKPCHK_8733B) << BIT_SHIFT_ACKBAR_ACKPCHK_8733B)
#define BITS_ACKBAR_ACKPCHK_8733B (BIT_MASK_ACKBAR_ACKPCHK_8733B << BIT_SHIFT_ACKBAR_ACKPCHK_8733B)
#define BIT_CLEAR_ACKBAR_ACKPCHK_8733B(x) ((x) & (~BITS_ACKBAR_ACKPCHK_8733B))
#define BIT_GET_ACKBAR_ACKPCHK_8733B(x) (((x) >> BIT_SHIFT_ACKBAR_ACKPCHK_8733B) & BIT_MASK_ACKBAR_ACKPCHK_8733B)
#define BIT_SET_ACKBAR_ACKPCHK_8733B(x, v) (BIT_CLEAR_ACKBAR_ACKPCHK_8733B(x) | BIT_ACKBAR_ACKPCHK_8733B(v))

#define BIT_RXBA_IGNOREA2_V1_8733B BIT(10)
#define BIT_EN_SAVE_ALL_TXOPADDR_V1_8733B BIT(9)
#define BIT_EN_TXCTS_TO_TXOPOWNER_INRXNAV_V1_8733B BIT(8)
#define BIT_DIS_TXBA_AMPDUFCSERR_V1_8733B BIT(7)
#define BIT_DIS_TXBA_RXBARINFULL_V1_8733B BIT(6)
#define BIT_DIS_TXCFE_INFULL_V1_8733B BIT(5)
#define BIT_DIS_TXCTS_INFULL_V1_8733B BIT(4)
#define BIT_EN_TXACKBA_INTX_RDG_V1_8733B BIT(3)
#define BIT_EN_TXACKBA_INTXOP_V1_8733B BIT(2)
#define BIT_EN_TXCTS_INRXNAV_V1_8733B BIT(1)
#define BIT_EN_TXCTS_INTXOP_V1_8733B BIT(0)

/* 2 REG_KEYCAMCMD_8733B (CAM COMMAND REGISTER) */
#define BIT_KEYCAM_POLLING_8733B BIT(31)
#define BIT_KEYCAM_CLEAR_8733B BIT(30)
#define BIT_MFBCAM_CLEAR_8733B BIT(29)
#define BIT_KEYCAM_DA_EN_8733B BIT(17)
#define BIT_SECCAM_WE_8733B BIT(16)

#define BIT_SHIFT_KEYCAM_AD_8733B 0
#define BIT_MASK_KEYCAM_AD_8733B 0x3ff
#define BIT_KEYCAM_AD_8733B(x) (((x) & BIT_MASK_KEYCAM_AD_8733B) << BIT_SHIFT_KEYCAM_AD_8733B)
#define BITS_KEYCAM_AD_8733B (BIT_MASK_KEYCAM_AD_8733B << BIT_SHIFT_KEYCAM_AD_8733B)
#define BIT_CLEAR_KEYCAM_AD_8733B(x) ((x) & (~BITS_KEYCAM_AD_8733B))
#define BIT_GET_KEYCAM_AD_8733B(x) (((x) >> BIT_SHIFT_KEYCAM_AD_8733B) & BIT_MASK_KEYCAM_AD_8733B)
#define BIT_SET_KEYCAM_AD_8733B(x, v) (BIT_CLEAR_KEYCAM_AD_8733B(x) | BIT_KEYCAM_AD_8733B(v))

/* 2 REG_KEYCAM_WD_8733B (SECURITY CAM CONTENT REGISTER) */

#define BIT_SHIFT_KEYCAM_WDATA_8733B 0
#define BIT_MASK_KEYCAM_WDATA_8733B 0xffffffffL
#define BIT_KEYCAM_WDATA_8733B(x) (((x) & BIT_MASK_KEYCAM_WDATA_8733B) << BIT_SHIFT_KEYCAM_WDATA_8733B)
#define BITS_KEYCAM_WDATA_8733B (BIT_MASK_KEYCAM_WDATA_8733B << BIT_SHIFT_KEYCAM_WDATA_8733B)
#define BIT_CLEAR_KEYCAM_WDATA_8733B(x) ((x) & (~BITS_KEYCAM_WDATA_8733B))
#define BIT_GET_KEYCAM_WDATA_8733B(x) (((x) >> BIT_SHIFT_KEYCAM_WDATA_8733B) & BIT_MASK_KEYCAM_WDATA_8733B)
#define BIT_SET_KEYCAM_WDATA_8733B(x, v) (BIT_CLEAR_KEYCAM_WDATA_8733B(x) | BIT_KEYCAM_WDATA_8733B(v))

/* 2 REG_CAMREAD_8733B (CAM READ REGISTER) */

#define BIT_SHIFT_CAMR_DATA_8733B 0
#define BIT_MASK_CAMR_DATA_8733B 0xffffffffL
#define BIT_CAMR_DATA_8733B(x) (((x) & BIT_MASK_CAMR_DATA_8733B) << BIT_SHIFT_CAMR_DATA_8733B)
#define BITS_CAMR_DATA_8733B (BIT_MASK_CAMR_DATA_8733B << BIT_SHIFT_CAMR_DATA_8733B)
#define BIT_CLEAR_CAMR_DATA_8733B(x) ((x) & (~BITS_CAMR_DATA_8733B))
#define BIT_GET_CAMR_DATA_8733B(x) (((x) >> BIT_SHIFT_CAMR_DATA_8733B) & BIT_MASK_CAMR_DATA_8733B)
#define BIT_SET_CAMR_DATA_8733B(x, v) (BIT_CLEAR_CAMR_DATA_8733B(x) | BIT_CAMR_DATA_8733B(v))

/* 2 REG_CAMDBG_8733B (CAM DEBUG REGISTER) */
#define BIT_KEYCAM_DBGSEL_8733B BIT(31)
#define BIT_SEC_KEYFOUND_V1_8733B BIT(15)

#define BIT_SHIFT_CAMDBG_SEC_TYPE_V1_8733B 12
#define BIT_MASK_CAMDBG_SEC_TYPE_V1_8733B 0x7
#define BIT_CAMDBG_SEC_TYPE_V1_8733B(x) (((x) & BIT_MASK_CAMDBG_SEC_TYPE_V1_8733B) << BIT_SHIFT_CAMDBG_SEC_TYPE_V1_8733B)
#define BITS_CAMDBG_SEC_TYPE_V1_8733B (BIT_MASK_CAMDBG_SEC_TYPE_V1_8733B << BIT_SHIFT_CAMDBG_SEC_TYPE_V1_8733B)
#define BIT_CLEAR_CAMDBG_SEC_TYPE_V1_8733B(x) ((x) & (~BITS_CAMDBG_SEC_TYPE_V1_8733B))
#define BIT_GET_CAMDBG_SEC_TYPE_V1_8733B(x) (((x) >> BIT_SHIFT_CAMDBG_SEC_TYPE_V1_8733B) & BIT_MASK_CAMDBG_SEC_TYPE_V1_8733B)
#define BIT_SET_CAMDBG_SEC_TYPE_V1_8733B(x, v) (BIT_CLEAR_CAMDBG_SEC_TYPE_V1_8733B(x) | BIT_CAMDBG_SEC_TYPE_V1_8733B(v))

#define BIT_EXT_SECTYPE_8733B BIT(11)

#define BIT_SHIFT_CAMDBG_MIC_KEY_IDX_V3_8733B 5
#define BIT_MASK_CAMDBG_MIC_KEY_IDX_V3_8733B 0x1f
#define BIT_CAMDBG_MIC_KEY_IDX_V3_8733B(x) (((x) & BIT_MASK_CAMDBG_MIC_KEY_IDX_V3_8733B) << BIT_SHIFT_CAMDBG_MIC_KEY_IDX_V3_8733B)
#define BITS_CAMDBG_MIC_KEY_IDX_V3_8733B (BIT_MASK_CAMDBG_MIC_KEY_IDX_V3_8733B << BIT_SHIFT_CAMDBG_MIC_KEY_IDX_V3_8733B)
#define BIT_CLEAR_CAMDBG_MIC_KEY_IDX_V3_8733B(x) ((x) & (~BITS_CAMDBG_MIC_KEY_IDX_V3_8733B))
#define BIT_GET_CAMDBG_MIC_KEY_IDX_V3_8733B(x) (((x) >> BIT_SHIFT_CAMDBG_MIC_KEY_IDX_V3_8733B) & BIT_MASK_CAMDBG_MIC_KEY_IDX_V3_8733B)
#define BIT_SET_CAMDBG_MIC_KEY_IDX_V3_8733B(x, v) (BIT_CLEAR_CAMDBG_MIC_KEY_IDX_V3_8733B(x) | BIT_CAMDBG_MIC_KEY_IDX_V3_8733B(v))

#define BIT_SHIFT_CAMDBG_SEC_KEY_IDX_V2_8733B 0
#define BIT_MASK_CAMDBG_SEC_KEY_IDX_V2_8733B 0x1f
#define BIT_CAMDBG_SEC_KEY_IDX_V2_8733B(x) (((x) & BIT_MASK_CAMDBG_SEC_KEY_IDX_V2_8733B) << BIT_SHIFT_CAMDBG_SEC_KEY_IDX_V2_8733B)
#define BITS_CAMDBG_SEC_KEY_IDX_V2_8733B (BIT_MASK_CAMDBG_SEC_KEY_IDX_V2_8733B << BIT_SHIFT_CAMDBG_SEC_KEY_IDX_V2_8733B)
#define BIT_CLEAR_CAMDBG_SEC_KEY_IDX_V2_8733B(x) ((x) & (~BITS_CAMDBG_SEC_KEY_IDX_V2_8733B))
#define BIT_GET_CAMDBG_SEC_KEY_IDX_V2_8733B(x) (((x) >> BIT_SHIFT_CAMDBG_SEC_KEY_IDX_V2_8733B) & BIT_MASK_CAMDBG_SEC_KEY_IDX_V2_8733B)
#define BIT_SET_CAMDBG_SEC_KEY_IDX_V2_8733B(x, v) (BIT_CLEAR_CAMDBG_SEC_KEY_IDX_V2_8733B(x) | BIT_CAMDBG_SEC_KEY_IDX_V2_8733B(v))

/* 2 REG_SECCFG_8733B (SECURITY CONFIGURATION REGISTER) */
#define BIT_DIS_GCLK_WAPI_8733B BIT(15)
#define BIT_DIS_GCLK_AES_8733B BIT(14)
#define BIT_DIS_GCLK_TKIP_8733B BIT(13)
#define BIT_AES_SEL_QC_1_8733B BIT(12)
#define BIT_AES_SEL_QC_0_8733B BIT(11)
#define BIT_WMAC_CKECK_BMC_8733B BIT(9)
#define BIT_CHK_KEYID_8733B BIT(8)
#define BIT_RXBCUSEDK_8733B BIT(7)
#define BIT_TXBCUSEDK_8733B BIT(6)
#define BIT_NOSKMC_8733B BIT(5)
#define BIT_SKBYA2_8733B BIT(4)
#define BIT_RXDEC_8733B BIT(3)
#define BIT_TXENC_8733B BIT(2)
#define BIT_RXUHUSEDK_8733B BIT(1)
#define BIT_TXUHUSEDK_8733B BIT(0)

#define BIT_SHIFT_RXFILTER_CATEGORY_1_8733B 0
#define BIT_MASK_RXFILTER_CATEGORY_1_8733B 0xff
#define BIT_RXFILTER_CATEGORY_1_8733B(x) (((x) & BIT_MASK_RXFILTER_CATEGORY_1_8733B) << BIT_SHIFT_RXFILTER_CATEGORY_1_8733B)
#define BITS_RXFILTER_CATEGORY_1_8733B (BIT_MASK_RXFILTER_CATEGORY_1_8733B << BIT_SHIFT_RXFILTER_CATEGORY_1_8733B)
#define BIT_CLEAR_RXFILTER_CATEGORY_1_8733B(x) ((x) & (~BITS_RXFILTER_CATEGORY_1_8733B))
#define BIT_GET_RXFILTER_CATEGORY_1_8733B(x) (((x) >> BIT_SHIFT_RXFILTER_CATEGORY_1_8733B) & BIT_MASK_RXFILTER_CATEGORY_1_8733B)
#define BIT_SET_RXFILTER_CATEGORY_1_8733B(x, v) (BIT_CLEAR_RXFILTER_CATEGORY_1_8733B(x) | BIT_RXFILTER_CATEGORY_1_8733B(v))

#define BIT_SHIFT_RXFILTER_ACTION_1_8733B 0
#define BIT_MASK_RXFILTER_ACTION_1_8733B 0xff
#define BIT_RXFILTER_ACTION_1_8733B(x) (((x) & BIT_MASK_RXFILTER_ACTION_1_8733B) << BIT_SHIFT_RXFILTER_ACTION_1_8733B)
#define BITS_RXFILTER_ACTION_1_8733B (BIT_MASK_RXFILTER_ACTION_1_8733B << BIT_SHIFT_RXFILTER_ACTION_1_8733B)
#define BIT_CLEAR_RXFILTER_ACTION_1_8733B(x) ((x) & (~BITS_RXFILTER_ACTION_1_8733B))
#define BIT_GET_RXFILTER_ACTION_1_8733B(x) (((x) >> BIT_SHIFT_RXFILTER_ACTION_1_8733B) & BIT_MASK_RXFILTER_ACTION_1_8733B)
#define BIT_SET_RXFILTER_ACTION_1_8733B(x, v) (BIT_CLEAR_RXFILTER_ACTION_1_8733B(x) | BIT_RXFILTER_ACTION_1_8733B(v))

/* 2 REG_RXFILTER_CATEGORY_ACTION_8733B */

#define BIT_SHIFT_RXFILTER_ACTION_3_8733B 24
#define BIT_MASK_RXFILTER_ACTION_3_8733B 0xff
#define BIT_RXFILTER_ACTION_3_8733B(x) (((x) & BIT_MASK_RXFILTER_ACTION_3_8733B) << BIT_SHIFT_RXFILTER_ACTION_3_8733B)
#define BITS_RXFILTER_ACTION_3_8733B (BIT_MASK_RXFILTER_ACTION_3_8733B << BIT_SHIFT_RXFILTER_ACTION_3_8733B)
#define BIT_CLEAR_RXFILTER_ACTION_3_8733B(x) ((x) & (~BITS_RXFILTER_ACTION_3_8733B))
#define BIT_GET_RXFILTER_ACTION_3_8733B(x) (((x) >> BIT_SHIFT_RXFILTER_ACTION_3_8733B) & BIT_MASK_RXFILTER_ACTION_3_8733B)
#define BIT_SET_RXFILTER_ACTION_3_8733B(x, v) (BIT_CLEAR_RXFILTER_ACTION_3_8733B(x) | BIT_RXFILTER_ACTION_3_8733B(v))

#define BIT_SHIFT_RXFILTER_CATEGORY_3_8733B 16
#define BIT_MASK_RXFILTER_CATEGORY_3_8733B 0xff
#define BIT_RXFILTER_CATEGORY_3_8733B(x) (((x) & BIT_MASK_RXFILTER_CATEGORY_3_8733B) << BIT_SHIFT_RXFILTER_CATEGORY_3_8733B)
#define BITS_RXFILTER_CATEGORY_3_8733B (BIT_MASK_RXFILTER_CATEGORY_3_8733B << BIT_SHIFT_RXFILTER_CATEGORY_3_8733B)
#define BIT_CLEAR_RXFILTER_CATEGORY_3_8733B(x) ((x) & (~BITS_RXFILTER_CATEGORY_3_8733B))
#define BIT_GET_RXFILTER_CATEGORY_3_8733B(x) (((x) >> BIT_SHIFT_RXFILTER_CATEGORY_3_8733B) & BIT_MASK_RXFILTER_CATEGORY_3_8733B)
#define BIT_SET_RXFILTER_CATEGORY_3_8733B(x, v) (BIT_CLEAR_RXFILTER_CATEGORY_3_8733B(x) | BIT_RXFILTER_CATEGORY_3_8733B(v))

#define BIT_SHIFT_RXFILTER_ACTION_2_8733B 8
#define BIT_MASK_RXFILTER_ACTION_2_8733B 0xff
#define BIT_RXFILTER_ACTION_2_8733B(x) (((x) & BIT_MASK_RXFILTER_ACTION_2_8733B) << BIT_SHIFT_RXFILTER_ACTION_2_8733B)
#define BITS_RXFILTER_ACTION_2_8733B (BIT_MASK_RXFILTER_ACTION_2_8733B << BIT_SHIFT_RXFILTER_ACTION_2_8733B)
#define BIT_CLEAR_RXFILTER_ACTION_2_8733B(x) ((x) & (~BITS_RXFILTER_ACTION_2_8733B))
#define BIT_GET_RXFILTER_ACTION_2_8733B(x) (((x) >> BIT_SHIFT_RXFILTER_ACTION_2_8733B) & BIT_MASK_RXFILTER_ACTION_2_8733B)
#define BIT_SET_RXFILTER_ACTION_2_8733B(x, v) (BIT_CLEAR_RXFILTER_ACTION_2_8733B(x) | BIT_RXFILTER_ACTION_2_8733B(v))

#define BIT_SHIFT_RXFILTER_CATEGORY_2_8733B 0
#define BIT_MASK_RXFILTER_CATEGORY_2_8733B 0xff
#define BIT_RXFILTER_CATEGORY_2_8733B(x) (((x) & BIT_MASK_RXFILTER_CATEGORY_2_8733B) << BIT_SHIFT_RXFILTER_CATEGORY_2_8733B)
#define BITS_RXFILTER_CATEGORY_2_8733B (BIT_MASK_RXFILTER_CATEGORY_2_8733B << BIT_SHIFT_RXFILTER_CATEGORY_2_8733B)
#define BIT_CLEAR_RXFILTER_CATEGORY_2_8733B(x) ((x) & (~BITS_RXFILTER_CATEGORY_2_8733B))
#define BIT_GET_RXFILTER_CATEGORY_2_8733B(x) (((x) >> BIT_SHIFT_RXFILTER_CATEGORY_2_8733B) & BIT_MASK_RXFILTER_CATEGORY_2_8733B)
#define BIT_SET_RXFILTER_CATEGORY_2_8733B(x, v) (BIT_CLEAR_RXFILTER_CATEGORY_2_8733B(x) | BIT_RXFILTER_CATEGORY_2_8733B(v))

/* 2 REG_RXFLTMAP3_8733B (RX FILTER MAP GROUP 3) */
#define BIT_MGTFLT15EN_FW_8733B BIT(15)
#define BIT_MGTFLT14EN_FW_8733B BIT(14)
#define BIT_MGTFLT13EN_FW_8733B BIT(13)
#define BIT_MGTFLT12EN_FW_8733B BIT(12)
#define BIT_MGTFLT11EN_FW_8733B BIT(11)
#define BIT_MGTFLT10EN_FW_8733B BIT(10)
#define BIT_MGTFLT9EN_FW_8733B BIT(9)
#define BIT_MGTFLT8EN_FW_8733B BIT(8)
#define BIT_MGTFLT7EN_FW_8733B BIT(7)
#define BIT_MGTFLT6EN_FW_8733B BIT(6)
#define BIT_MGTFLT5EN_FW_8733B BIT(5)
#define BIT_MGTFLT4EN_FW_8733B BIT(4)
#define BIT_MGTFLT3EN_FW_8733B BIT(3)
#define BIT_MGTFLT2EN_FW_8733B BIT(2)
#define BIT_MGTFLT1EN_FW_8733B BIT(1)
#define BIT_MGTFLT0EN_FW_8733B BIT(0)

/* 2 REG_RXFLTMAP4_8733B (RX FILTER MAP GROUP 4) */
#define BIT_CTRLFLT15EN_FW_8733B BIT(15)
#define BIT_CTRLFLT14EN_FW_8733B BIT(14)
#define BIT_CTRLFLT13EN_FW_8733B BIT(13)
#define BIT_CTRLFLT12EN_FW_8733B BIT(12)
#define BIT_CTRLFLT11EN_FW_8733B BIT(11)
#define BIT_CTRLFLT10EN_FW_8733B BIT(10)
#define BIT_CTRLFLT9EN_FW_8733B BIT(9)
#define BIT_CTRLFLT8EN_FW_8733B BIT(8)
#define BIT_CTRLFLT7EN_FW_8733B BIT(7)
#define BIT_CTRLFLT6EN_FW_8733B BIT(6)
#define BIT_CTRLFLT5EN_FW_8733B BIT(5)
#define BIT_CTRLFLT4EN_FW_8733B BIT(4)
#define BIT_CTRLFLT3EN_FW_8733B BIT(3)
#define BIT_CTRLFLT2EN_FW_8733B BIT(2)
#define BIT_CTRLFLT1EN_FW_8733B BIT(1)
#define BIT_CTRLFLT0EN_FW_8733B BIT(0)

/* 2 REG_RXFLTMAP5_8733B (RX FILTER MAP GROUP 5) */
#define BIT_DATAFLT15EN_FW_8733B BIT(15)
#define BIT_DATAFLT14EN_FW_8733B BIT(14)
#define BIT_DATAFLT13EN_FW_8733B BIT(13)
#define BIT_DATAFLT12EN_FW_8733B BIT(12)
#define BIT_DATAFLT11EN_FW_8733B BIT(11)
#define BIT_DATAFLT10EN_FW_8733B BIT(10)
#define BIT_DATAFLT9EN_FW_8733B BIT(9)
#define BIT_DATAFLT8EN_FW_8733B BIT(8)
#define BIT_DATAFLT7EN_FW_8733B BIT(7)
#define BIT_DATAFLT6EN_FW_8733B BIT(6)
#define BIT_DATAFLT5EN_FW_8733B BIT(5)
#define BIT_DATAFLT4EN_FW_8733B BIT(4)
#define BIT_DATAFLT3EN_FW_8733B BIT(3)
#define BIT_DATAFLT2EN_FW_8733B BIT(2)
#define BIT_DATAFLT1EN_FW_8733B BIT(1)
#define BIT_DATAFLT0EN_FW_8733B BIT(0)

/* 2 REG_RXFLTMAP6_8733B (RX FILTER MAP GROUP 6) */
#define BIT_ACTIONFLT15EN_FW_8733B BIT(15)
#define BIT_ACTIONFLT14EN_FW_8733B BIT(14)
#define BIT_ACTIONFLT13EN_FW_8733B BIT(13)
#define BIT_ACTIONFLT12EN_FW_8733B BIT(12)
#define BIT_ACTIONFLT11EN_FW_8733B BIT(11)
#define BIT_ACTIONFLT10EN_FW_8733B BIT(10)
#define BIT_ACTIONFLT9EN_FW_8733B BIT(9)
#define BIT_ACTIONFLT8EN_FW_8733B BIT(8)
#define BIT_ACTIONFLT7EN_FW_8733B BIT(7)
#define BIT_ACTIONFLT6EN_FW_8733B BIT(6)
#define BIT_ACTIONFLT5EN_FW_8733B BIT(5)
#define BIT_ACTIONFLT4EN_FW_8733B BIT(4)
#define BIT_ACTIONFLT3EN_FW_8733B BIT(3)
#define BIT_ACTIONFLT2EN_FW_8733B BIT(2)
#define BIT_ACTIONFLT1EN_FW_8733B BIT(1)
#define BIT_ACTIONFLT0EN_FW_8733B BIT(0)

/* 2 REG_WOW_CTRL_8733B (WAKE ON WLAN CONTROL REGISTER) */

#define BIT_SHIFT_PSF_BSSIDSEL_H_8733B 6
#define BIT_MASK_PSF_BSSIDSEL_H_8733B 0x3
#define BIT_PSF_BSSIDSEL_H_8733B(x) (((x) & BIT_MASK_PSF_BSSIDSEL_H_8733B) << BIT_SHIFT_PSF_BSSIDSEL_H_8733B)
#define BITS_PSF_BSSIDSEL_H_8733B (BIT_MASK_PSF_BSSIDSEL_H_8733B << BIT_SHIFT_PSF_BSSIDSEL_H_8733B)
#define BIT_CLEAR_PSF_BSSIDSEL_H_8733B(x) ((x) & (~BITS_PSF_BSSIDSEL_H_8733B))
#define BIT_GET_PSF_BSSIDSEL_H_8733B(x) (((x) >> BIT_SHIFT_PSF_BSSIDSEL_H_8733B) & BIT_MASK_PSF_BSSIDSEL_H_8733B)
#define BIT_SET_PSF_BSSIDSEL_H_8733B(x, v) (BIT_CLEAR_PSF_BSSIDSEL_H_8733B(x) | BIT_PSF_BSSIDSEL_H_8733B(v))

#define BIT_WOWHCI_8733B BIT(5)
#define BIT_PSF_BSSIDSEL_L_8733B BIT(4)
#define BIT_UWF_8733B BIT(3)
#define BIT_MAGIC_8733B BIT(2)
#define BIT_WFMSK_8733B BIT(1)

/* 2 REG_NAN_RX_FILTER_8733B */
#define BIT_NAN_RX_CHKTA_8733B BIT(2)
#define BIT_NAN_RX_CHKBSSID_8733B BIT(1)
#define BIT_NAN_RX_FILTER_EN_8733B BIT(0)

/* 2 REG_PS_RX_INFO_8733B (POWER SAVE RX INFORMATION REGISTER) */

#define BIT_SHIFT_PORTSEL__PS_RX_INFO_8733B 5
#define BIT_MASK_PORTSEL__PS_RX_INFO_8733B 0x7
#define BIT_PORTSEL__PS_RX_INFO_8733B(x) (((x) & BIT_MASK_PORTSEL__PS_RX_INFO_8733B) << BIT_SHIFT_PORTSEL__PS_RX_INFO_8733B)
#define BITS_PORTSEL__PS_RX_INFO_8733B (BIT_MASK_PORTSEL__PS_RX_INFO_8733B << BIT_SHIFT_PORTSEL__PS_RX_INFO_8733B)
#define BIT_CLEAR_PORTSEL__PS_RX_INFO_8733B(x) ((x) & (~BITS_PORTSEL__PS_RX_INFO_8733B))
#define BIT_GET_PORTSEL__PS_RX_INFO_8733B(x) (((x) >> BIT_SHIFT_PORTSEL__PS_RX_INFO_8733B) & BIT_MASK_PORTSEL__PS_RX_INFO_8733B)
#define BIT_SET_PORTSEL__PS_RX_INFO_8733B(x, v) (BIT_CLEAR_PORTSEL__PS_RX_INFO_8733B(x) | BIT_PORTSEL__PS_RX_INFO_8733B(v))

#define BIT_RXCTRLIN0_8733B BIT(4)
#define BIT_RXMGTIN0_8733B BIT(3)
#define BIT_RXDATAIN2_8733B BIT(2)
#define BIT_RXDATAIN1_8733B BIT(1)
#define BIT_RXDATAIN0_8733B BIT(0)

/* 2 REG_WMMPS_UAPSD_TID_8733B (WMM POWER SAVE UAPSD TID REGISTER) */
#define BIT_WMMPS_UAPSD_TID7_8733B BIT(7)
#define BIT_WMMPS_UAPSD_TID6_8733B BIT(6)
#define BIT_WMMPS_UAPSD_TID5_8733B BIT(5)
#define BIT_WMMPS_UAPSD_TID4_8733B BIT(4)
#define BIT_WMMPS_UAPSD_TID3_8733B BIT(3)
#define BIT_WMMPS_UAPSD_TID2_8733B BIT(2)
#define BIT_WMMPS_UAPSD_TID1_8733B BIT(1)
#define BIT_WMMPS_UAPSD_TID0_8733B BIT(0)

/* 2 REG_LPNAV_CTRL_8733B (LOW POWER NAV CONTROL REGISTER) */
#define BIT_LPNAV_EN_8733B BIT(31)

#define BIT_SHIFT_LPNAV_EARLY_8733B 16
#define BIT_MASK_LPNAV_EARLY_8733B 0x7fff
#define BIT_LPNAV_EARLY_8733B(x) (((x) & BIT_MASK_LPNAV_EARLY_8733B) << BIT_SHIFT_LPNAV_EARLY_8733B)
#define BITS_LPNAV_EARLY_8733B (BIT_MASK_LPNAV_EARLY_8733B << BIT_SHIFT_LPNAV_EARLY_8733B)
#define BIT_CLEAR_LPNAV_EARLY_8733B(x) ((x) & (~BITS_LPNAV_EARLY_8733B))
#define BIT_GET_LPNAV_EARLY_8733B(x) (((x) >> BIT_SHIFT_LPNAV_EARLY_8733B) & BIT_MASK_LPNAV_EARLY_8733B)
#define BIT_SET_LPNAV_EARLY_8733B(x, v) (BIT_CLEAR_LPNAV_EARLY_8733B(x) | BIT_LPNAV_EARLY_8733B(v))

#define BIT_SHIFT_LPNAV_THR_8733B 0
#define BIT_MASK_LPNAV_THR_8733B 0xffff
#define BIT_LPNAV_THR_8733B(x) (((x) & BIT_MASK_LPNAV_THR_8733B) << BIT_SHIFT_LPNAV_THR_8733B)
#define BITS_LPNAV_THR_8733B (BIT_MASK_LPNAV_THR_8733B << BIT_SHIFT_LPNAV_THR_8733B)
#define BIT_CLEAR_LPNAV_THR_8733B(x) ((x) & (~BITS_LPNAV_THR_8733B))
#define BIT_GET_LPNAV_THR_8733B(x) (((x) >> BIT_SHIFT_LPNAV_THR_8733B) & BIT_MASK_LPNAV_THR_8733B)
#define BIT_SET_LPNAV_THR_8733B(x, v) (BIT_CLEAR_LPNAV_THR_8733B(x) | BIT_LPNAV_THR_8733B(v))

/* 2 REG_WKFMCAM_CMD_8733B (WAKEUP FRAME CAM NUMBER REGISTER) */
#define BIT_WKFMCAM_WE_8733B BIT(16)

#define BIT_SHIFT_WKFMCAM_AD_8733B 8
#define BIT_MASK_WKFMCAM_AD_8733B 0xff
#define BIT_WKFMCAM_AD_8733B(x) (((x) & BIT_MASK_WKFMCAM_AD_8733B) << BIT_SHIFT_WKFMCAM_AD_8733B)
#define BITS_WKFMCAM_AD_8733B (BIT_MASK_WKFMCAM_AD_8733B << BIT_SHIFT_WKFMCAM_AD_8733B)
#define BIT_CLEAR_WKFMCAM_AD_8733B(x) ((x) & (~BITS_WKFMCAM_AD_8733B))
#define BIT_GET_WKFMCAM_AD_8733B(x) (((x) >> BIT_SHIFT_WKFMCAM_AD_8733B) & BIT_MASK_WKFMCAM_AD_8733B)
#define BIT_SET_WKFMCAM_AD_8733B(x, v) (BIT_CLEAR_WKFMCAM_AD_8733B(x) | BIT_WKFMCAM_AD_8733B(v))

#define BIT_SHIFT_CAM_NUM_8733B 0
#define BIT_MASK_CAM_NUM_8733B 0xff
#define BIT_CAM_NUM_8733B(x) (((x) & BIT_MASK_CAM_NUM_8733B) << BIT_SHIFT_CAM_NUM_8733B)
#define BITS_CAM_NUM_8733B (BIT_MASK_CAM_NUM_8733B << BIT_SHIFT_CAM_NUM_8733B)
#define BIT_CLEAR_CAM_NUM_8733B(x) ((x) & (~BITS_CAM_NUM_8733B))
#define BIT_GET_CAM_NUM_8733B(x) (((x) >> BIT_SHIFT_CAM_NUM_8733B) & BIT_MASK_CAM_NUM_8733B)
#define BIT_SET_CAM_NUM_8733B(x, v) (BIT_CLEAR_CAM_NUM_8733B(x) | BIT_CAM_NUM_8733B(v))

/* 2 REG_WKFMCAM_WD_8733B (WAKEUP FRAME CAM CONTENT REGISTER) */

#define BIT_SHIFT_WKFMCAM_WD_8733B 0
#define BIT_MASK_WKFMCAM_WD_8733B 0xffffffffL
#define BIT_WKFMCAM_WD_8733B(x) (((x) & BIT_MASK_WKFMCAM_WD_8733B) << BIT_SHIFT_WKFMCAM_WD_8733B)
#define BITS_WKFMCAM_WD_8733B (BIT_MASK_WKFMCAM_WD_8733B << BIT_SHIFT_WKFMCAM_WD_8733B)
#define BIT_CLEAR_WKFMCAM_WD_8733B(x) ((x) & (~BITS_WKFMCAM_WD_8733B))
#define BIT_GET_WKFMCAM_WD_8733B(x) (((x) >> BIT_SHIFT_WKFMCAM_WD_8733B) & BIT_MASK_WKFMCAM_WD_8733B)
#define BIT_SET_WKFMCAM_WD_8733B(x, v) (BIT_CLEAR_WKFMCAM_WD_8733B(x) | BIT_WKFMCAM_WD_8733B(v))

/* 2 REG_RXFLTMAP0_8733B (RX FILTER MAP GROUP 0) */
#define BIT_MGTFLT15EN_8733B BIT(15)
#define BIT_MGTFLT14EN_8733B BIT(14)
#define BIT_MGTFLT13EN_8733B BIT(13)
#define BIT_MGTFLT12EN_8733B BIT(12)
#define BIT_MGTFLT11EN_8733B BIT(11)
#define BIT_MGTFLT10EN_8733B BIT(10)
#define BIT_MGTFLT9EN_8733B BIT(9)
#define BIT_MGTFLT8EN_8733B BIT(8)
#define BIT_MGTFLT7EN_8733B BIT(7)
#define BIT_MGTFLT6EN_8733B BIT(6)
#define BIT_MGTFLT5EN_8733B BIT(5)
#define BIT_MGTFLT4EN_8733B BIT(4)
#define BIT_MGTFLT3EN_8733B BIT(3)
#define BIT_MGTFLT2EN_8733B BIT(2)
#define BIT_MGTFLT1EN_8733B BIT(1)
#define BIT_MGTFLT0EN_8733B BIT(0)

/* 2 REG_RXFLTMAP1_8733B (RX FILTER MAP GROUP 1) */
#define BIT_CTRLFLT15EN_8733B BIT(15)
#define BIT_CTRLFLT14EN_8733B BIT(14)
#define BIT_CTRLFLT13EN_8733B BIT(13)
#define BIT_CTRLFLT12EN_8733B BIT(12)
#define BIT_CTRLFLT11EN_8733B BIT(11)
#define BIT_CTRLFLT10EN_8733B BIT(10)
#define BIT_CTRLFLT9EN_8733B BIT(9)
#define BIT_CTRLFLT8EN_8733B BIT(8)
#define BIT_CTRLFLT7EN_8733B BIT(7)
#define BIT_CTRLFLT6EN_8733B BIT(6)
#define BIT_CTRLFLT5EN_8733B BIT(5)
#define BIT_CTRLFLT4EN_8733B BIT(4)
#define BIT_CTRLFLT3EN_8733B BIT(3)
#define BIT_CTRLFLT2EN_8733B BIT(2)
#define BIT_CTRLFLT1EN_8733B BIT(1)
#define BIT_CTRLFLT0EN_8733B BIT(0)

/* 2 REG_RXFLTMAP2_8733B (RX FILTER MAP GROUP 2) */
#define BIT_DATAFLT15EN_8733B BIT(15)
#define BIT_DATAFLT14EN_8733B BIT(14)
#define BIT_DATAFLT13EN_8733B BIT(13)
#define BIT_DATAFLT12EN_8733B BIT(12)
#define BIT_DATAFLT11EN_8733B BIT(11)
#define BIT_DATAFLT10EN_8733B BIT(10)
#define BIT_DATAFLT9EN_8733B BIT(9)
#define BIT_DATAFLT8EN_8733B BIT(8)
#define BIT_DATAFLT7EN_8733B BIT(7)
#define BIT_DATAFLT6EN_8733B BIT(6)
#define BIT_DATAFLT5EN_8733B BIT(5)
#define BIT_DATAFLT4EN_8733B BIT(4)
#define BIT_DATAFLT3EN_8733B BIT(3)
#define BIT_DATAFLT2EN_8733B BIT(2)
#define BIT_DATAFLT1EN_8733B BIT(1)
#define BIT_DATAFLT0EN_8733B BIT(0)

/* 2 REG_BCN_PSR_RPT_8733B (BEACON PARSER REPORT REGISTER) */

#define BIT_SHIFT_DTIM_CNT_8733B 24
#define BIT_MASK_DTIM_CNT_8733B 0xff
#define BIT_DTIM_CNT_8733B(x) (((x) & BIT_MASK_DTIM_CNT_8733B) << BIT_SHIFT_DTIM_CNT_8733B)
#define BITS_DTIM_CNT_8733B (BIT_MASK_DTIM_CNT_8733B << BIT_SHIFT_DTIM_CNT_8733B)
#define BIT_CLEAR_DTIM_CNT_8733B(x) ((x) & (~BITS_DTIM_CNT_8733B))
#define BIT_GET_DTIM_CNT_8733B(x) (((x) >> BIT_SHIFT_DTIM_CNT_8733B) & BIT_MASK_DTIM_CNT_8733B)
#define BIT_SET_DTIM_CNT_8733B(x, v) (BIT_CLEAR_DTIM_CNT_8733B(x) | BIT_DTIM_CNT_8733B(v))

#define BIT_SHIFT_DTIM_PERIOD_8733B 16
#define BIT_MASK_DTIM_PERIOD_8733B 0xff
#define BIT_DTIM_PERIOD_8733B(x) (((x) & BIT_MASK_DTIM_PERIOD_8733B) << BIT_SHIFT_DTIM_PERIOD_8733B)
#define BITS_DTIM_PERIOD_8733B (BIT_MASK_DTIM_PERIOD_8733B << BIT_SHIFT_DTIM_PERIOD_8733B)
#define BIT_CLEAR_DTIM_PERIOD_8733B(x) ((x) & (~BITS_DTIM_PERIOD_8733B))
#define BIT_GET_DTIM_PERIOD_8733B(x) (((x) >> BIT_SHIFT_DTIM_PERIOD_8733B) & BIT_MASK_DTIM_PERIOD_8733B)
#define BIT_SET_DTIM_PERIOD_8733B(x, v) (BIT_CLEAR_DTIM_PERIOD_8733B(x) | BIT_DTIM_PERIOD_8733B(v))

#define BIT_DTIM_8733B BIT(15)
#define BIT_TIM_8733B BIT(14)
#define BIT_FLAG_8733B BIT(13)

#define BIT_SHIFT_PS_AID_0_8733B 0
#define BIT_MASK_PS_AID_0_8733B 0x7ff
#define BIT_PS_AID_0_8733B(x) (((x) & BIT_MASK_PS_AID_0_8733B) << BIT_SHIFT_PS_AID_0_8733B)
#define BITS_PS_AID_0_8733B (BIT_MASK_PS_AID_0_8733B << BIT_SHIFT_PS_AID_0_8733B)
#define BIT_CLEAR_PS_AID_0_8733B(x) ((x) & (~BITS_PS_AID_0_8733B))
#define BIT_GET_PS_AID_0_8733B(x) (((x) >> BIT_SHIFT_PS_AID_0_8733B) & BIT_MASK_PS_AID_0_8733B)
#define BIT_SET_PS_AID_0_8733B(x, v) (BIT_CLEAR_PS_AID_0_8733B(x) | BIT_PS_AID_0_8733B(v))

/* 2 REG_FLC_CTRL_8733B (FW LPS CONDITION -- RX PKT COUNTER) */

#define BIT_SHIFT_FLC_RPC_8733B 0
#define BIT_MASK_FLC_RPC_8733B 0xff
#define BIT_FLC_RPC_8733B(x) (((x) & BIT_MASK_FLC_RPC_8733B) << BIT_SHIFT_FLC_RPC_8733B)
#define BITS_FLC_RPC_8733B (BIT_MASK_FLC_RPC_8733B << BIT_SHIFT_FLC_RPC_8733B)
#define BIT_CLEAR_FLC_RPC_8733B(x) ((x) & (~BITS_FLC_RPC_8733B))
#define BIT_GET_FLC_RPC_8733B(x) (((x) >> BIT_SHIFT_FLC_RPC_8733B) & BIT_MASK_FLC_RPC_8733B)
#define BIT_SET_FLC_RPC_8733B(x, v) (BIT_CLEAR_FLC_RPC_8733B(x) | BIT_FLC_RPC_8733B(v))

/* 2 REG_FLC_RPCT_8733B (FLC_RPC THRESHOLD) */

#define BIT_SHIFT_FLC_PKTTH_8733B 0
#define BIT_MASK_FLC_PKTTH_8733B 0xff
#define BIT_FLC_PKTTH_8733B(x) (((x) & BIT_MASK_FLC_PKTTH_8733B) << BIT_SHIFT_FLC_PKTTH_8733B)
#define BITS_FLC_PKTTH_8733B (BIT_MASK_FLC_PKTTH_8733B << BIT_SHIFT_FLC_PKTTH_8733B)
#define BIT_CLEAR_FLC_PKTTH_8733B(x) ((x) & (~BITS_FLC_PKTTH_8733B))
#define BIT_GET_FLC_PKTTH_8733B(x) (((x) >> BIT_SHIFT_FLC_PKTTH_8733B) & BIT_MASK_FLC_PKTTH_8733B)
#define BIT_SET_FLC_PKTTH_8733B(x, v) (BIT_CLEAR_FLC_PKTTH_8733B(x) | BIT_FLC_PKTTH_8733B(v))

/* 2 REG_FLC_PTS_8733B (PKT TYPE SELECTION OF FLC_RPC T) */
#define BIT_FLC_CMFEN_8733B BIT(2)
#define BIT_FLC_CCFEN_8733B BIT(1)
#define BIT_FLC_CDFEN_8733B BIT(0)

/* 2 REG_FLC_TRPC_8733B (TIMER OF FLC_RPC) */
#define BIT_FLC_RPCT_V1_8733B BIT(7)
#define BIT_FLC_MODSL_8733B BIT(6)

#define BIT_SHIFT_TORRD_8733B 0
#define BIT_MASK_TORRD_8733B 0x3f
#define BIT_TORRD_8733B(x) (((x) & BIT_MASK_TORRD_8733B) << BIT_SHIFT_TORRD_8733B)
#define BITS_TORRD_8733B (BIT_MASK_TORRD_8733B << BIT_SHIFT_TORRD_8733B)
#define BIT_CLEAR_TORRD_8733B(x) ((x) & (~BITS_TORRD_8733B))
#define BIT_GET_TORRD_8733B(x) (((x) >> BIT_SHIFT_TORRD_8733B) & BIT_MASK_TORRD_8733B)
#define BIT_SET_TORRD_8733B(x, v) (BIT_CLEAR_TORRD_8733B(x) | BIT_TORRD_8733B(v))

/* 2 REG_RXPKTMON_CTRL_8733B */

#define BIT_SHIFT_RXBKQPKT_SEQ_8733B 20
#define BIT_MASK_RXBKQPKT_SEQ_8733B 0xf
#define BIT_RXBKQPKT_SEQ_8733B(x) (((x) & BIT_MASK_RXBKQPKT_SEQ_8733B) << BIT_SHIFT_RXBKQPKT_SEQ_8733B)
#define BITS_RXBKQPKT_SEQ_8733B (BIT_MASK_RXBKQPKT_SEQ_8733B << BIT_SHIFT_RXBKQPKT_SEQ_8733B)
#define BIT_CLEAR_RXBKQPKT_SEQ_8733B(x) ((x) & (~BITS_RXBKQPKT_SEQ_8733B))
#define BIT_GET_RXBKQPKT_SEQ_8733B(x) (((x) >> BIT_SHIFT_RXBKQPKT_SEQ_8733B) & BIT_MASK_RXBKQPKT_SEQ_8733B)
#define BIT_SET_RXBKQPKT_SEQ_8733B(x, v) (BIT_CLEAR_RXBKQPKT_SEQ_8733B(x) | BIT_RXBKQPKT_SEQ_8733B(v))

#define BIT_SHIFT_RXBEQPKT_SEQ_8733B 16
#define BIT_MASK_RXBEQPKT_SEQ_8733B 0xf
#define BIT_RXBEQPKT_SEQ_8733B(x) (((x) & BIT_MASK_RXBEQPKT_SEQ_8733B) << BIT_SHIFT_RXBEQPKT_SEQ_8733B)
#define BITS_RXBEQPKT_SEQ_8733B (BIT_MASK_RXBEQPKT_SEQ_8733B << BIT_SHIFT_RXBEQPKT_SEQ_8733B)
#define BIT_CLEAR_RXBEQPKT_SEQ_8733B(x) ((x) & (~BITS_RXBEQPKT_SEQ_8733B))
#define BIT_GET_RXBEQPKT_SEQ_8733B(x) (((x) >> BIT_SHIFT_RXBEQPKT_SEQ_8733B) & BIT_MASK_RXBEQPKT_SEQ_8733B)
#define BIT_SET_RXBEQPKT_SEQ_8733B(x, v) (BIT_CLEAR_RXBEQPKT_SEQ_8733B(x) | BIT_RXBEQPKT_SEQ_8733B(v))

#define BIT_SHIFT_RXVIQPKT_SEQ_8733B 12
#define BIT_MASK_RXVIQPKT_SEQ_8733B 0xf
#define BIT_RXVIQPKT_SEQ_8733B(x) (((x) & BIT_MASK_RXVIQPKT_SEQ_8733B) << BIT_SHIFT_RXVIQPKT_SEQ_8733B)
#define BITS_RXVIQPKT_SEQ_8733B (BIT_MASK_RXVIQPKT_SEQ_8733B << BIT_SHIFT_RXVIQPKT_SEQ_8733B)
#define BIT_CLEAR_RXVIQPKT_SEQ_8733B(x) ((x) & (~BITS_RXVIQPKT_SEQ_8733B))
#define BIT_GET_RXVIQPKT_SEQ_8733B(x) (((x) >> BIT_SHIFT_RXVIQPKT_SEQ_8733B) & BIT_MASK_RXVIQPKT_SEQ_8733B)
#define BIT_SET_RXVIQPKT_SEQ_8733B(x, v) (BIT_CLEAR_RXVIQPKT_SEQ_8733B(x) | BIT_RXVIQPKT_SEQ_8733B(v))

#define BIT_SHIFT_RXVOQPKT_SEQ_8733B 8
#define BIT_MASK_RXVOQPKT_SEQ_8733B 0xf
#define BIT_RXVOQPKT_SEQ_8733B(x) (((x) & BIT_MASK_RXVOQPKT_SEQ_8733B) << BIT_SHIFT_RXVOQPKT_SEQ_8733B)
#define BITS_RXVOQPKT_SEQ_8733B (BIT_MASK_RXVOQPKT_SEQ_8733B << BIT_SHIFT_RXVOQPKT_SEQ_8733B)
#define BIT_CLEAR_RXVOQPKT_SEQ_8733B(x) ((x) & (~BITS_RXVOQPKT_SEQ_8733B))
#define BIT_GET_RXVOQPKT_SEQ_8733B(x) (((x) >> BIT_SHIFT_RXVOQPKT_SEQ_8733B) & BIT_MASK_RXVOQPKT_SEQ_8733B)
#define BIT_SET_RXVOQPKT_SEQ_8733B(x, v) (BIT_CLEAR_RXVOQPKT_SEQ_8733B(x) | BIT_RXVOQPKT_SEQ_8733B(v))

#define BIT_RXBKQPKT_ERR_8733B BIT(7)
#define BIT_RXBEQPKT_ERR_8733B BIT(6)
#define BIT_RXVIQPKT_ERR_8733B BIT(5)
#define BIT_RXVOQPKT_ERR_8733B BIT(4)
#define BIT_RXDMA_MON_EN_8733B BIT(2)
#define BIT_RXPKT_MON_EN_8733B BIT(0)

/* 2 REG_STATE_MON_8733B */

#define BIT_SHIFT_STATE_SEL_8733B 24
#define BIT_MASK_STATE_SEL_8733B 0x1f
#define BIT_STATE_SEL_8733B(x) (((x) & BIT_MASK_STATE_SEL_8733B) << BIT_SHIFT_STATE_SEL_8733B)
#define BITS_STATE_SEL_8733B (BIT_MASK_STATE_SEL_8733B << BIT_SHIFT_STATE_SEL_8733B)
#define BIT_CLEAR_STATE_SEL_8733B(x) ((x) & (~BITS_STATE_SEL_8733B))
#define BIT_GET_STATE_SEL_8733B(x) (((x) >> BIT_SHIFT_STATE_SEL_8733B) & BIT_MASK_STATE_SEL_8733B)
#define BIT_SET_STATE_SEL_8733B(x, v) (BIT_CLEAR_STATE_SEL_8733B(x) | BIT_STATE_SEL_8733B(v))

#define BIT_SHIFT_STATE_INFO_8733B 8
#define BIT_MASK_STATE_INFO_8733B 0xff
#define BIT_STATE_INFO_8733B(x) (((x) & BIT_MASK_STATE_INFO_8733B) << BIT_SHIFT_STATE_INFO_8733B)
#define BITS_STATE_INFO_8733B (BIT_MASK_STATE_INFO_8733B << BIT_SHIFT_STATE_INFO_8733B)
#define BIT_CLEAR_STATE_INFO_8733B(x) ((x) & (~BITS_STATE_INFO_8733B))
#define BIT_GET_STATE_INFO_8733B(x) (((x) >> BIT_SHIFT_STATE_INFO_8733B) & BIT_MASK_STATE_INFO_8733B)
#define BIT_SET_STATE_INFO_8733B(x, v) (BIT_CLEAR_STATE_INFO_8733B(x) | BIT_STATE_INFO_8733B(v))

#define BIT_SHIFT_CUR_STATE_8733B 0
#define BIT_MASK_CUR_STATE_8733B 0x7f
#define BIT_CUR_STATE_8733B(x) (((x) & BIT_MASK_CUR_STATE_8733B) << BIT_SHIFT_CUR_STATE_8733B)
#define BITS_CUR_STATE_8733B (BIT_MASK_CUR_STATE_8733B << BIT_SHIFT_CUR_STATE_8733B)
#define BIT_CLEAR_CUR_STATE_8733B(x) ((x) & (~BITS_CUR_STATE_8733B))
#define BIT_GET_CUR_STATE_8733B(x) (((x) >> BIT_SHIFT_CUR_STATE_8733B) & BIT_MASK_CUR_STATE_8733B)
#define BIT_SET_CUR_STATE_8733B(x, v) (BIT_CLEAR_CUR_STATE_8733B(x) | BIT_CUR_STATE_8733B(v))

/* 2 REG_ERROR_EVT_CTL_8733B */
#define BIT_CSIRPT_LEN_BB_MORE_THAN_MAC_8733B BIT(23)
#define BIT_CSI_CHKSUM_ERROR_8733B BIT(22)
#define BIT_MACRX_ERR_4_8733B BIT(20)
#define BIT_MACRX_ERR_3_8733B BIT(19)
#define BIT_MACRX_ERR_2_8733B BIT(18)
#define BIT_MACRX_ERR_1_8733B BIT(17)
#define BIT_MACRX_ERR_0_8733B BIT(16)
#define BIT_PRETX_ERRHDL_EN_8733B BIT(15)
#define BIT_MACTX_ERR_4_8733B BIT(4)
#define BIT_MACTX_ERR_3_8733B BIT(3)
#define BIT_MACTX_ERR_2_8733B BIT(2)
#define BIT_MACTX_ERR_1_8733B BIT(1)
#define BIT_MACTX_ERR_0_8733B BIT(0)

/* 2 REG_SEARCH_MACID_8733B */
#define BIT_EN_TXRPTBUF_CLK_8733B BIT(31)

#define BIT_SHIFT_INFO_INDEX_OFFSET_8733B 16
#define BIT_MASK_INFO_INDEX_OFFSET_8733B 0x1fff
#define BIT_INFO_INDEX_OFFSET_8733B(x) (((x) & BIT_MASK_INFO_INDEX_OFFSET_8733B) << BIT_SHIFT_INFO_INDEX_OFFSET_8733B)
#define BITS_INFO_INDEX_OFFSET_8733B (BIT_MASK_INFO_INDEX_OFFSET_8733B << BIT_SHIFT_INFO_INDEX_OFFSET_8733B)
#define BIT_CLEAR_INFO_INDEX_OFFSET_8733B(x) ((x) & (~BITS_INFO_INDEX_OFFSET_8733B))
#define BIT_GET_INFO_INDEX_OFFSET_8733B(x) (((x) >> BIT_SHIFT_INFO_INDEX_OFFSET_8733B) & BIT_MASK_INFO_INDEX_OFFSET_8733B)
#define BIT_SET_INFO_INDEX_OFFSET_8733B(x, v) (BIT_CLEAR_INFO_INDEX_OFFSET_8733B(x) | BIT_INFO_INDEX_OFFSET_8733B(v))

#define BIT_WMAC_SRCH_FIFOFULL_8733B BIT(15)
#define BIT_DIS_INFOSRCH_8733B BIT(14)
#define BIT_DISABLE_B0_8733B BIT(13)

#define BIT_SHIFT_INFO_ADDR_OFFSET_8733B 0
#define BIT_MASK_INFO_ADDR_OFFSET_8733B 0x1fff
#define BIT_INFO_ADDR_OFFSET_8733B(x) (((x) & BIT_MASK_INFO_ADDR_OFFSET_8733B) << BIT_SHIFT_INFO_ADDR_OFFSET_8733B)
#define BITS_INFO_ADDR_OFFSET_8733B (BIT_MASK_INFO_ADDR_OFFSET_8733B << BIT_SHIFT_INFO_ADDR_OFFSET_8733B)
#define BIT_CLEAR_INFO_ADDR_OFFSET_8733B(x) ((x) & (~BITS_INFO_ADDR_OFFSET_8733B))
#define BIT_GET_INFO_ADDR_OFFSET_8733B(x) (((x) >> BIT_SHIFT_INFO_ADDR_OFFSET_8733B) & BIT_MASK_INFO_ADDR_OFFSET_8733B)
#define BIT_SET_INFO_ADDR_OFFSET_8733B(x, v) (BIT_CLEAR_INFO_ADDR_OFFSET_8733B(x) | BIT_INFO_ADDR_OFFSET_8733B(v))

/* 2 REG_BT_COEX_TABLE_V1_8733B(BT-COEXISTENCE CONTROL REGISTER) */

#define BIT_SHIFT_COEX_TABLE_1_8733B 0
#define BIT_MASK_COEX_TABLE_1_8733B 0xffffffffL
#define BIT_COEX_TABLE_1_8733B(x) (((x) & BIT_MASK_COEX_TABLE_1_8733B) << BIT_SHIFT_COEX_TABLE_1_8733B)
#define BITS_COEX_TABLE_1_8733B (BIT_MASK_COEX_TABLE_1_8733B << BIT_SHIFT_COEX_TABLE_1_8733B)
#define BIT_CLEAR_COEX_TABLE_1_8733B(x) ((x) & (~BITS_COEX_TABLE_1_8733B))
#define BIT_GET_COEX_TABLE_1_8733B(x) (((x) >> BIT_SHIFT_COEX_TABLE_1_8733B) & BIT_MASK_COEX_TABLE_1_8733B)
#define BIT_SET_COEX_TABLE_1_8733B(x, v) (BIT_CLEAR_COEX_TABLE_1_8733B(x) | BIT_COEX_TABLE_1_8733B(v))

/* 2 REG_BT_COEX_TABLE2_V1_8733B(BT-COEXISTENCE CONTROL REGISTER) */

#define BIT_SHIFT_COEX_TABLE_2_8733B 0
#define BIT_MASK_COEX_TABLE_2_8733B 0xffffffffL
#define BIT_COEX_TABLE_2_8733B(x) (((x) & BIT_MASK_COEX_TABLE_2_8733B) << BIT_SHIFT_COEX_TABLE_2_8733B)
#define BITS_COEX_TABLE_2_8733B (BIT_MASK_COEX_TABLE_2_8733B << BIT_SHIFT_COEX_TABLE_2_8733B)
#define BIT_CLEAR_COEX_TABLE_2_8733B(x) ((x) & (~BITS_COEX_TABLE_2_8733B))
#define BIT_GET_COEX_TABLE_2_8733B(x) (((x) >> BIT_SHIFT_COEX_TABLE_2_8733B) & BIT_MASK_COEX_TABLE_2_8733B)
#define BIT_SET_COEX_TABLE_2_8733B(x, v) (BIT_CLEAR_COEX_TABLE_2_8733B(x) | BIT_COEX_TABLE_2_8733B(v))

/* 2 REG_BT_COEX_BREAK_TABLE_8733B(BT-COEXISTENCE CONTROL REGISTER) */

#define BIT_SHIFT_BREAK_TABLE_2_8733B 16
#define BIT_MASK_BREAK_TABLE_2_8733B 0xffff
#define BIT_BREAK_TABLE_2_8733B(x) (((x) & BIT_MASK_BREAK_TABLE_2_8733B) << BIT_SHIFT_BREAK_TABLE_2_8733B)
#define BITS_BREAK_TABLE_2_8733B (BIT_MASK_BREAK_TABLE_2_8733B << BIT_SHIFT_BREAK_TABLE_2_8733B)
#define BIT_CLEAR_BREAK_TABLE_2_8733B(x) ((x) & (~BITS_BREAK_TABLE_2_8733B))
#define BIT_GET_BREAK_TABLE_2_8733B(x) (((x) >> BIT_SHIFT_BREAK_TABLE_2_8733B) & BIT_MASK_BREAK_TABLE_2_8733B)
#define BIT_SET_BREAK_TABLE_2_8733B(x, v) (BIT_CLEAR_BREAK_TABLE_2_8733B(x) | BIT_BREAK_TABLE_2_8733B(v))

#define BIT_SHIFT_BREAK_TABLE_1_8733B 0
#define BIT_MASK_BREAK_TABLE_1_8733B 0xffff
#define BIT_BREAK_TABLE_1_8733B(x) (((x) & BIT_MASK_BREAK_TABLE_1_8733B) << BIT_SHIFT_BREAK_TABLE_1_8733B)
#define BITS_BREAK_TABLE_1_8733B (BIT_MASK_BREAK_TABLE_1_8733B << BIT_SHIFT_BREAK_TABLE_1_8733B)
#define BIT_CLEAR_BREAK_TABLE_1_8733B(x) ((x) & (~BITS_BREAK_TABLE_1_8733B))
#define BIT_GET_BREAK_TABLE_1_8733B(x) (((x) >> BIT_SHIFT_BREAK_TABLE_1_8733B) & BIT_MASK_BREAK_TABLE_1_8733B)
#define BIT_SET_BREAK_TABLE_1_8733B(x, v) (BIT_CLEAR_BREAK_TABLE_1_8733B(x) | BIT_BREAK_TABLE_1_8733B(v))

/* 2 REG_BT_COEX_TABLE_H_V1_8733B (BT-COEXISTENCE CONTROL REGISTER) */
#define BIT_PRI_MASK_RX_RESP_V1_8733B BIT(30)
#define BIT_PRI_MASK_RXOFDM_V1_8733B BIT(29)
#define BIT_PRI_MASK_RXCCK_V1_8733B BIT(28)

#define BIT_SHIFT_PRI_MASK_TXAC_8733B 21
#define BIT_MASK_PRI_MASK_TXAC_8733B 0x7f
#define BIT_PRI_MASK_TXAC_8733B(x) (((x) & BIT_MASK_PRI_MASK_TXAC_8733B) << BIT_SHIFT_PRI_MASK_TXAC_8733B)
#define BITS_PRI_MASK_TXAC_8733B (BIT_MASK_PRI_MASK_TXAC_8733B << BIT_SHIFT_PRI_MASK_TXAC_8733B)
#define BIT_CLEAR_PRI_MASK_TXAC_8733B(x) ((x) & (~BITS_PRI_MASK_TXAC_8733B))
#define BIT_GET_PRI_MASK_TXAC_8733B(x) (((x) >> BIT_SHIFT_PRI_MASK_TXAC_8733B) & BIT_MASK_PRI_MASK_TXAC_8733B)
#define BIT_SET_PRI_MASK_TXAC_8733B(x, v) (BIT_CLEAR_PRI_MASK_TXAC_8733B(x) | BIT_PRI_MASK_TXAC_8733B(v))

#define BIT_SHIFT_PRI_MASK_NAV_8733B 13
#define BIT_MASK_PRI_MASK_NAV_8733B 0xff
#define BIT_PRI_MASK_NAV_8733B(x) (((x) & BIT_MASK_PRI_MASK_NAV_8733B) << BIT_SHIFT_PRI_MASK_NAV_8733B)
#define BITS_PRI_MASK_NAV_8733B (BIT_MASK_PRI_MASK_NAV_8733B << BIT_SHIFT_PRI_MASK_NAV_8733B)
#define BIT_CLEAR_PRI_MASK_NAV_8733B(x) ((x) & (~BITS_PRI_MASK_NAV_8733B))
#define BIT_GET_PRI_MASK_NAV_8733B(x) (((x) >> BIT_SHIFT_PRI_MASK_NAV_8733B) & BIT_MASK_PRI_MASK_NAV_8733B)
#define BIT_SET_PRI_MASK_NAV_8733B(x, v) (BIT_CLEAR_PRI_MASK_NAV_8733B(x) | BIT_PRI_MASK_NAV_8733B(v))

#define BIT_PRI_MASK_CCK_V1_8733B BIT(12)
#define BIT_PRI_MASK_OFDM_V1_8733B BIT(11)
#define BIT_PRI_MASK_RTY_V1_8733B BIT(10)

#define BIT_SHIFT_PRI_MASK_NUM_8733B 6
#define BIT_MASK_PRI_MASK_NUM_8733B 0xf
#define BIT_PRI_MASK_NUM_8733B(x) (((x) & BIT_MASK_PRI_MASK_NUM_8733B) << BIT_SHIFT_PRI_MASK_NUM_8733B)
#define BITS_PRI_MASK_NUM_8733B (BIT_MASK_PRI_MASK_NUM_8733B << BIT_SHIFT_PRI_MASK_NUM_8733B)
#define BIT_CLEAR_PRI_MASK_NUM_8733B(x) ((x) & (~BITS_PRI_MASK_NUM_8733B))
#define BIT_GET_PRI_MASK_NUM_8733B(x) (((x) >> BIT_SHIFT_PRI_MASK_NUM_8733B) & BIT_MASK_PRI_MASK_NUM_8733B)
#define BIT_SET_PRI_MASK_NUM_8733B(x, v) (BIT_CLEAR_PRI_MASK_NUM_8733B(x) | BIT_PRI_MASK_NUM_8733B(v))

#define BIT_SHIFT_PRI_MASK_TYPE_8733B 2
#define BIT_MASK_PRI_MASK_TYPE_8733B 0xf
#define BIT_PRI_MASK_TYPE_8733B(x) (((x) & BIT_MASK_PRI_MASK_TYPE_8733B) << BIT_SHIFT_PRI_MASK_TYPE_8733B)
#define BITS_PRI_MASK_TYPE_8733B (BIT_MASK_PRI_MASK_TYPE_8733B << BIT_SHIFT_PRI_MASK_TYPE_8733B)
#define BIT_CLEAR_PRI_MASK_TYPE_8733B(x) ((x) & (~BITS_PRI_MASK_TYPE_8733B))
#define BIT_GET_PRI_MASK_TYPE_8733B(x) (((x) >> BIT_SHIFT_PRI_MASK_TYPE_8733B) & BIT_MASK_PRI_MASK_TYPE_8733B)
#define BIT_SET_PRI_MASK_TYPE_8733B(x, v) (BIT_CLEAR_PRI_MASK_TYPE_8733B(x) | BIT_PRI_MASK_TYPE_8733B(v))

#define BIT_OOB_V1_8733B BIT(1)
#define BIT_ANT_SEL_V1_8733B BIT(0)

/* 2 REG_RXCMD_0_8733B */
#define BIT_RXCMD_EN_8733B BIT(31)

#define BIT_SHIFT_RXCMD_INFO_8733B 0
#define BIT_MASK_RXCMD_INFO_8733B 0x7fffffffL
#define BIT_RXCMD_INFO_8733B(x) (((x) & BIT_MASK_RXCMD_INFO_8733B) << BIT_SHIFT_RXCMD_INFO_8733B)
#define BITS_RXCMD_INFO_8733B (BIT_MASK_RXCMD_INFO_8733B << BIT_SHIFT_RXCMD_INFO_8733B)
#define BIT_CLEAR_RXCMD_INFO_8733B(x) ((x) & (~BITS_RXCMD_INFO_8733B))
#define BIT_GET_RXCMD_INFO_8733B(x) (((x) >> BIT_SHIFT_RXCMD_INFO_8733B) & BIT_MASK_RXCMD_INFO_8733B)
#define BIT_SET_RXCMD_INFO_8733B(x, v) (BIT_CLEAR_RXCMD_INFO_8733B(x) | BIT_RXCMD_INFO_8733B(v))

/* 2 REG_RXCMD_1_8733B */

#define BIT_SHIFT_RXCMD_PRD_8733B 0
#define BIT_MASK_RXCMD_PRD_8733B 0xffff
#define BIT_RXCMD_PRD_8733B(x) (((x) & BIT_MASK_RXCMD_PRD_8733B) << BIT_SHIFT_RXCMD_PRD_8733B)
#define BITS_RXCMD_PRD_8733B (BIT_MASK_RXCMD_PRD_8733B << BIT_SHIFT_RXCMD_PRD_8733B)
#define BIT_CLEAR_RXCMD_PRD_8733B(x) ((x) & (~BITS_RXCMD_PRD_8733B))
#define BIT_GET_RXCMD_PRD_8733B(x) (((x) >> BIT_SHIFT_RXCMD_PRD_8733B) & BIT_MASK_RXCMD_PRD_8733B)
#define BIT_SET_RXCMD_PRD_8733B(x, v) (BIT_CLEAR_RXCMD_PRD_8733B(x) | BIT_RXCMD_PRD_8733B(v))

/* 2 REG_RESP_TXINFO_CFG_8733B */

#define BIT_SHIFT_RESP_MFB_8733B 25
#define BIT_MASK_RESP_MFB_8733B 0x7f
#define BIT_RESP_MFB_8733B(x) (((x) & BIT_MASK_RESP_MFB_8733B) << BIT_SHIFT_RESP_MFB_8733B)
#define BITS_RESP_MFB_8733B (BIT_MASK_RESP_MFB_8733B << BIT_SHIFT_RESP_MFB_8733B)
#define BIT_CLEAR_RESP_MFB_8733B(x) ((x) & (~BITS_RESP_MFB_8733B))
#define BIT_GET_RESP_MFB_8733B(x) (((x) >> BIT_SHIFT_RESP_MFB_8733B) & BIT_MASK_RESP_MFB_8733B)
#define BIT_SET_RESP_MFB_8733B(x, v) (BIT_CLEAR_RESP_MFB_8733B(x) | BIT_RESP_MFB_8733B(v))

#define BIT_SHIFT_ANTINF_SEL_8733B 23
#define BIT_MASK_ANTINF_SEL_8733B 0x3
#define BIT_ANTINF_SEL_8733B(x) (((x) & BIT_MASK_ANTINF_SEL_8733B) << BIT_SHIFT_ANTINF_SEL_8733B)
#define BITS_ANTINF_SEL_8733B (BIT_MASK_ANTINF_SEL_8733B << BIT_SHIFT_ANTINF_SEL_8733B)
#define BIT_CLEAR_ANTINF_SEL_8733B(x) ((x) & (~BITS_ANTINF_SEL_8733B))
#define BIT_GET_ANTINF_SEL_8733B(x) (((x) >> BIT_SHIFT_ANTINF_SEL_8733B) & BIT_MASK_ANTINF_SEL_8733B)
#define BIT_SET_ANTINF_SEL_8733B(x, v) (BIT_CLEAR_ANTINF_SEL_8733B(x) | BIT_ANTINF_SEL_8733B(v))

#define BIT_SHIFT_ANTSEL_SEL_8733B 21
#define BIT_MASK_ANTSEL_SEL_8733B 0x3
#define BIT_ANTSEL_SEL_8733B(x) (((x) & BIT_MASK_ANTSEL_SEL_8733B) << BIT_SHIFT_ANTSEL_SEL_8733B)
#define BITS_ANTSEL_SEL_8733B (BIT_MASK_ANTSEL_SEL_8733B << BIT_SHIFT_ANTSEL_SEL_8733B)
#define BIT_CLEAR_ANTSEL_SEL_8733B(x) ((x) & (~BITS_ANTSEL_SEL_8733B))
#define BIT_GET_ANTSEL_SEL_8733B(x) (((x) >> BIT_SHIFT_ANTSEL_SEL_8733B) & BIT_MASK_ANTSEL_SEL_8733B)
#define BIT_SET_ANTSEL_SEL_8733B(x, v) (BIT_CLEAR_ANTSEL_SEL_8733B(x) | BIT_ANTSEL_SEL_8733B(v))

#define BIT_SHIFT_RESP_TXPOWER_8733B 18
#define BIT_MASK_RESP_TXPOWER_8733B 0x7
#define BIT_RESP_TXPOWER_8733B(x) (((x) & BIT_MASK_RESP_TXPOWER_8733B) << BIT_SHIFT_RESP_TXPOWER_8733B)
#define BITS_RESP_TXPOWER_8733B (BIT_MASK_RESP_TXPOWER_8733B << BIT_SHIFT_RESP_TXPOWER_8733B)
#define BIT_CLEAR_RESP_TXPOWER_8733B(x) ((x) & (~BITS_RESP_TXPOWER_8733B))
#define BIT_GET_RESP_TXPOWER_8733B(x) (((x) >> BIT_SHIFT_RESP_TXPOWER_8733B) & BIT_MASK_RESP_TXPOWER_8733B)
#define BIT_SET_RESP_TXPOWER_8733B(x, v) (BIT_CLEAR_RESP_TXPOWER_8733B(x) | BIT_RESP_TXPOWER_8733B(v))

#define BIT_SHIFT_RESP_TXANT_8733B 0
#define BIT_MASK_RESP_TXANT_8733B 0x3ffff
#define BIT_RESP_TXANT_8733B(x) (((x) & BIT_MASK_RESP_TXANT_8733B) << BIT_SHIFT_RESP_TXANT_8733B)
#define BITS_RESP_TXANT_8733B (BIT_MASK_RESP_TXANT_8733B << BIT_SHIFT_RESP_TXANT_8733B)
#define BIT_CLEAR_RESP_TXANT_8733B(x) ((x) & (~BITS_RESP_TXANT_8733B))
#define BIT_GET_RESP_TXANT_8733B(x) (((x) >> BIT_SHIFT_RESP_TXANT_8733B) & BIT_MASK_RESP_TXANT_8733B)
#define BIT_SET_RESP_TXANT_8733B(x, v) (BIT_CLEAR_RESP_TXANT_8733B(x) | BIT_RESP_TXANT_8733B(v))

/* 2 REG_BBPSF_CTRL_8733B */
#define BIT_WMAC_CSI_RATE_FORCE_EN_8733B BIT(15)

#define BIT_SHIFT_WMAC_CSI_RSC_FORCE_8733B 13
#define BIT_MASK_WMAC_CSI_RSC_FORCE_8733B 0x3
#define BIT_WMAC_CSI_RSC_FORCE_8733B(x) (((x) & BIT_MASK_WMAC_CSI_RSC_FORCE_8733B) << BIT_SHIFT_WMAC_CSI_RSC_FORCE_8733B)
#define BITS_WMAC_CSI_RSC_FORCE_8733B (BIT_MASK_WMAC_CSI_RSC_FORCE_8733B << BIT_SHIFT_WMAC_CSI_RSC_FORCE_8733B)
#define BIT_CLEAR_WMAC_CSI_RSC_FORCE_8733B(x) ((x) & (~BITS_WMAC_CSI_RSC_FORCE_8733B))
#define BIT_GET_WMAC_CSI_RSC_FORCE_8733B(x) (((x) >> BIT_SHIFT_WMAC_CSI_RSC_FORCE_8733B) & BIT_MASK_WMAC_CSI_RSC_FORCE_8733B)
#define BIT_SET_WMAC_CSI_RSC_FORCE_8733B(x, v) (BIT_CLEAR_WMAC_CSI_RSC_FORCE_8733B(x) | BIT_WMAC_CSI_RSC_FORCE_8733B(v))

#define BIT_CSI_GID_SEL_8733B BIT(12)
#define BIT_RDCSIMD_FLAG_TRIG_SEL_8733B BIT(11)
#define BIT_NDPVLD_POS_RST_FFPTR_DIS_V1_8733B BIT(10)
#define BIT_NDPVLD_PROTECT_RDRDY_DIS_8733B BIT(9)
#define BIT_CSIRD_EMPTY_APPZERO_8733B BIT(8)
#define BIT_WMC_CSI_RATE_FB_EN_8733B BIT(7)
#define BIT_RXFIFO_WRPTR_WO_CHKSUM_8733B BIT(6)

/* 2 REG_RESP_TXINFO_RATE_8733B */
#define BIT_CTL_IDLE_CLR_CSI_RPT_V1_8733B BIT(15)
#define BIT_USE_NDPARATE_8733B BIT(14)

#define BIT_SHIFT_WMAC_CSI_RATE_8733B 8
#define BIT_MASK_WMAC_CSI_RATE_8733B 0x3f
#define BIT_WMAC_CSI_RATE_8733B(x) (((x) & BIT_MASK_WMAC_CSI_RATE_8733B) << BIT_SHIFT_WMAC_CSI_RATE_8733B)
#define BITS_WMAC_CSI_RATE_8733B (BIT_MASK_WMAC_CSI_RATE_8733B << BIT_SHIFT_WMAC_CSI_RATE_8733B)
#define BIT_CLEAR_WMAC_CSI_RATE_8733B(x) ((x) & (~BITS_WMAC_CSI_RATE_8733B))
#define BIT_GET_WMAC_CSI_RATE_8733B(x) (((x) >> BIT_SHIFT_WMAC_CSI_RATE_8733B) & BIT_MASK_WMAC_CSI_RATE_8733B)
#define BIT_SET_WMAC_CSI_RATE_8733B(x, v) (BIT_CLEAR_WMAC_CSI_RATE_8733B(x) | BIT_WMAC_CSI_RATE_8733B(v))

#define BIT_SHIFT_RESP_TXRATE_8733B 0
#define BIT_MASK_RESP_TXRATE_8733B 0xff
#define BIT_RESP_TXRATE_8733B(x) (((x) & BIT_MASK_RESP_TXRATE_8733B) << BIT_SHIFT_RESP_TXRATE_8733B)
#define BITS_RESP_TXRATE_8733B (BIT_MASK_RESP_TXRATE_8733B << BIT_SHIFT_RESP_TXRATE_8733B)
#define BIT_CLEAR_RESP_TXRATE_8733B(x) ((x) & (~BITS_RESP_TXRATE_8733B))
#define BIT_GET_RESP_TXRATE_8733B(x) (((x) >> BIT_SHIFT_RESP_TXRATE_8733B) & BIT_MASK_RESP_TXRATE_8733B)
#define BIT_SET_RESP_TXRATE_8733B(x, v) (BIT_CLEAR_RESP_TXRATE_8733B(x) | BIT_RESP_TXRATE_8733B(v))

/* 2 REG_P2P_RX_BCN_NOA_8733B */
#define BIT_P2P_NOA_PARSER_EN_8733B BIT(15)

#define BIT_SHIFT_P2P_BSSID_SEL_V1_8733B 12
#define BIT_MASK_P2P_BSSID_SEL_V1_8733B 0x7
#define BIT_P2P_BSSID_SEL_V1_8733B(x) (((x) & BIT_MASK_P2P_BSSID_SEL_V1_8733B) << BIT_SHIFT_P2P_BSSID_SEL_V1_8733B)
#define BITS_P2P_BSSID_SEL_V1_8733B (BIT_MASK_P2P_BSSID_SEL_V1_8733B << BIT_SHIFT_P2P_BSSID_SEL_V1_8733B)
#define BIT_CLEAR_P2P_BSSID_SEL_V1_8733B(x) ((x) & (~BITS_P2P_BSSID_SEL_V1_8733B))
#define BIT_GET_P2P_BSSID_SEL_V1_8733B(x) (((x) >> BIT_SHIFT_P2P_BSSID_SEL_V1_8733B) & BIT_MASK_P2P_BSSID_SEL_V1_8733B)
#define BIT_SET_P2P_BSSID_SEL_V1_8733B(x, v) (BIT_CLEAR_P2P_BSSID_SEL_V1_8733B(x) | BIT_P2P_BSSID_SEL_V1_8733B(v))

#define BIT_SHIFT_P2P_OUI_TYPE_8733B 0
#define BIT_MASK_P2P_OUI_TYPE_8733B 0xff
#define BIT_P2P_OUI_TYPE_8733B(x) (((x) & BIT_MASK_P2P_OUI_TYPE_8733B) << BIT_SHIFT_P2P_OUI_TYPE_8733B)
#define BITS_P2P_OUI_TYPE_8733B (BIT_MASK_P2P_OUI_TYPE_8733B << BIT_SHIFT_P2P_OUI_TYPE_8733B)
#define BIT_CLEAR_P2P_OUI_TYPE_8733B(x) ((x) & (~BITS_P2P_OUI_TYPE_8733B))
#define BIT_GET_P2P_OUI_TYPE_8733B(x) (((x) >> BIT_SHIFT_P2P_OUI_TYPE_8733B) & BIT_MASK_P2P_OUI_TYPE_8733B)
#define BIT_SET_P2P_OUI_TYPE_8733B(x, v) (BIT_CLEAR_P2P_OUI_TYPE_8733B(x) | BIT_P2P_OUI_TYPE_8733B(v))

/* 2 REG_ASSOCIATED_BFMER0_INFO_8733B(ASSOCIATED BEAMFORMER0 INFO REGISTER) */

#define BIT_SHIFT_R_WMAC_SOUNDING_RXADD_R0_V1_8733B 0
#define BIT_MASK_R_WMAC_SOUNDING_RXADD_R0_V1_8733B 0xffffffffL
#define BIT_R_WMAC_SOUNDING_RXADD_R0_V1_8733B(x) (((x) & BIT_MASK_R_WMAC_SOUNDING_RXADD_R0_V1_8733B) << BIT_SHIFT_R_WMAC_SOUNDING_RXADD_R0_V1_8733B)
#define BITS_R_WMAC_SOUNDING_RXADD_R0_V1_8733B (BIT_MASK_R_WMAC_SOUNDING_RXADD_R0_V1_8733B << BIT_SHIFT_R_WMAC_SOUNDING_RXADD_R0_V1_8733B)
#define BIT_CLEAR_R_WMAC_SOUNDING_RXADD_R0_V1_8733B(x) ((x) & (~BITS_R_WMAC_SOUNDING_RXADD_R0_V1_8733B))
#define BIT_GET_R_WMAC_SOUNDING_RXADD_R0_V1_8733B(x) (((x) >> BIT_SHIFT_R_WMAC_SOUNDING_RXADD_R0_V1_8733B) & BIT_MASK_R_WMAC_SOUNDING_RXADD_R0_V1_8733B)
#define BIT_SET_R_WMAC_SOUNDING_RXADD_R0_V1_8733B(x, v) (BIT_CLEAR_R_WMAC_SOUNDING_RXADD_R0_V1_8733B(x) | BIT_R_WMAC_SOUNDING_RXADD_R0_V1_8733B(v))

/* 2 REG_SOUNDING_CFG1_8733B */

#define BIT_SHIFT_R_WMAC_TXCSI_AID0_8733B 16
#define BIT_MASK_R_WMAC_TXCSI_AID0_8733B 0x1ff
#define BIT_R_WMAC_TXCSI_AID0_8733B(x) (((x) & BIT_MASK_R_WMAC_TXCSI_AID0_8733B) << BIT_SHIFT_R_WMAC_TXCSI_AID0_8733B)
#define BITS_R_WMAC_TXCSI_AID0_8733B (BIT_MASK_R_WMAC_TXCSI_AID0_8733B << BIT_SHIFT_R_WMAC_TXCSI_AID0_8733B)
#define BIT_CLEAR_R_WMAC_TXCSI_AID0_8733B(x) ((x) & (~BITS_R_WMAC_TXCSI_AID0_8733B))
#define BIT_GET_R_WMAC_TXCSI_AID0_8733B(x) (((x) >> BIT_SHIFT_R_WMAC_TXCSI_AID0_8733B) & BIT_MASK_R_WMAC_TXCSI_AID0_8733B)
#define BIT_SET_R_WMAC_TXCSI_AID0_8733B(x, v) (BIT_CLEAR_R_WMAC_TXCSI_AID0_8733B(x) | BIT_R_WMAC_TXCSI_AID0_8733B(v))

#define BIT_SHIFT_R_WMAC_SOUNDING_RXADD_R0_H_8733B 0
#define BIT_MASK_R_WMAC_SOUNDING_RXADD_R0_H_8733B 0xffff
#define BIT_R_WMAC_SOUNDING_RXADD_R0_H_8733B(x) (((x) & BIT_MASK_R_WMAC_SOUNDING_RXADD_R0_H_8733B) << BIT_SHIFT_R_WMAC_SOUNDING_RXADD_R0_H_8733B)
#define BITS_R_WMAC_SOUNDING_RXADD_R0_H_8733B (BIT_MASK_R_WMAC_SOUNDING_RXADD_R0_H_8733B << BIT_SHIFT_R_WMAC_SOUNDING_RXADD_R0_H_8733B)
#define BIT_CLEAR_R_WMAC_SOUNDING_RXADD_R0_H_8733B(x) ((x) & (~BITS_R_WMAC_SOUNDING_RXADD_R0_H_8733B))
#define BIT_GET_R_WMAC_SOUNDING_RXADD_R0_H_8733B(x) (((x) >> BIT_SHIFT_R_WMAC_SOUNDING_RXADD_R0_H_8733B) & BIT_MASK_R_WMAC_SOUNDING_RXADD_R0_H_8733B)
#define BIT_SET_R_WMAC_SOUNDING_RXADD_R0_H_8733B(x, v) (BIT_CLEAR_R_WMAC_SOUNDING_RXADD_R0_H_8733B(x) | BIT_R_WMAC_SOUNDING_RXADD_R0_H_8733B(v))

/* 2 REG_SOUNDING_CFG2_8733B */

#define BIT_SHIFT_R_WMAC_SOUNDING_RXADD_R1_V2_8733B 0
#define BIT_MASK_R_WMAC_SOUNDING_RXADD_R1_V2_8733B 0xffffffffL
#define BIT_R_WMAC_SOUNDING_RXADD_R1_V2_8733B(x) (((x) & BIT_MASK_R_WMAC_SOUNDING_RXADD_R1_V2_8733B) << BIT_SHIFT_R_WMAC_SOUNDING_RXADD_R1_V2_8733B)
#define BITS_R_WMAC_SOUNDING_RXADD_R1_V2_8733B (BIT_MASK_R_WMAC_SOUNDING_RXADD_R1_V2_8733B << BIT_SHIFT_R_WMAC_SOUNDING_RXADD_R1_V2_8733B)
#define BIT_CLEAR_R_WMAC_SOUNDING_RXADD_R1_V2_8733B(x) ((x) & (~BITS_R_WMAC_SOUNDING_RXADD_R1_V2_8733B))
#define BIT_GET_R_WMAC_SOUNDING_RXADD_R1_V2_8733B(x) (((x) >> BIT_SHIFT_R_WMAC_SOUNDING_RXADD_R1_V2_8733B) & BIT_MASK_R_WMAC_SOUNDING_RXADD_R1_V2_8733B)
#define BIT_SET_R_WMAC_SOUNDING_RXADD_R1_V2_8733B(x, v) (BIT_CLEAR_R_WMAC_SOUNDING_RXADD_R1_V2_8733B(x) | BIT_R_WMAC_SOUNDING_RXADD_R1_V2_8733B(v))

/* 2 REG_SOUNDING_CFG3_8733B */

#define BIT_SHIFT_R_WMAC_TXCSI_AID1_8733B 16
#define BIT_MASK_R_WMAC_TXCSI_AID1_8733B 0x1ff
#define BIT_R_WMAC_TXCSI_AID1_8733B(x) (((x) & BIT_MASK_R_WMAC_TXCSI_AID1_8733B) << BIT_SHIFT_R_WMAC_TXCSI_AID1_8733B)
#define BITS_R_WMAC_TXCSI_AID1_8733B (BIT_MASK_R_WMAC_TXCSI_AID1_8733B << BIT_SHIFT_R_WMAC_TXCSI_AID1_8733B)
#define BIT_CLEAR_R_WMAC_TXCSI_AID1_8733B(x) ((x) & (~BITS_R_WMAC_TXCSI_AID1_8733B))
#define BIT_GET_R_WMAC_TXCSI_AID1_8733B(x) (((x) >> BIT_SHIFT_R_WMAC_TXCSI_AID1_8733B) & BIT_MASK_R_WMAC_TXCSI_AID1_8733B)
#define BIT_SET_R_WMAC_TXCSI_AID1_8733B(x, v) (BIT_CLEAR_R_WMAC_TXCSI_AID1_8733B(x) | BIT_R_WMAC_TXCSI_AID1_8733B(v))

#define BIT_SHIFT_R_WMAC_SOUNDING_RXADD_R1_H_V2_8733B 0
#define BIT_MASK_R_WMAC_SOUNDING_RXADD_R1_H_V2_8733B 0xffff
#define BIT_R_WMAC_SOUNDING_RXADD_R1_H_V2_8733B(x) (((x) & BIT_MASK_R_WMAC_SOUNDING_RXADD_R1_H_V2_8733B) << BIT_SHIFT_R_WMAC_SOUNDING_RXADD_R1_H_V2_8733B)
#define BITS_R_WMAC_SOUNDING_RXADD_R1_H_V2_8733B (BIT_MASK_R_WMAC_SOUNDING_RXADD_R1_H_V2_8733B << BIT_SHIFT_R_WMAC_SOUNDING_RXADD_R1_H_V2_8733B)
#define BIT_CLEAR_R_WMAC_SOUNDING_RXADD_R1_H_V2_8733B(x) ((x) & (~BITS_R_WMAC_SOUNDING_RXADD_R1_H_V2_8733B))
#define BIT_GET_R_WMAC_SOUNDING_RXADD_R1_H_V2_8733B(x) (((x) >> BIT_SHIFT_R_WMAC_SOUNDING_RXADD_R1_H_V2_8733B) & BIT_MASK_R_WMAC_SOUNDING_RXADD_R1_H_V2_8733B)
#define BIT_SET_R_WMAC_SOUNDING_RXADD_R1_H_V2_8733B(x, v) (BIT_CLEAR_R_WMAC_SOUNDING_RXADD_R1_H_V2_8733B(x) | BIT_R_WMAC_SOUNDING_RXADD_R1_H_V2_8733B(v))

/* 2 REG_SOUNDING_CFG0_8733B */

#define BIT_SHIFT_R_WMAC_BFINFO_20M_1_8733B 16
#define BIT_MASK_R_WMAC_BFINFO_20M_1_8733B 0xfff
#define BIT_R_WMAC_BFINFO_20M_1_8733B(x) (((x) & BIT_MASK_R_WMAC_BFINFO_20M_1_8733B) << BIT_SHIFT_R_WMAC_BFINFO_20M_1_8733B)
#define BITS_R_WMAC_BFINFO_20M_1_8733B (BIT_MASK_R_WMAC_BFINFO_20M_1_8733B << BIT_SHIFT_R_WMAC_BFINFO_20M_1_8733B)
#define BIT_CLEAR_R_WMAC_BFINFO_20M_1_8733B(x) ((x) & (~BITS_R_WMAC_BFINFO_20M_1_8733B))
#define BIT_GET_R_WMAC_BFINFO_20M_1_8733B(x) (((x) >> BIT_SHIFT_R_WMAC_BFINFO_20M_1_8733B) & BIT_MASK_R_WMAC_BFINFO_20M_1_8733B)
#define BIT_SET_R_WMAC_BFINFO_20M_1_8733B(x, v) (BIT_CLEAR_R_WMAC_BFINFO_20M_1_8733B(x) | BIT_R_WMAC_BFINFO_20M_1_8733B(v))

#define BIT_SHIFT_R_WMAC_BFINFO_20M_0_8733B 0
#define BIT_MASK_R_WMAC_BFINFO_20M_0_8733B 0xfff
#define BIT_R_WMAC_BFINFO_20M_0_8733B(x) (((x) & BIT_MASK_R_WMAC_BFINFO_20M_0_8733B) << BIT_SHIFT_R_WMAC_BFINFO_20M_0_8733B)
#define BITS_R_WMAC_BFINFO_20M_0_8733B (BIT_MASK_R_WMAC_BFINFO_20M_0_8733B << BIT_SHIFT_R_WMAC_BFINFO_20M_0_8733B)
#define BIT_CLEAR_R_WMAC_BFINFO_20M_0_8733B(x) ((x) & (~BITS_R_WMAC_BFINFO_20M_0_8733B))
#define BIT_GET_R_WMAC_BFINFO_20M_0_8733B(x) (((x) >> BIT_SHIFT_R_WMAC_BFINFO_20M_0_8733B) & BIT_MASK_R_WMAC_BFINFO_20M_0_8733B)
#define BIT_SET_R_WMAC_BFINFO_20M_0_8733B(x, v) (BIT_CLEAR_R_WMAC_BFINFO_20M_0_8733B(x) | BIT_R_WMAC_BFINFO_20M_0_8733B(v))

/* 2 REG_ANTCD_INFO_8733B */

#define BIT_SHIFT_WMAC_RESP_ANTD_8733B 12
#define BIT_MASK_WMAC_RESP_ANTD_8733B 0xf
#define BIT_WMAC_RESP_ANTD_8733B(x) (((x) & BIT_MASK_WMAC_RESP_ANTD_8733B) << BIT_SHIFT_WMAC_RESP_ANTD_8733B)
#define BITS_WMAC_RESP_ANTD_8733B (BIT_MASK_WMAC_RESP_ANTD_8733B << BIT_SHIFT_WMAC_RESP_ANTD_8733B)
#define BIT_CLEAR_WMAC_RESP_ANTD_8733B(x) ((x) & (~BITS_WMAC_RESP_ANTD_8733B))
#define BIT_GET_WMAC_RESP_ANTD_8733B(x) (((x) >> BIT_SHIFT_WMAC_RESP_ANTD_8733B) & BIT_MASK_WMAC_RESP_ANTD_8733B)
#define BIT_SET_WMAC_RESP_ANTD_8733B(x, v) (BIT_CLEAR_WMAC_RESP_ANTD_8733B(x) | BIT_WMAC_RESP_ANTD_8733B(v))

#define BIT_SHIFT_WMAC_RESP_ANTC_8733B 8
#define BIT_MASK_WMAC_RESP_ANTC_8733B 0xf
#define BIT_WMAC_RESP_ANTC_8733B(x) (((x) & BIT_MASK_WMAC_RESP_ANTC_8733B) << BIT_SHIFT_WMAC_RESP_ANTC_8733B)
#define BITS_WMAC_RESP_ANTC_8733B (BIT_MASK_WMAC_RESP_ANTC_8733B << BIT_SHIFT_WMAC_RESP_ANTC_8733B)
#define BIT_CLEAR_WMAC_RESP_ANTC_8733B(x) ((x) & (~BITS_WMAC_RESP_ANTC_8733B))
#define BIT_GET_WMAC_RESP_ANTC_8733B(x) (((x) >> BIT_SHIFT_WMAC_RESP_ANTC_8733B) & BIT_MASK_WMAC_RESP_ANTC_8733B)
#define BIT_SET_WMAC_RESP_ANTC_8733B(x, v) (BIT_CLEAR_WMAC_RESP_ANTC_8733B(x) | BIT_WMAC_RESP_ANTC_8733B(v))

#define BIT_SHIFT_WMAC_RESP_ANTB_8733B 4
#define BIT_MASK_WMAC_RESP_ANTB_8733B 0xf
#define BIT_WMAC_RESP_ANTB_8733B(x) (((x) & BIT_MASK_WMAC_RESP_ANTB_8733B) << BIT_SHIFT_WMAC_RESP_ANTB_8733B)
#define BITS_WMAC_RESP_ANTB_8733B (BIT_MASK_WMAC_RESP_ANTB_8733B << BIT_SHIFT_WMAC_RESP_ANTB_8733B)
#define BIT_CLEAR_WMAC_RESP_ANTB_8733B(x) ((x) & (~BITS_WMAC_RESP_ANTB_8733B))
#define BIT_GET_WMAC_RESP_ANTB_8733B(x) (((x) >> BIT_SHIFT_WMAC_RESP_ANTB_8733B) & BIT_MASK_WMAC_RESP_ANTB_8733B)
#define BIT_SET_WMAC_RESP_ANTB_8733B(x, v) (BIT_CLEAR_WMAC_RESP_ANTB_8733B(x) | BIT_WMAC_RESP_ANTB_8733B(v))

#define BIT_SHIFT_WMAC_RESP_ANTA_8733B 0
#define BIT_MASK_WMAC_RESP_ANTA_8733B 0xf
#define BIT_WMAC_RESP_ANTA_8733B(x) (((x) & BIT_MASK_WMAC_RESP_ANTA_8733B) << BIT_SHIFT_WMAC_RESP_ANTA_8733B)
#define BITS_WMAC_RESP_ANTA_8733B (BIT_MASK_WMAC_RESP_ANTA_8733B << BIT_SHIFT_WMAC_RESP_ANTA_8733B)
#define BIT_CLEAR_WMAC_RESP_ANTA_8733B(x) ((x) & (~BITS_WMAC_RESP_ANTA_8733B))
#define BIT_GET_WMAC_RESP_ANTA_8733B(x) (((x) >> BIT_SHIFT_WMAC_RESP_ANTA_8733B) & BIT_MASK_WMAC_RESP_ANTA_8733B)
#define BIT_SET_WMAC_RESP_ANTA_8733B(x, v) (BIT_CLEAR_WMAC_RESP_ANTA_8733B(x) | BIT_WMAC_RESP_ANTA_8733B(v))

/* 2 REG_CSI_PTR_8733B */

#define BIT_SHIFT_CSI_RADDR_LATCH_V2_8733B 16
#define BIT_MASK_CSI_RADDR_LATCH_V2_8733B 0xffff
#define BIT_CSI_RADDR_LATCH_V2_8733B(x) (((x) & BIT_MASK_CSI_RADDR_LATCH_V2_8733B) << BIT_SHIFT_CSI_RADDR_LATCH_V2_8733B)
#define BITS_CSI_RADDR_LATCH_V2_8733B (BIT_MASK_CSI_RADDR_LATCH_V2_8733B << BIT_SHIFT_CSI_RADDR_LATCH_V2_8733B)
#define BIT_CLEAR_CSI_RADDR_LATCH_V2_8733B(x) ((x) & (~BITS_CSI_RADDR_LATCH_V2_8733B))
#define BIT_GET_CSI_RADDR_LATCH_V2_8733B(x) (((x) >> BIT_SHIFT_CSI_RADDR_LATCH_V2_8733B) & BIT_MASK_CSI_RADDR_LATCH_V2_8733B)
#define BIT_SET_CSI_RADDR_LATCH_V2_8733B(x, v) (BIT_CLEAR_CSI_RADDR_LATCH_V2_8733B(x) | BIT_CSI_RADDR_LATCH_V2_8733B(v))

#define BIT_SHIFT_CSI_WADDR_LATCH_V2_8733B 0
#define BIT_MASK_CSI_WADDR_LATCH_V2_8733B 0xffff
#define BIT_CSI_WADDR_LATCH_V2_8733B(x) (((x) & BIT_MASK_CSI_WADDR_LATCH_V2_8733B) << BIT_SHIFT_CSI_WADDR_LATCH_V2_8733B)
#define BITS_CSI_WADDR_LATCH_V2_8733B (BIT_MASK_CSI_WADDR_LATCH_V2_8733B << BIT_SHIFT_CSI_WADDR_LATCH_V2_8733B)
#define BIT_CLEAR_CSI_WADDR_LATCH_V2_8733B(x) ((x) & (~BITS_CSI_WADDR_LATCH_V2_8733B))
#define BIT_GET_CSI_WADDR_LATCH_V2_8733B(x) (((x) >> BIT_SHIFT_CSI_WADDR_LATCH_V2_8733B) & BIT_MASK_CSI_WADDR_LATCH_V2_8733B)
#define BIT_SET_CSI_WADDR_LATCH_V2_8733B(x, v) (BIT_CLEAR_CSI_WADDR_LATCH_V2_8733B(x) | BIT_CSI_WADDR_LATCH_V2_8733B(v))

/* 2 REG_BCN_PSR_RPT2_8733B (BEACON PARSER REPORT REGISTER2) */

#define BIT_SHIFT_DTIM_CNT2_8733B 24
#define BIT_MASK_DTIM_CNT2_8733B 0xff
#define BIT_DTIM_CNT2_8733B(x) (((x) & BIT_MASK_DTIM_CNT2_8733B) << BIT_SHIFT_DTIM_CNT2_8733B)
#define BITS_DTIM_CNT2_8733B (BIT_MASK_DTIM_CNT2_8733B << BIT_SHIFT_DTIM_CNT2_8733B)
#define BIT_CLEAR_DTIM_CNT2_8733B(x) ((x) & (~BITS_DTIM_CNT2_8733B))
#define BIT_GET_DTIM_CNT2_8733B(x) (((x) >> BIT_SHIFT_DTIM_CNT2_8733B) & BIT_MASK_DTIM_CNT2_8733B)
#define BIT_SET_DTIM_CNT2_8733B(x, v) (BIT_CLEAR_DTIM_CNT2_8733B(x) | BIT_DTIM_CNT2_8733B(v))

#define BIT_SHIFT_DTIM_PERIOD2_8733B 16
#define BIT_MASK_DTIM_PERIOD2_8733B 0xff
#define BIT_DTIM_PERIOD2_8733B(x) (((x) & BIT_MASK_DTIM_PERIOD2_8733B) << BIT_SHIFT_DTIM_PERIOD2_8733B)
#define BITS_DTIM_PERIOD2_8733B (BIT_MASK_DTIM_PERIOD2_8733B << BIT_SHIFT_DTIM_PERIOD2_8733B)
#define BIT_CLEAR_DTIM_PERIOD2_8733B(x) ((x) & (~BITS_DTIM_PERIOD2_8733B))
#define BIT_GET_DTIM_PERIOD2_8733B(x) (((x) >> BIT_SHIFT_DTIM_PERIOD2_8733B) & BIT_MASK_DTIM_PERIOD2_8733B)
#define BIT_SET_DTIM_PERIOD2_8733B(x, v) (BIT_CLEAR_DTIM_PERIOD2_8733B(x) | BIT_DTIM_PERIOD2_8733B(v))

#define BIT_DTIM2_8733B BIT(15)
#define BIT_TIM2_8733B BIT(14)
#define BIT_RPT_VALID_8733B BIT(13)

#define BIT_SHIFT_PS_AID_2_8733B 0
#define BIT_MASK_PS_AID_2_8733B 0x7ff
#define BIT_PS_AID_2_8733B(x) (((x) & BIT_MASK_PS_AID_2_8733B) << BIT_SHIFT_PS_AID_2_8733B)
#define BITS_PS_AID_2_8733B (BIT_MASK_PS_AID_2_8733B << BIT_SHIFT_PS_AID_2_8733B)
#define BIT_CLEAR_PS_AID_2_8733B(x) ((x) & (~BITS_PS_AID_2_8733B))
#define BIT_GET_PS_AID_2_8733B(x) (((x) >> BIT_SHIFT_PS_AID_2_8733B) & BIT_MASK_PS_AID_2_8733B)
#define BIT_SET_PS_AID_2_8733B(x, v) (BIT_CLEAR_PS_AID_2_8733B(x) | BIT_PS_AID_2_8733B(v))

/* 2 REG_BCN_PSR_RPT3_8733B (BEACON PARSER REPORT REGISTER3) */

#define BIT_SHIFT_DTIM_CNT3_8733B 24
#define BIT_MASK_DTIM_CNT3_8733B 0xff
#define BIT_DTIM_CNT3_8733B(x) (((x) & BIT_MASK_DTIM_CNT3_8733B) << BIT_SHIFT_DTIM_CNT3_8733B)
#define BITS_DTIM_CNT3_8733B (BIT_MASK_DTIM_CNT3_8733B << BIT_SHIFT_DTIM_CNT3_8733B)
#define BIT_CLEAR_DTIM_CNT3_8733B(x) ((x) & (~BITS_DTIM_CNT3_8733B))
#define BIT_GET_DTIM_CNT3_8733B(x) (((x) >> BIT_SHIFT_DTIM_CNT3_8733B) & BIT_MASK_DTIM_CNT3_8733B)
#define BIT_SET_DTIM_CNT3_8733B(x, v) (BIT_CLEAR_DTIM_CNT3_8733B(x) | BIT_DTIM_CNT3_8733B(v))

#define BIT_SHIFT_DTIM_PERIOD3_8733B 16
#define BIT_MASK_DTIM_PERIOD3_8733B 0xff
#define BIT_DTIM_PERIOD3_8733B(x) (((x) & BIT_MASK_DTIM_PERIOD3_8733B) << BIT_SHIFT_DTIM_PERIOD3_8733B)
#define BITS_DTIM_PERIOD3_8733B (BIT_MASK_DTIM_PERIOD3_8733B << BIT_SHIFT_DTIM_PERIOD3_8733B)
#define BIT_CLEAR_DTIM_PERIOD3_8733B(x) ((x) & (~BITS_DTIM_PERIOD3_8733B))
#define BIT_GET_DTIM_PERIOD3_8733B(x) (((x) >> BIT_SHIFT_DTIM_PERIOD3_8733B) & BIT_MASK_DTIM_PERIOD3_8733B)
#define BIT_SET_DTIM_PERIOD3_8733B(x, v) (BIT_CLEAR_DTIM_PERIOD3_8733B(x) | BIT_DTIM_PERIOD3_8733B(v))

#define BIT_DTIM3_8733B BIT(15)
#define BIT_TIM3_8733B BIT(14)
#define BIT_RPT_VALID_8733B BIT(13)

#define BIT_SHIFT_PS_AID_3_8733B 0
#define BIT_MASK_PS_AID_3_8733B 0x7ff
#define BIT_PS_AID_3_8733B(x) (((x) & BIT_MASK_PS_AID_3_8733B) << BIT_SHIFT_PS_AID_3_8733B)
#define BITS_PS_AID_3_8733B (BIT_MASK_PS_AID_3_8733B << BIT_SHIFT_PS_AID_3_8733B)
#define BIT_CLEAR_PS_AID_3_8733B(x) ((x) & (~BITS_PS_AID_3_8733B))
#define BIT_GET_PS_AID_3_8733B(x) (((x) >> BIT_SHIFT_PS_AID_3_8733B) & BIT_MASK_PS_AID_3_8733B)
#define BIT_SET_PS_AID_3_8733B(x, v) (BIT_CLEAR_PS_AID_3_8733B(x) | BIT_PS_AID_3_8733B(v))

/* 2 REG_BCN_PSR_RPT4_8733B (BEACON PARSER REPORT REGISTER4) */

#define BIT_SHIFT_DTIM_CNT4_8733B 24
#define BIT_MASK_DTIM_CNT4_8733B 0xff
#define BIT_DTIM_CNT4_8733B(x) (((x) & BIT_MASK_DTIM_CNT4_8733B) << BIT_SHIFT_DTIM_CNT4_8733B)
#define BITS_DTIM_CNT4_8733B (BIT_MASK_DTIM_CNT4_8733B << BIT_SHIFT_DTIM_CNT4_8733B)
#define BIT_CLEAR_DTIM_CNT4_8733B(x) ((x) & (~BITS_DTIM_CNT4_8733B))
#define BIT_GET_DTIM_CNT4_8733B(x) (((x) >> BIT_SHIFT_DTIM_CNT4_8733B) & BIT_MASK_DTIM_CNT4_8733B)
#define BIT_SET_DTIM_CNT4_8733B(x, v) (BIT_CLEAR_DTIM_CNT4_8733B(x) | BIT_DTIM_CNT4_8733B(v))

#define BIT_SHIFT_DTIM_PERIOD4_8733B 16
#define BIT_MASK_DTIM_PERIOD4_8733B 0xff
#define BIT_DTIM_PERIOD4_8733B(x) (((x) & BIT_MASK_DTIM_PERIOD4_8733B) << BIT_SHIFT_DTIM_PERIOD4_8733B)
#define BITS_DTIM_PERIOD4_8733B (BIT_MASK_DTIM_PERIOD4_8733B << BIT_SHIFT_DTIM_PERIOD4_8733B)
#define BIT_CLEAR_DTIM_PERIOD4_8733B(x) ((x) & (~BITS_DTIM_PERIOD4_8733B))
#define BIT_GET_DTIM_PERIOD4_8733B(x) (((x) >> BIT_SHIFT_DTIM_PERIOD4_8733B) & BIT_MASK_DTIM_PERIOD4_8733B)
#define BIT_SET_DTIM_PERIOD4_8733B(x, v) (BIT_CLEAR_DTIM_PERIOD4_8733B(x) | BIT_DTIM_PERIOD4_8733B(v))

#define BIT_DTIM4_8733B BIT(15)
#define BIT_TIM4_8733B BIT(14)
#define BIT_RPT_VALID_8733B BIT(13)

#define BIT_SHIFT_PS_AID_4_8733B 0
#define BIT_MASK_PS_AID_4_8733B 0x7ff
#define BIT_PS_AID_4_8733B(x) (((x) & BIT_MASK_PS_AID_4_8733B) << BIT_SHIFT_PS_AID_4_8733B)
#define BITS_PS_AID_4_8733B (BIT_MASK_PS_AID_4_8733B << BIT_SHIFT_PS_AID_4_8733B)
#define BIT_CLEAR_PS_AID_4_8733B(x) ((x) & (~BITS_PS_AID_4_8733B))
#define BIT_GET_PS_AID_4_8733B(x) (((x) >> BIT_SHIFT_PS_AID_4_8733B) & BIT_MASK_PS_AID_4_8733B)
#define BIT_SET_PS_AID_4_8733B(x, v) (BIT_CLEAR_PS_AID_4_8733B(x) | BIT_PS_AID_4_8733B(v))

/* 2 REG_A1_ADDR_MASK_8733B (A1 ADDR MASK REGISTER) */

#define BIT_SHIFT_A1_ADDR_MASK_8733B 0
#define BIT_MASK_A1_ADDR_MASK_8733B 0xffffffffL
#define BIT_A1_ADDR_MASK_8733B(x) (((x) & BIT_MASK_A1_ADDR_MASK_8733B) << BIT_SHIFT_A1_ADDR_MASK_8733B)
#define BITS_A1_ADDR_MASK_8733B (BIT_MASK_A1_ADDR_MASK_8733B << BIT_SHIFT_A1_ADDR_MASK_8733B)
#define BIT_CLEAR_A1_ADDR_MASK_8733B(x) ((x) & (~BITS_A1_ADDR_MASK_8733B))
#define BIT_GET_A1_ADDR_MASK_8733B(x) (((x) >> BIT_SHIFT_A1_ADDR_MASK_8733B) & BIT_MASK_A1_ADDR_MASK_8733B)
#define BIT_SET_A1_ADDR_MASK_8733B(x, v) (BIT_CLEAR_A1_ADDR_MASK_8733B(x) | BIT_A1_ADDR_MASK_8733B(v))

/* 2 REG_RXPSF_CTRL_8733B */
#define BIT_RXGCK_FIFOTHR_EN_8733B BIT(28)

#define BIT_SHIFT_RXGCK_VHT_FIFOTHR_8733B 26
#define BIT_MASK_RXGCK_VHT_FIFOTHR_8733B 0x3
#define BIT_RXGCK_VHT_FIFOTHR_8733B(x) (((x) & BIT_MASK_RXGCK_VHT_FIFOTHR_8733B) << BIT_SHIFT_RXGCK_VHT_FIFOTHR_8733B)
#define BITS_RXGCK_VHT_FIFOTHR_8733B (BIT_MASK_RXGCK_VHT_FIFOTHR_8733B << BIT_SHIFT_RXGCK_VHT_FIFOTHR_8733B)
#define BIT_CLEAR_RXGCK_VHT_FIFOTHR_8733B(x) ((x) & (~BITS_RXGCK_VHT_FIFOTHR_8733B))
#define BIT_GET_RXGCK_VHT_FIFOTHR_8733B(x) (((x) >> BIT_SHIFT_RXGCK_VHT_FIFOTHR_8733B) & BIT_MASK_RXGCK_VHT_FIFOTHR_8733B)
#define BIT_SET_RXGCK_VHT_FIFOTHR_8733B(x, v) (BIT_CLEAR_RXGCK_VHT_FIFOTHR_8733B(x) | BIT_RXGCK_VHT_FIFOTHR_8733B(v))

#define BIT_SHIFT_RXGCK_HT_FIFOTHR_8733B 24
#define BIT_MASK_RXGCK_HT_FIFOTHR_8733B 0x3
#define BIT_RXGCK_HT_FIFOTHR_8733B(x) (((x) & BIT_MASK_RXGCK_HT_FIFOTHR_8733B) << BIT_SHIFT_RXGCK_HT_FIFOTHR_8733B)
#define BITS_RXGCK_HT_FIFOTHR_8733B (BIT_MASK_RXGCK_HT_FIFOTHR_8733B << BIT_SHIFT_RXGCK_HT_FIFOTHR_8733B)
#define BIT_CLEAR_RXGCK_HT_FIFOTHR_8733B(x) ((x) & (~BITS_RXGCK_HT_FIFOTHR_8733B))
#define BIT_GET_RXGCK_HT_FIFOTHR_8733B(x) (((x) >> BIT_SHIFT_RXGCK_HT_FIFOTHR_8733B) & BIT_MASK_RXGCK_HT_FIFOTHR_8733B)
#define BIT_SET_RXGCK_HT_FIFOTHR_8733B(x, v) (BIT_CLEAR_RXGCK_HT_FIFOTHR_8733B(x) | BIT_RXGCK_HT_FIFOTHR_8733B(v))

#define BIT_SHIFT_RXGCK_OFDM_FIFOTHR_8733B 22
#define BIT_MASK_RXGCK_OFDM_FIFOTHR_8733B 0x3
#define BIT_RXGCK_OFDM_FIFOTHR_8733B(x) (((x) & BIT_MASK_RXGCK_OFDM_FIFOTHR_8733B) << BIT_SHIFT_RXGCK_OFDM_FIFOTHR_8733B)
#define BITS_RXGCK_OFDM_FIFOTHR_8733B (BIT_MASK_RXGCK_OFDM_FIFOTHR_8733B << BIT_SHIFT_RXGCK_OFDM_FIFOTHR_8733B)
#define BIT_CLEAR_RXGCK_OFDM_FIFOTHR_8733B(x) ((x) & (~BITS_RXGCK_OFDM_FIFOTHR_8733B))
#define BIT_GET_RXGCK_OFDM_FIFOTHR_8733B(x) (((x) >> BIT_SHIFT_RXGCK_OFDM_FIFOTHR_8733B) & BIT_MASK_RXGCK_OFDM_FIFOTHR_8733B)
#define BIT_SET_RXGCK_OFDM_FIFOTHR_8733B(x, v) (BIT_CLEAR_RXGCK_OFDM_FIFOTHR_8733B(x) | BIT_RXGCK_OFDM_FIFOTHR_8733B(v))

#define BIT_SHIFT_RXGCK_CCK_FIFOTHR_8733B 20
#define BIT_MASK_RXGCK_CCK_FIFOTHR_8733B 0x3
#define BIT_RXGCK_CCK_FIFOTHR_8733B(x) (((x) & BIT_MASK_RXGCK_CCK_FIFOTHR_8733B) << BIT_SHIFT_RXGCK_CCK_FIFOTHR_8733B)
#define BITS_RXGCK_CCK_FIFOTHR_8733B (BIT_MASK_RXGCK_CCK_FIFOTHR_8733B << BIT_SHIFT_RXGCK_CCK_FIFOTHR_8733B)
#define BIT_CLEAR_RXGCK_CCK_FIFOTHR_8733B(x) ((x) & (~BITS_RXGCK_CCK_FIFOTHR_8733B))
#define BIT_GET_RXGCK_CCK_FIFOTHR_8733B(x) (((x) >> BIT_SHIFT_RXGCK_CCK_FIFOTHR_8733B) & BIT_MASK_RXGCK_CCK_FIFOTHR_8733B)
#define BIT_SET_RXGCK_CCK_FIFOTHR_8733B(x, v) (BIT_CLEAR_RXGCK_CCK_FIFOTHR_8733B(x) | BIT_RXGCK_CCK_FIFOTHR_8733B(v))

#define BIT_SHIFT_RXGCK_ENTRY_DELAY_8733B 17
#define BIT_MASK_RXGCK_ENTRY_DELAY_8733B 0x7
#define BIT_RXGCK_ENTRY_DELAY_8733B(x) (((x) & BIT_MASK_RXGCK_ENTRY_DELAY_8733B) << BIT_SHIFT_RXGCK_ENTRY_DELAY_8733B)
#define BITS_RXGCK_ENTRY_DELAY_8733B (BIT_MASK_RXGCK_ENTRY_DELAY_8733B << BIT_SHIFT_RXGCK_ENTRY_DELAY_8733B)
#define BIT_CLEAR_RXGCK_ENTRY_DELAY_8733B(x) ((x) & (~BITS_RXGCK_ENTRY_DELAY_8733B))
#define BIT_GET_RXGCK_ENTRY_DELAY_8733B(x) (((x) >> BIT_SHIFT_RXGCK_ENTRY_DELAY_8733B) & BIT_MASK_RXGCK_ENTRY_DELAY_8733B)
#define BIT_SET_RXGCK_ENTRY_DELAY_8733B(x, v) (BIT_CLEAR_RXGCK_ENTRY_DELAY_8733B(x) | BIT_RXGCK_ENTRY_DELAY_8733B(v))

#define BIT_RXGCK_OFDMCCA_EN_8733B BIT(16)

#define BIT_SHIFT_RXPSF_PKTLENTHR_8733B 13
#define BIT_MASK_RXPSF_PKTLENTHR_8733B 0x7
#define BIT_RXPSF_PKTLENTHR_8733B(x) (((x) & BIT_MASK_RXPSF_PKTLENTHR_8733B) << BIT_SHIFT_RXPSF_PKTLENTHR_8733B)
#define BITS_RXPSF_PKTLENTHR_8733B (BIT_MASK_RXPSF_PKTLENTHR_8733B << BIT_SHIFT_RXPSF_PKTLENTHR_8733B)
#define BIT_CLEAR_RXPSF_PKTLENTHR_8733B(x) ((x) & (~BITS_RXPSF_PKTLENTHR_8733B))
#define BIT_GET_RXPSF_PKTLENTHR_8733B(x) (((x) >> BIT_SHIFT_RXPSF_PKTLENTHR_8733B) & BIT_MASK_RXPSF_PKTLENTHR_8733B)
#define BIT_SET_RXPSF_PKTLENTHR_8733B(x, v) (BIT_CLEAR_RXPSF_PKTLENTHR_8733B(x) | BIT_RXPSF_PKTLENTHR_8733B(v))

#define BIT_RXPSF_CTRLEN_8733B BIT(12)
#define BIT_RXPSF_VHTCHKEN_8733B BIT(11)
#define BIT_RXPSF_HTCHKEN_8733B BIT(10)
#define BIT_RXPSF_OFDMCHKEN_8733B BIT(9)
#define BIT_RXPSF_CCKCHKEN_8733B BIT(8)
#define BIT_RXPSF_OFDMRST_8733B BIT(7)
#define BIT_RXPSF_CCKRST_8733B BIT(6)
#define BIT_RXPSF_MHCHKEN_8733B BIT(5)
#define BIT_RXPSF_CONT_ERRCHKEN_8733B BIT(4)
#define BIT_RXPSF_ALL_ERRCHKEN_8733B BIT(3)

#define BIT_SHIFT_RXPSF_ERRTHR_8733B 0
#define BIT_MASK_RXPSF_ERRTHR_8733B 0x7
#define BIT_RXPSF_ERRTHR_8733B(x) (((x) & BIT_MASK_RXPSF_ERRTHR_8733B) << BIT_SHIFT_RXPSF_ERRTHR_8733B)
#define BITS_RXPSF_ERRTHR_8733B (BIT_MASK_RXPSF_ERRTHR_8733B << BIT_SHIFT_RXPSF_ERRTHR_8733B)
#define BIT_CLEAR_RXPSF_ERRTHR_8733B(x) ((x) & (~BITS_RXPSF_ERRTHR_8733B))
#define BIT_GET_RXPSF_ERRTHR_8733B(x) (((x) >> BIT_SHIFT_RXPSF_ERRTHR_8733B) & BIT_MASK_RXPSF_ERRTHR_8733B)
#define BIT_SET_RXPSF_ERRTHR_8733B(x, v) (BIT_CLEAR_RXPSF_ERRTHR_8733B(x) | BIT_RXPSF_ERRTHR_8733B(v))

/* 2 REG_RXPSF_TYPE_CTRL_8733B */
#define BIT_RXPSF_DATA15EN_8733B BIT(31)
#define BIT_RXPSF_DATA14EN_8733B BIT(30)
#define BIT_RXPSF_DATA13EN_8733B BIT(29)
#define BIT_RXPSF_DATA12EN_8733B BIT(28)
#define BIT_RXPSF_DATA11EN_8733B BIT(27)
#define BIT_RXPSF_DATA10EN_8733B BIT(26)
#define BIT_RXPSF_DATA9EN_8733B BIT(25)
#define BIT_RXPSF_DATA8EN_8733B BIT(24)
#define BIT_RXPSF_DATA7EN_8733B BIT(23)
#define BIT_RXPSF_DATA6EN_8733B BIT(22)
#define BIT_RXPSF_DATA5EN_8733B BIT(21)
#define BIT_RXPSF_DATA4EN_8733B BIT(20)
#define BIT_RXPSF_DATA3EN_8733B BIT(19)
#define BIT_RXPSF_DATA2EN_8733B BIT(18)
#define BIT_RXPSF_DATA1EN_8733B BIT(17)
#define BIT_RXPSF_DATA0EN_8733B BIT(16)
#define BIT_RXPSF_MGT15EN_8733B BIT(15)
#define BIT_RXPSF_MGT14EN_8733B BIT(14)
#define BIT_RXPSF_MGT13EN_8733B BIT(13)
#define BIT_RXPSF_MGT12EN_8733B BIT(12)
#define BIT_RXPSF_MGT11EN_8733B BIT(11)
#define BIT_RXPSF_MGT10EN_8733B BIT(10)
#define BIT_RXPSF_MGT9EN_8733B BIT(9)
#define BIT_RXPSF_MGT8EN_8733B BIT(8)
#define BIT_RXPSF_MGT7EN_8733B BIT(7)
#define BIT_RXPSF_MGT6EN_8733B BIT(6)
#define BIT_RXPSF_MGT5EN_8733B BIT(5)
#define BIT_RXPSF_MGT4EN_8733B BIT(4)
#define BIT_RXPSF_MGT3EN_8733B BIT(3)
#define BIT_RXPSF_MGT2EN_8733B BIT(2)
#define BIT_RXPSF_MGT1EN_8733B BIT(1)
#define BIT_RXPSF_MGT0EN_8733B BIT(0)

/* 2 REG_WAIT_PHYSTS_CTL_8733B */
#define BIT_BB_RST_RESP_8733B BIT(7)
#define BIT_CCA_SPOOFING_EN_8733B BIT(6)
#define BIT_RDRDY_NUM_CHK_EN_8733B BIT(5)
#define BIT_WAIT_PHYSTS_EN_8733B BIT(4)

#define BIT_SHIFT_WAIT_PHYSTS_TIME_8733B 0
#define BIT_MASK_WAIT_PHYSTS_TIME_8733B 0xf
#define BIT_WAIT_PHYSTS_TIME_8733B(x) (((x) & BIT_MASK_WAIT_PHYSTS_TIME_8733B) << BIT_SHIFT_WAIT_PHYSTS_TIME_8733B)
#define BITS_WAIT_PHYSTS_TIME_8733B (BIT_MASK_WAIT_PHYSTS_TIME_8733B << BIT_SHIFT_WAIT_PHYSTS_TIME_8733B)
#define BIT_CLEAR_WAIT_PHYSTS_TIME_8733B(x) ((x) & (~BITS_WAIT_PHYSTS_TIME_8733B))
#define BIT_GET_WAIT_PHYSTS_TIME_8733B(x) (((x) >> BIT_SHIFT_WAIT_PHYSTS_TIME_8733B) & BIT_MASK_WAIT_PHYSTS_TIME_8733B)
#define BIT_SET_WAIT_PHYSTS_TIME_8733B(x, v) (BIT_CLEAR_WAIT_PHYSTS_TIME_8733B(x) | BIT_WAIT_PHYSTS_TIME_8733B(v))

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_MACID2_8733B (MAC ID2 REGISTER) */

#define BIT_SHIFT_MACID2_V1_8733B 0
#define BIT_MASK_MACID2_V1_8733B 0xffffffffL
#define BIT_MACID2_V1_8733B(x) (((x) & BIT_MASK_MACID2_V1_8733B) << BIT_SHIFT_MACID2_V1_8733B)
#define BITS_MACID2_V1_8733B (BIT_MASK_MACID2_V1_8733B << BIT_SHIFT_MACID2_V1_8733B)
#define BIT_CLEAR_MACID2_V1_8733B(x) ((x) & (~BITS_MACID2_V1_8733B))
#define BIT_GET_MACID2_V1_8733B(x) (((x) >> BIT_SHIFT_MACID2_V1_8733B) & BIT_MASK_MACID2_V1_8733B)
#define BIT_SET_MACID2_V1_8733B(x, v) (BIT_CLEAR_MACID2_V1_8733B(x) | BIT_MACID2_V1_8733B(v))

/* 2 REG_MACID2_H_8733B (MAC ID2 REGISTER) */

#define BIT_SHIFT_MACID2_H_V1_8733B 0
#define BIT_MASK_MACID2_H_V1_8733B 0xffff
#define BIT_MACID2_H_V1_8733B(x) (((x) & BIT_MASK_MACID2_H_V1_8733B) << BIT_SHIFT_MACID2_H_V1_8733B)
#define BITS_MACID2_H_V1_8733B (BIT_MASK_MACID2_H_V1_8733B << BIT_SHIFT_MACID2_H_V1_8733B)
#define BIT_CLEAR_MACID2_H_V1_8733B(x) ((x) & (~BITS_MACID2_H_V1_8733B))
#define BIT_GET_MACID2_H_V1_8733B(x) (((x) >> BIT_SHIFT_MACID2_H_V1_8733B) & BIT_MASK_MACID2_H_V1_8733B)
#define BIT_SET_MACID2_H_V1_8733B(x, v) (BIT_CLEAR_MACID2_H_V1_8733B(x) | BIT_MACID2_H_V1_8733B(v))

/* 2 REG_BSSID2_8733B (BSSID2 REGISTER) */

#define BIT_SHIFT_BSSID2_V1_8733B 0
#define BIT_MASK_BSSID2_V1_8733B 0xffffffffL
#define BIT_BSSID2_V1_8733B(x) (((x) & BIT_MASK_BSSID2_V1_8733B) << BIT_SHIFT_BSSID2_V1_8733B)
#define BITS_BSSID2_V1_8733B (BIT_MASK_BSSID2_V1_8733B << BIT_SHIFT_BSSID2_V1_8733B)
#define BIT_CLEAR_BSSID2_V1_8733B(x) ((x) & (~BITS_BSSID2_V1_8733B))
#define BIT_GET_BSSID2_V1_8733B(x) (((x) >> BIT_SHIFT_BSSID2_V1_8733B) & BIT_MASK_BSSID2_V1_8733B)
#define BIT_SET_BSSID2_V1_8733B(x, v) (BIT_CLEAR_BSSID2_V1_8733B(x) | BIT_BSSID2_V1_8733B(v))

/* 2 REG_BSSID2_H_8733B (BSSID2 REGISTER) */

#define BIT_SHIFT_BSSID2_H_V1_8733B 0
#define BIT_MASK_BSSID2_H_V1_8733B 0xffff
#define BIT_BSSID2_H_V1_8733B(x) (((x) & BIT_MASK_BSSID2_H_V1_8733B) << BIT_SHIFT_BSSID2_H_V1_8733B)
#define BITS_BSSID2_H_V1_8733B (BIT_MASK_BSSID2_H_V1_8733B << BIT_SHIFT_BSSID2_H_V1_8733B)
#define BIT_CLEAR_BSSID2_H_V1_8733B(x) ((x) & (~BITS_BSSID2_H_V1_8733B))
#define BIT_GET_BSSID2_H_V1_8733B(x) (((x) >> BIT_SHIFT_BSSID2_H_V1_8733B) & BIT_MASK_BSSID2_H_V1_8733B)
#define BIT_SET_BSSID2_H_V1_8733B(x, v) (BIT_CLEAR_BSSID2_H_V1_8733B(x) | BIT_BSSID2_H_V1_8733B(v))

/* 2 REG_MACID3_8733B (MAC ID3 REGISTER) */

#define BIT_SHIFT_MACID3_V1_8733B 0
#define BIT_MASK_MACID3_V1_8733B 0xffffffffL
#define BIT_MACID3_V1_8733B(x) (((x) & BIT_MASK_MACID3_V1_8733B) << BIT_SHIFT_MACID3_V1_8733B)
#define BITS_MACID3_V1_8733B (BIT_MASK_MACID3_V1_8733B << BIT_SHIFT_MACID3_V1_8733B)
#define BIT_CLEAR_MACID3_V1_8733B(x) ((x) & (~BITS_MACID3_V1_8733B))
#define BIT_GET_MACID3_V1_8733B(x) (((x) >> BIT_SHIFT_MACID3_V1_8733B) & BIT_MASK_MACID3_V1_8733B)
#define BIT_SET_MACID3_V1_8733B(x, v) (BIT_CLEAR_MACID3_V1_8733B(x) | BIT_MACID3_V1_8733B(v))

/* 2 REG_MACID3_H_8733B (MAC ID3 REGISTER) */

#define BIT_SHIFT_MACID3_H_V1_8733B 0
#define BIT_MASK_MACID3_H_V1_8733B 0xffff
#define BIT_MACID3_H_V1_8733B(x) (((x) & BIT_MASK_MACID3_H_V1_8733B) << BIT_SHIFT_MACID3_H_V1_8733B)
#define BITS_MACID3_H_V1_8733B (BIT_MASK_MACID3_H_V1_8733B << BIT_SHIFT_MACID3_H_V1_8733B)
#define BIT_CLEAR_MACID3_H_V1_8733B(x) ((x) & (~BITS_MACID3_H_V1_8733B))
#define BIT_GET_MACID3_H_V1_8733B(x) (((x) >> BIT_SHIFT_MACID3_H_V1_8733B) & BIT_MASK_MACID3_H_V1_8733B)
#define BIT_SET_MACID3_H_V1_8733B(x, v) (BIT_CLEAR_MACID3_H_V1_8733B(x) | BIT_MACID3_H_V1_8733B(v))

/* 2 REG_BSSID3_8733B (BSSID3 REGISTER) */

#define BIT_SHIFT_BSSID3_V1_8733B 0
#define BIT_MASK_BSSID3_V1_8733B 0xffffffffL
#define BIT_BSSID3_V1_8733B(x) (((x) & BIT_MASK_BSSID3_V1_8733B) << BIT_SHIFT_BSSID3_V1_8733B)
#define BITS_BSSID3_V1_8733B (BIT_MASK_BSSID3_V1_8733B << BIT_SHIFT_BSSID3_V1_8733B)
#define BIT_CLEAR_BSSID3_V1_8733B(x) ((x) & (~BITS_BSSID3_V1_8733B))
#define BIT_GET_BSSID3_V1_8733B(x) (((x) >> BIT_SHIFT_BSSID3_V1_8733B) & BIT_MASK_BSSID3_V1_8733B)
#define BIT_SET_BSSID3_V1_8733B(x, v) (BIT_CLEAR_BSSID3_V1_8733B(x) | BIT_BSSID3_V1_8733B(v))

/* 2 REG_BSSID3_H_8733B (BSSID3 REGISTER) */

#define BIT_SHIFT_BSSID3_H_V1_8733B 0
#define BIT_MASK_BSSID3_H_V1_8733B 0xffff
#define BIT_BSSID3_H_V1_8733B(x) (((x) & BIT_MASK_BSSID3_H_V1_8733B) << BIT_SHIFT_BSSID3_H_V1_8733B)
#define BITS_BSSID3_H_V1_8733B (BIT_MASK_BSSID3_H_V1_8733B << BIT_SHIFT_BSSID3_H_V1_8733B)
#define BIT_CLEAR_BSSID3_H_V1_8733B(x) ((x) & (~BITS_BSSID3_H_V1_8733B))
#define BIT_GET_BSSID3_H_V1_8733B(x) (((x) >> BIT_SHIFT_BSSID3_H_V1_8733B) & BIT_MASK_BSSID3_H_V1_8733B)
#define BIT_SET_BSSID3_H_V1_8733B(x, v) (BIT_CLEAR_BSSID3_H_V1_8733B(x) | BIT_BSSID3_H_V1_8733B(v))

/* 2 REG_MACID4_8733B (MAC ID4 REGISTER) */

#define BIT_SHIFT_MACID4_V1_8733B 0
#define BIT_MASK_MACID4_V1_8733B 0xffffffffL
#define BIT_MACID4_V1_8733B(x) (((x) & BIT_MASK_MACID4_V1_8733B) << BIT_SHIFT_MACID4_V1_8733B)
#define BITS_MACID4_V1_8733B (BIT_MASK_MACID4_V1_8733B << BIT_SHIFT_MACID4_V1_8733B)
#define BIT_CLEAR_MACID4_V1_8733B(x) ((x) & (~BITS_MACID4_V1_8733B))
#define BIT_GET_MACID4_V1_8733B(x) (((x) >> BIT_SHIFT_MACID4_V1_8733B) & BIT_MASK_MACID4_V1_8733B)
#define BIT_SET_MACID4_V1_8733B(x, v) (BIT_CLEAR_MACID4_V1_8733B(x) | BIT_MACID4_V1_8733B(v))

/* 2 REG_MACID4_H_8733B (MAC ID4 REGISTER) */

#define BIT_SHIFT_MACID4_H_V1_8733B 0
#define BIT_MASK_MACID4_H_V1_8733B 0xffff
#define BIT_MACID4_H_V1_8733B(x) (((x) & BIT_MASK_MACID4_H_V1_8733B) << BIT_SHIFT_MACID4_H_V1_8733B)
#define BITS_MACID4_H_V1_8733B (BIT_MASK_MACID4_H_V1_8733B << BIT_SHIFT_MACID4_H_V1_8733B)
#define BIT_CLEAR_MACID4_H_V1_8733B(x) ((x) & (~BITS_MACID4_H_V1_8733B))
#define BIT_GET_MACID4_H_V1_8733B(x) (((x) >> BIT_SHIFT_MACID4_H_V1_8733B) & BIT_MASK_MACID4_H_V1_8733B)
#define BIT_SET_MACID4_H_V1_8733B(x, v) (BIT_CLEAR_MACID4_H_V1_8733B(x) | BIT_MACID4_H_V1_8733B(v))

/* 2 REG_BSSID4_8733B (BSSID4 REGISTER) */

#define BIT_SHIFT_BSSID4_V1_8733B 0
#define BIT_MASK_BSSID4_V1_8733B 0xffffffffL
#define BIT_BSSID4_V1_8733B(x) (((x) & BIT_MASK_BSSID4_V1_8733B) << BIT_SHIFT_BSSID4_V1_8733B)
#define BITS_BSSID4_V1_8733B (BIT_MASK_BSSID4_V1_8733B << BIT_SHIFT_BSSID4_V1_8733B)
#define BIT_CLEAR_BSSID4_V1_8733B(x) ((x) & (~BITS_BSSID4_V1_8733B))
#define BIT_GET_BSSID4_V1_8733B(x) (((x) >> BIT_SHIFT_BSSID4_V1_8733B) & BIT_MASK_BSSID4_V1_8733B)
#define BIT_SET_BSSID4_V1_8733B(x, v) (BIT_CLEAR_BSSID4_V1_8733B(x) | BIT_BSSID4_V1_8733B(v))

/* 2 REG_BSSID4_H_8733B (BSSID4 REGISTER) */

#define BIT_SHIFT_BSSID4_H_V1_8733B 0
#define BIT_MASK_BSSID4_H_V1_8733B 0xffff
#define BIT_BSSID4_H_V1_8733B(x) (((x) & BIT_MASK_BSSID4_H_V1_8733B) << BIT_SHIFT_BSSID4_H_V1_8733B)
#define BITS_BSSID4_H_V1_8733B (BIT_MASK_BSSID4_H_V1_8733B << BIT_SHIFT_BSSID4_H_V1_8733B)
#define BIT_CLEAR_BSSID4_H_V1_8733B(x) ((x) & (~BITS_BSSID4_H_V1_8733B))
#define BIT_GET_BSSID4_H_V1_8733B(x) (((x) >> BIT_SHIFT_BSSID4_H_V1_8733B) & BIT_MASK_BSSID4_H_V1_8733B)
#define BIT_SET_BSSID4_H_V1_8733B(x, v) (BIT_CLEAR_BSSID4_H_V1_8733B(x) | BIT_BSSID4_H_V1_8733B(v))

/* 2 REG_NOA_REPORT_8733B */

#define BIT_SHIFT_NOA_RPT_8733B 0
#define BIT_MASK_NOA_RPT_8733B 0xffffffffL
#define BIT_NOA_RPT_8733B(x) (((x) & BIT_MASK_NOA_RPT_8733B) << BIT_SHIFT_NOA_RPT_8733B)
#define BITS_NOA_RPT_8733B (BIT_MASK_NOA_RPT_8733B << BIT_SHIFT_NOA_RPT_8733B)
#define BIT_CLEAR_NOA_RPT_8733B(x) ((x) & (~BITS_NOA_RPT_8733B))
#define BIT_GET_NOA_RPT_8733B(x) (((x) >> BIT_SHIFT_NOA_RPT_8733B) & BIT_MASK_NOA_RPT_8733B)
#define BIT_SET_NOA_RPT_8733B(x, v) (BIT_CLEAR_NOA_RPT_8733B(x) | BIT_NOA_RPT_8733B(v))

/* 2 REG_NOA_REPORT_1_8733B */

#define BIT_SHIFT_NOA_RPT_1_8733B 0
#define BIT_MASK_NOA_RPT_1_8733B 0xffffffffL
#define BIT_NOA_RPT_1_8733B(x) (((x) & BIT_MASK_NOA_RPT_1_8733B) << BIT_SHIFT_NOA_RPT_1_8733B)
#define BITS_NOA_RPT_1_8733B (BIT_MASK_NOA_RPT_1_8733B << BIT_SHIFT_NOA_RPT_1_8733B)
#define BIT_CLEAR_NOA_RPT_1_8733B(x) ((x) & (~BITS_NOA_RPT_1_8733B))
#define BIT_GET_NOA_RPT_1_8733B(x) (((x) >> BIT_SHIFT_NOA_RPT_1_8733B) & BIT_MASK_NOA_RPT_1_8733B)
#define BIT_SET_NOA_RPT_1_8733B(x, v) (BIT_CLEAR_NOA_RPT_1_8733B(x) | BIT_NOA_RPT_1_8733B(v))

/* 2 REG_NOA_REPORT_2_8733B */

#define BIT_SHIFT_NOA_RPT_2_8733B 0
#define BIT_MASK_NOA_RPT_2_8733B 0xffffffffL
#define BIT_NOA_RPT_2_8733B(x) (((x) & BIT_MASK_NOA_RPT_2_8733B) << BIT_SHIFT_NOA_RPT_2_8733B)
#define BITS_NOA_RPT_2_8733B (BIT_MASK_NOA_RPT_2_8733B << BIT_SHIFT_NOA_RPT_2_8733B)
#define BIT_CLEAR_NOA_RPT_2_8733B(x) ((x) & (~BITS_NOA_RPT_2_8733B))
#define BIT_GET_NOA_RPT_2_8733B(x) (((x) >> BIT_SHIFT_NOA_RPT_2_8733B) & BIT_MASK_NOA_RPT_2_8733B)
#define BIT_SET_NOA_RPT_2_8733B(x, v) (BIT_CLEAR_NOA_RPT_2_8733B(x) | BIT_NOA_RPT_2_8733B(v))

/* 2 REG_NOA_REPORT_3_8733B */

#define BIT_SHIFT_NOA_RPT_3_8733B 0
#define BIT_MASK_NOA_RPT_3_8733B 0xff
#define BIT_NOA_RPT_3_8733B(x) (((x) & BIT_MASK_NOA_RPT_3_8733B) << BIT_SHIFT_NOA_RPT_3_8733B)
#define BITS_NOA_RPT_3_8733B (BIT_MASK_NOA_RPT_3_8733B << BIT_SHIFT_NOA_RPT_3_8733B)
#define BIT_CLEAR_NOA_RPT_3_8733B(x) ((x) & (~BITS_NOA_RPT_3_8733B))
#define BIT_GET_NOA_RPT_3_8733B(x) (((x) >> BIT_SHIFT_NOA_RPT_3_8733B) & BIT_MASK_NOA_RPT_3_8733B)
#define BIT_SET_NOA_RPT_3_8733B(x, v) (BIT_CLEAR_NOA_RPT_3_8733B(x) | BIT_NOA_RPT_3_8733B(v))

/* 2 REG_PWRBIT_SETTING_8733B */
#define BIT_CLI3_PWRBIT_OW_EN_8733B BIT(7)
#define BIT_CLI3_PWR_ST_8733B BIT(6)
#define BIT_CLI2_PWRBIT_OW_EN_8733B BIT(5)
#define BIT_CLI2_PWR_ST_8733B BIT(4)
#define BIT_CLI1_PWRBIT_OW_EN_8733B BIT(3)
#define BIT_CLI1_PWR_ST_8733B BIT(2)
#define BIT_CLI0_PWRBIT_OW_EN_8733B BIT(1)
#define BIT_CLI0_PWR_ST_8733B BIT(0)

/* 2 REG_GENERAL_OPTION_8733B */
#define BIT_EXT_DBGSEL_8733B BIT(6)
#define BIT_TXSERV_FIELD_SEL_8733B BIT(2)

/* 2 REG_RXAI_CTRL_8733B */
#define BIT_RXAI_INFO_RST_8733B BIT(7)
#define BIT_RXAI_PRTCT_REL_8733B BIT(6)
#define BIT_RXAI_PRTCT_VIO_8733B BIT(5)
#define BIT_RXAI_PRTCT_SEL_8733B BIT(2)
#define BIT_RXAI_AGG_CHKEN_8733B BIT(1)
#define BIT_RXAI_ADDR_CHKEN_8733B BIT(0)

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_CSI_RRSR_8733B */
#define BIT_CSI_LDPC_EN_8733B BIT(29)
#define BIT_CSI_STBC_EN_8733B BIT(28)

#define BIT_SHIFT_CSI_RRSC_BITMAP_8733B 4
#define BIT_MASK_CSI_RRSC_BITMAP_8733B 0xffffff
#define BIT_CSI_RRSC_BITMAP_8733B(x) (((x) & BIT_MASK_CSI_RRSC_BITMAP_8733B) << BIT_SHIFT_CSI_RRSC_BITMAP_8733B)
#define BITS_CSI_RRSC_BITMAP_8733B (BIT_MASK_CSI_RRSC_BITMAP_8733B << BIT_SHIFT_CSI_RRSC_BITMAP_8733B)
#define BIT_CLEAR_CSI_RRSC_BITMAP_8733B(x) ((x) & (~BITS_CSI_RRSC_BITMAP_8733B))
#define BIT_GET_CSI_RRSC_BITMAP_8733B(x) (((x) >> BIT_SHIFT_CSI_RRSC_BITMAP_8733B) & BIT_MASK_CSI_RRSC_BITMAP_8733B)
#define BIT_SET_CSI_RRSC_BITMAP_8733B(x, v) (BIT_CLEAR_CSI_RRSC_BITMAP_8733B(x) | BIT_CSI_RRSC_BITMAP_8733B(v))

#define BIT_SHIFT_OFDM_LEN_TH_V1_8733B 0
#define BIT_MASK_OFDM_LEN_TH_V1_8733B 0xf
#define BIT_OFDM_LEN_TH_V1_8733B(x) (((x) & BIT_MASK_OFDM_LEN_TH_V1_8733B) << BIT_SHIFT_OFDM_LEN_TH_V1_8733B)
#define BITS_OFDM_LEN_TH_V1_8733B (BIT_MASK_OFDM_LEN_TH_V1_8733B << BIT_SHIFT_OFDM_LEN_TH_V1_8733B)
#define BIT_CLEAR_OFDM_LEN_TH_V1_8733B(x) ((x) & (~BITS_OFDM_LEN_TH_V1_8733B))
#define BIT_GET_OFDM_LEN_TH_V1_8733B(x) (((x) >> BIT_SHIFT_OFDM_LEN_TH_V1_8733B) & BIT_MASK_OFDM_LEN_TH_V1_8733B)
#define BIT_SET_OFDM_LEN_TH_V1_8733B(x, v) (BIT_CLEAR_OFDM_LEN_TH_V1_8733B(x) | BIT_OFDM_LEN_TH_V1_8733B(v))

/* 2 REG_MU_BF_OPTION_8733B */
#define BIT_WMAC_RESP_NONSTA1_DIS_8733B BIT(7)

#define BIT_SHIFT_WMAC_MU_BFEE_PORT_SEL_8733B 1
#define BIT_MASK_WMAC_MU_BFEE_PORT_SEL_8733B 0x7
#define BIT_WMAC_MU_BFEE_PORT_SEL_8733B(x) (((x) & BIT_MASK_WMAC_MU_BFEE_PORT_SEL_8733B) << BIT_SHIFT_WMAC_MU_BFEE_PORT_SEL_8733B)
#define BITS_WMAC_MU_BFEE_PORT_SEL_8733B (BIT_MASK_WMAC_MU_BFEE_PORT_SEL_8733B << BIT_SHIFT_WMAC_MU_BFEE_PORT_SEL_8733B)
#define BIT_CLEAR_WMAC_MU_BFEE_PORT_SEL_8733B(x) ((x) & (~BITS_WMAC_MU_BFEE_PORT_SEL_8733B))
#define BIT_GET_WMAC_MU_BFEE_PORT_SEL_8733B(x) (((x) >> BIT_SHIFT_WMAC_MU_BFEE_PORT_SEL_8733B) & BIT_MASK_WMAC_MU_BFEE_PORT_SEL_8733B)
#define BIT_SET_WMAC_MU_BFEE_PORT_SEL_8733B(x, v) (BIT_CLEAR_WMAC_MU_BFEE_PORT_SEL_8733B(x) | BIT_WMAC_MU_BFEE_PORT_SEL_8733B(v))

#define BIT_WMAC_MU_BFEE_DIS_8733B BIT(0)

/* 2 REG_WMAC_PAUSE_BB_CLR_TH_8733B */

#define BIT_SHIFT_WMAC_PAUSE_BB_CLR_TH_8733B 0
#define BIT_MASK_WMAC_PAUSE_BB_CLR_TH_8733B 0xff
#define BIT_WMAC_PAUSE_BB_CLR_TH_8733B(x) (((x) & BIT_MASK_WMAC_PAUSE_BB_CLR_TH_8733B) << BIT_SHIFT_WMAC_PAUSE_BB_CLR_TH_8733B)
#define BITS_WMAC_PAUSE_BB_CLR_TH_8733B (BIT_MASK_WMAC_PAUSE_BB_CLR_TH_8733B << BIT_SHIFT_WMAC_PAUSE_BB_CLR_TH_8733B)
#define BIT_CLEAR_WMAC_PAUSE_BB_CLR_TH_8733B(x) ((x) & (~BITS_WMAC_PAUSE_BB_CLR_TH_8733B))
#define BIT_GET_WMAC_PAUSE_BB_CLR_TH_8733B(x) (((x) >> BIT_SHIFT_WMAC_PAUSE_BB_CLR_TH_8733B) & BIT_MASK_WMAC_PAUSE_BB_CLR_TH_8733B)
#define BIT_SET_WMAC_PAUSE_BB_CLR_TH_8733B(x, v) (BIT_CLEAR_WMAC_PAUSE_BB_CLR_TH_8733B(x) | BIT_WMAC_PAUSE_BB_CLR_TH_8733B(v))

/* 2 REG_WMAC_ARB_CLR_8733B */
#define BIT_ARB_HW_ADAPT_EN_8733B BIT(7)
#define BIT_ARB_SW_EN_8733B BIT(6)

#define BIT_SHIFT_ARB_SW_STATE_8733B 0
#define BIT_MASK_ARB_SW_STATE_8733B 0x3f
#define BIT_ARB_SW_STATE_8733B(x) (((x) & BIT_MASK_ARB_SW_STATE_8733B) << BIT_SHIFT_ARB_SW_STATE_8733B)
#define BITS_ARB_SW_STATE_8733B (BIT_MASK_ARB_SW_STATE_8733B << BIT_SHIFT_ARB_SW_STATE_8733B)
#define BIT_CLEAR_ARB_SW_STATE_8733B(x) ((x) & (~BITS_ARB_SW_STATE_8733B))
#define BIT_GET_ARB_SW_STATE_8733B(x) (((x) >> BIT_SHIFT_ARB_SW_STATE_8733B) & BIT_MASK_ARB_SW_STATE_8733B)
#define BIT_SET_ARB_SW_STATE_8733B(x, v) (BIT_CLEAR_ARB_SW_STATE_8733B(x) | BIT_ARB_SW_STATE_8733B(v))

/* 2 REG_WMAC_MU_OPTION_8733B */
#define BIT_WMAC_NOCHK_BFPOLL_BMP_8733B BIT(7)

#define BIT_SHIFT_WMAC_CSI_PARA_RDY_DLYCNT_8733B 0
#define BIT_MASK_WMAC_CSI_PARA_RDY_DLYCNT_8733B 0x1f
#define BIT_WMAC_CSI_PARA_RDY_DLYCNT_8733B(x) (((x) & BIT_MASK_WMAC_CSI_PARA_RDY_DLYCNT_8733B) << BIT_SHIFT_WMAC_CSI_PARA_RDY_DLYCNT_8733B)
#define BITS_WMAC_CSI_PARA_RDY_DLYCNT_8733B (BIT_MASK_WMAC_CSI_PARA_RDY_DLYCNT_8733B << BIT_SHIFT_WMAC_CSI_PARA_RDY_DLYCNT_8733B)
#define BIT_CLEAR_WMAC_CSI_PARA_RDY_DLYCNT_8733B(x) ((x) & (~BITS_WMAC_CSI_PARA_RDY_DLYCNT_8733B))
#define BIT_GET_WMAC_CSI_PARA_RDY_DLYCNT_8733B(x) (((x) >> BIT_SHIFT_WMAC_CSI_PARA_RDY_DLYCNT_8733B) & BIT_MASK_WMAC_CSI_PARA_RDY_DLYCNT_8733B)
#define BIT_SET_WMAC_CSI_PARA_RDY_DLYCNT_8733B(x, v) (BIT_CLEAR_WMAC_CSI_PARA_RDY_DLYCNT_8733B(x) | BIT_WMAC_CSI_PARA_RDY_DLYCNT_8733B(v))

/* 2 REG_WMAC_MU_BF_CTL_8733B */
#define BIT_WMAC_INVLD_BFPRT_CHK_8733B BIT(15)
#define BIT_WMAC_RETXBFRPTSEQ_UPD_8733B BIT(14)

#define BIT_SHIFT_WMAC_MU_BFRPTSEG_SEL_8733B 12
#define BIT_MASK_WMAC_MU_BFRPTSEG_SEL_8733B 0x3
#define BIT_WMAC_MU_BFRPTSEG_SEL_8733B(x) (((x) & BIT_MASK_WMAC_MU_BFRPTSEG_SEL_8733B) << BIT_SHIFT_WMAC_MU_BFRPTSEG_SEL_8733B)
#define BITS_WMAC_MU_BFRPTSEG_SEL_8733B (BIT_MASK_WMAC_MU_BFRPTSEG_SEL_8733B << BIT_SHIFT_WMAC_MU_BFRPTSEG_SEL_8733B)
#define BIT_CLEAR_WMAC_MU_BFRPTSEG_SEL_8733B(x) ((x) & (~BITS_WMAC_MU_BFRPTSEG_SEL_8733B))
#define BIT_GET_WMAC_MU_BFRPTSEG_SEL_8733B(x) (((x) >> BIT_SHIFT_WMAC_MU_BFRPTSEG_SEL_8733B) & BIT_MASK_WMAC_MU_BFRPTSEG_SEL_8733B)
#define BIT_SET_WMAC_MU_BFRPTSEG_SEL_8733B(x, v) (BIT_CLEAR_WMAC_MU_BFRPTSEG_SEL_8733B(x) | BIT_WMAC_MU_BFRPTSEG_SEL_8733B(v))

#define BIT_SHIFT_WMAC_MU_BF_MYAID_8733B 0
#define BIT_MASK_WMAC_MU_BF_MYAID_8733B 0xfff
#define BIT_WMAC_MU_BF_MYAID_8733B(x) (((x) & BIT_MASK_WMAC_MU_BF_MYAID_8733B) << BIT_SHIFT_WMAC_MU_BF_MYAID_8733B)
#define BITS_WMAC_MU_BF_MYAID_8733B (BIT_MASK_WMAC_MU_BF_MYAID_8733B << BIT_SHIFT_WMAC_MU_BF_MYAID_8733B)
#define BIT_CLEAR_WMAC_MU_BF_MYAID_8733B(x) ((x) & (~BITS_WMAC_MU_BF_MYAID_8733B))
#define BIT_GET_WMAC_MU_BF_MYAID_8733B(x) (((x) >> BIT_SHIFT_WMAC_MU_BF_MYAID_8733B) & BIT_MASK_WMAC_MU_BF_MYAID_8733B)
#define BIT_SET_WMAC_MU_BF_MYAID_8733B(x, v) (BIT_CLEAR_WMAC_MU_BF_MYAID_8733B(x) | BIT_WMAC_MU_BF_MYAID_8733B(v))

/* 2 REG_WMAC_MU_BFRPT_PARA_8733B */

#define BIT_SHIFT_BFRPT_PARA_USERID_SEL_V1_8733B 13
#define BIT_MASK_BFRPT_PARA_USERID_SEL_V1_8733B 0x7
#define BIT_BFRPT_PARA_USERID_SEL_V1_8733B(x) (((x) & BIT_MASK_BFRPT_PARA_USERID_SEL_V1_8733B) << BIT_SHIFT_BFRPT_PARA_USERID_SEL_V1_8733B)
#define BITS_BFRPT_PARA_USERID_SEL_V1_8733B (BIT_MASK_BFRPT_PARA_USERID_SEL_V1_8733B << BIT_SHIFT_BFRPT_PARA_USERID_SEL_V1_8733B)
#define BIT_CLEAR_BFRPT_PARA_USERID_SEL_V1_8733B(x) ((x) & (~BITS_BFRPT_PARA_USERID_SEL_V1_8733B))
#define BIT_GET_BFRPT_PARA_USERID_SEL_V1_8733B(x) (((x) >> BIT_SHIFT_BFRPT_PARA_USERID_SEL_V1_8733B) & BIT_MASK_BFRPT_PARA_USERID_SEL_V1_8733B)
#define BIT_SET_BFRPT_PARA_USERID_SEL_V1_8733B(x, v) (BIT_CLEAR_BFRPT_PARA_USERID_SEL_V1_8733B(x) | BIT_BFRPT_PARA_USERID_SEL_V1_8733B(v))

#define BIT_SHIFT_BFRPT_PARA_V1_8733B 0
#define BIT_MASK_BFRPT_PARA_V1_8733B 0x1fff
#define BIT_BFRPT_PARA_V1_8733B(x) (((x) & BIT_MASK_BFRPT_PARA_V1_8733B) << BIT_SHIFT_BFRPT_PARA_V1_8733B)
#define BITS_BFRPT_PARA_V1_8733B (BIT_MASK_BFRPT_PARA_V1_8733B << BIT_SHIFT_BFRPT_PARA_V1_8733B)
#define BIT_CLEAR_BFRPT_PARA_V1_8733B(x) ((x) & (~BITS_BFRPT_PARA_V1_8733B))
#define BIT_GET_BFRPT_PARA_V1_8733B(x) (((x) >> BIT_SHIFT_BFRPT_PARA_V1_8733B) & BIT_MASK_BFRPT_PARA_V1_8733B)
#define BIT_SET_BFRPT_PARA_V1_8733B(x, v) (BIT_CLEAR_BFRPT_PARA_V1_8733B(x) | BIT_BFRPT_PARA_V1_8733B(v))

/* 2 REG_WMAC_ASSOCIATED_MU_BFMEE2_8733B */
#define BIT_STATUS_BFEE2_8733B BIT(10)
#define BIT_WMAC_MU_BFEE2_EN_8733B BIT(9)

#define BIT_SHIFT_WMAC_MU_BFEE2_AID_8733B 0
#define BIT_MASK_WMAC_MU_BFEE2_AID_8733B 0x1ff
#define BIT_WMAC_MU_BFEE2_AID_8733B(x) (((x) & BIT_MASK_WMAC_MU_BFEE2_AID_8733B) << BIT_SHIFT_WMAC_MU_BFEE2_AID_8733B)
#define BITS_WMAC_MU_BFEE2_AID_8733B (BIT_MASK_WMAC_MU_BFEE2_AID_8733B << BIT_SHIFT_WMAC_MU_BFEE2_AID_8733B)
#define BIT_CLEAR_WMAC_MU_BFEE2_AID_8733B(x) ((x) & (~BITS_WMAC_MU_BFEE2_AID_8733B))
#define BIT_GET_WMAC_MU_BFEE2_AID_8733B(x) (((x) >> BIT_SHIFT_WMAC_MU_BFEE2_AID_8733B) & BIT_MASK_WMAC_MU_BFEE2_AID_8733B)
#define BIT_SET_WMAC_MU_BFEE2_AID_8733B(x, v) (BIT_CLEAR_WMAC_MU_BFEE2_AID_8733B(x) | BIT_WMAC_MU_BFEE2_AID_8733B(v))

/* 2 REG_WMAC_ASSOCIATED_MU_BFMEE3_8733B */
#define BIT_STATUS_BFEE3_8733B BIT(10)
#define BIT_WMAC_MU_BFEE3_EN_8733B BIT(9)

#define BIT_SHIFT_WMAC_MU_BFEE3_AID_8733B 0
#define BIT_MASK_WMAC_MU_BFEE3_AID_8733B 0x1ff
#define BIT_WMAC_MU_BFEE3_AID_8733B(x) (((x) & BIT_MASK_WMAC_MU_BFEE3_AID_8733B) << BIT_SHIFT_WMAC_MU_BFEE3_AID_8733B)
#define BITS_WMAC_MU_BFEE3_AID_8733B (BIT_MASK_WMAC_MU_BFEE3_AID_8733B << BIT_SHIFT_WMAC_MU_BFEE3_AID_8733B)
#define BIT_CLEAR_WMAC_MU_BFEE3_AID_8733B(x) ((x) & (~BITS_WMAC_MU_BFEE3_AID_8733B))
#define BIT_GET_WMAC_MU_BFEE3_AID_8733B(x) (((x) >> BIT_SHIFT_WMAC_MU_BFEE3_AID_8733B) & BIT_MASK_WMAC_MU_BFEE3_AID_8733B)
#define BIT_SET_WMAC_MU_BFEE3_AID_8733B(x, v) (BIT_CLEAR_WMAC_MU_BFEE3_AID_8733B(x) | BIT_WMAC_MU_BFEE3_AID_8733B(v))

/* 2 REG_WMAC_ASSOCIATED_MU_BFMEE4_8733B */
#define BIT_STATUS_BFEE4_8733B BIT(10)
#define BIT_WMAC_MU_BFEE4_EN_8733B BIT(9)

#define BIT_SHIFT_WMAC_MU_BFEE4_AID_8733B 0
#define BIT_MASK_WMAC_MU_BFEE4_AID_8733B 0x1ff
#define BIT_WMAC_MU_BFEE4_AID_8733B(x) (((x) & BIT_MASK_WMAC_MU_BFEE4_AID_8733B) << BIT_SHIFT_WMAC_MU_BFEE4_AID_8733B)
#define BITS_WMAC_MU_BFEE4_AID_8733B (BIT_MASK_WMAC_MU_BFEE4_AID_8733B << BIT_SHIFT_WMAC_MU_BFEE4_AID_8733B)
#define BIT_CLEAR_WMAC_MU_BFEE4_AID_8733B(x) ((x) & (~BITS_WMAC_MU_BFEE4_AID_8733B))
#define BIT_GET_WMAC_MU_BFEE4_AID_8733B(x) (((x) >> BIT_SHIFT_WMAC_MU_BFEE4_AID_8733B) & BIT_MASK_WMAC_MU_BFEE4_AID_8733B)
#define BIT_SET_WMAC_MU_BFEE4_AID_8733B(x, v) (BIT_CLEAR_WMAC_MU_BFEE4_AID_8733B(x) | BIT_WMAC_MU_BFEE4_AID_8733B(v))

/* 2 REG_WMAC_ASSOCIATED_MU_BFMEE5_8733B */
#define BIT_BIT_STATUS_BFEE5_8733B BIT(10)
#define BIT_WMAC_MU_BFEE5_EN_8733B BIT(9)

#define BIT_SHIFT_WMAC_MU_BFEE5_AID_8733B 0
#define BIT_MASK_WMAC_MU_BFEE5_AID_8733B 0x1ff
#define BIT_WMAC_MU_BFEE5_AID_8733B(x) (((x) & BIT_MASK_WMAC_MU_BFEE5_AID_8733B) << BIT_SHIFT_WMAC_MU_BFEE5_AID_8733B)
#define BITS_WMAC_MU_BFEE5_AID_8733B (BIT_MASK_WMAC_MU_BFEE5_AID_8733B << BIT_SHIFT_WMAC_MU_BFEE5_AID_8733B)
#define BIT_CLEAR_WMAC_MU_BFEE5_AID_8733B(x) ((x) & (~BITS_WMAC_MU_BFEE5_AID_8733B))
#define BIT_GET_WMAC_MU_BFEE5_AID_8733B(x) (((x) >> BIT_SHIFT_WMAC_MU_BFEE5_AID_8733B) & BIT_MASK_WMAC_MU_BFEE5_AID_8733B)
#define BIT_SET_WMAC_MU_BFEE5_AID_8733B(x, v) (BIT_CLEAR_WMAC_MU_BFEE5_AID_8733B(x) | BIT_WMAC_MU_BFEE5_AID_8733B(v))

/* 2 REG_WMAC_ASSOCIATED_MU_BFMEE6_8733B */
#define BIT_STATUS_BFEE6_8733B BIT(10)
#define BIT_WMAC_MU_BFEE6_EN_8733B BIT(9)

#define BIT_SHIFT_WMAC_MU_BFEE6_AID_8733B 0
#define BIT_MASK_WMAC_MU_BFEE6_AID_8733B 0x1ff
#define BIT_WMAC_MU_BFEE6_AID_8733B(x) (((x) & BIT_MASK_WMAC_MU_BFEE6_AID_8733B) << BIT_SHIFT_WMAC_MU_BFEE6_AID_8733B)
#define BITS_WMAC_MU_BFEE6_AID_8733B (BIT_MASK_WMAC_MU_BFEE6_AID_8733B << BIT_SHIFT_WMAC_MU_BFEE6_AID_8733B)
#define BIT_CLEAR_WMAC_MU_BFEE6_AID_8733B(x) ((x) & (~BITS_WMAC_MU_BFEE6_AID_8733B))
#define BIT_GET_WMAC_MU_BFEE6_AID_8733B(x) (((x) >> BIT_SHIFT_WMAC_MU_BFEE6_AID_8733B) & BIT_MASK_WMAC_MU_BFEE6_AID_8733B)
#define BIT_SET_WMAC_MU_BFEE6_AID_8733B(x, v) (BIT_CLEAR_WMAC_MU_BFEE6_AID_8733B(x) | BIT_WMAC_MU_BFEE6_AID_8733B(v))

/* 2 REG_WMAC_ASSOCIATED_MU_BFMEE7_8733B */
#define BIT_STATUS_BFEE7_8733B BIT(10)
#define BIT_WMAC_MU_BFEE7_EN_8733B BIT(9)

#define BIT_SHIFT_WMAC_MU_BFEE7_AID_8733B 0
#define BIT_MASK_WMAC_MU_BFEE7_AID_8733B 0x1ff
#define BIT_WMAC_MU_BFEE7_AID_8733B(x) (((x) & BIT_MASK_WMAC_MU_BFEE7_AID_8733B) << BIT_SHIFT_WMAC_MU_BFEE7_AID_8733B)
#define BITS_WMAC_MU_BFEE7_AID_8733B (BIT_MASK_WMAC_MU_BFEE7_AID_8733B << BIT_SHIFT_WMAC_MU_BFEE7_AID_8733B)
#define BIT_CLEAR_WMAC_MU_BFEE7_AID_8733B(x) ((x) & (~BITS_WMAC_MU_BFEE7_AID_8733B))
#define BIT_GET_WMAC_MU_BFEE7_AID_8733B(x) (((x) >> BIT_SHIFT_WMAC_MU_BFEE7_AID_8733B) & BIT_MASK_WMAC_MU_BFEE7_AID_8733B)
#define BIT_SET_WMAC_MU_BFEE7_AID_8733B(x, v) (BIT_CLEAR_WMAC_MU_BFEE7_AID_8733B(x) | BIT_WMAC_MU_BFEE7_AID_8733B(v))

/* 2 REG_WMAC_BB_STOP_RX_COUNTER_8733B */
#define BIT_RST_ALL_COUNTER_8733B BIT(31)

#define BIT_SHIFT_ABORT_RX_VBON_COUNTER_8733B 16
#define BIT_MASK_ABORT_RX_VBON_COUNTER_8733B 0xff
#define BIT_ABORT_RX_VBON_COUNTER_8733B(x) (((x) & BIT_MASK_ABORT_RX_VBON_COUNTER_8733B) << BIT_SHIFT_ABORT_RX_VBON_COUNTER_8733B)
#define BITS_ABORT_RX_VBON_COUNTER_8733B (BIT_MASK_ABORT_RX_VBON_COUNTER_8733B << BIT_SHIFT_ABORT_RX_VBON_COUNTER_8733B)
#define BIT_CLEAR_ABORT_RX_VBON_COUNTER_8733B(x) ((x) & (~BITS_ABORT_RX_VBON_COUNTER_8733B))
#define BIT_GET_ABORT_RX_VBON_COUNTER_8733B(x) (((x) >> BIT_SHIFT_ABORT_RX_VBON_COUNTER_8733B) & BIT_MASK_ABORT_RX_VBON_COUNTER_8733B)
#define BIT_SET_ABORT_RX_VBON_COUNTER_8733B(x, v) (BIT_CLEAR_ABORT_RX_VBON_COUNTER_8733B(x) | BIT_ABORT_RX_VBON_COUNTER_8733B(v))

#define BIT_SHIFT_ABORT_RX_RDRDY_COUNTER_8733B 8
#define BIT_MASK_ABORT_RX_RDRDY_COUNTER_8733B 0xff
#define BIT_ABORT_RX_RDRDY_COUNTER_8733B(x) (((x) & BIT_MASK_ABORT_RX_RDRDY_COUNTER_8733B) << BIT_SHIFT_ABORT_RX_RDRDY_COUNTER_8733B)
#define BITS_ABORT_RX_RDRDY_COUNTER_8733B (BIT_MASK_ABORT_RX_RDRDY_COUNTER_8733B << BIT_SHIFT_ABORT_RX_RDRDY_COUNTER_8733B)
#define BIT_CLEAR_ABORT_RX_RDRDY_COUNTER_8733B(x) ((x) & (~BITS_ABORT_RX_RDRDY_COUNTER_8733B))
#define BIT_GET_ABORT_RX_RDRDY_COUNTER_8733B(x) (((x) >> BIT_SHIFT_ABORT_RX_RDRDY_COUNTER_8733B) & BIT_MASK_ABORT_RX_RDRDY_COUNTER_8733B)
#define BIT_SET_ABORT_RX_RDRDY_COUNTER_8733B(x, v) (BIT_CLEAR_ABORT_RX_RDRDY_COUNTER_8733B(x) | BIT_ABORT_RX_RDRDY_COUNTER_8733B(v))

#define BIT_SHIFT_VBON_EARLY_FALLING_COUNTER_8733B 0
#define BIT_MASK_VBON_EARLY_FALLING_COUNTER_8733B 0xff
#define BIT_VBON_EARLY_FALLING_COUNTER_8733B(x) (((x) & BIT_MASK_VBON_EARLY_FALLING_COUNTER_8733B) << BIT_SHIFT_VBON_EARLY_FALLING_COUNTER_8733B)
#define BITS_VBON_EARLY_FALLING_COUNTER_8733B (BIT_MASK_VBON_EARLY_FALLING_COUNTER_8733B << BIT_SHIFT_VBON_EARLY_FALLING_COUNTER_8733B)
#define BIT_CLEAR_VBON_EARLY_FALLING_COUNTER_8733B(x) ((x) & (~BITS_VBON_EARLY_FALLING_COUNTER_8733B))
#define BIT_GET_VBON_EARLY_FALLING_COUNTER_8733B(x) (((x) >> BIT_SHIFT_VBON_EARLY_FALLING_COUNTER_8733B) & BIT_MASK_VBON_EARLY_FALLING_COUNTER_8733B)
#define BIT_SET_VBON_EARLY_FALLING_COUNTER_8733B(x, v) (BIT_CLEAR_VBON_EARLY_FALLING_COUNTER_8733B(x) | BIT_VBON_EARLY_FALLING_COUNTER_8733B(v))

/* 2 REG_WMAC_PLCP_MONITOR_8733B */
#define BIT_WMAC_PLCP_TRX_SEL_8733B BIT(31)

#define BIT_SHIFT_WMAC_PLCP_RDSIG_SEL_8733B 28
#define BIT_MASK_WMAC_PLCP_RDSIG_SEL_8733B 0x7
#define BIT_WMAC_PLCP_RDSIG_SEL_8733B(x) (((x) & BIT_MASK_WMAC_PLCP_RDSIG_SEL_8733B) << BIT_SHIFT_WMAC_PLCP_RDSIG_SEL_8733B)
#define BITS_WMAC_PLCP_RDSIG_SEL_8733B (BIT_MASK_WMAC_PLCP_RDSIG_SEL_8733B << BIT_SHIFT_WMAC_PLCP_RDSIG_SEL_8733B)
#define BIT_CLEAR_WMAC_PLCP_RDSIG_SEL_8733B(x) ((x) & (~BITS_WMAC_PLCP_RDSIG_SEL_8733B))
#define BIT_GET_WMAC_PLCP_RDSIG_SEL_8733B(x) (((x) >> BIT_SHIFT_WMAC_PLCP_RDSIG_SEL_8733B) & BIT_MASK_WMAC_PLCP_RDSIG_SEL_8733B)
#define BIT_SET_WMAC_PLCP_RDSIG_SEL_8733B(x, v) (BIT_CLEAR_WMAC_PLCP_RDSIG_SEL_8733B(x) | BIT_WMAC_PLCP_RDSIG_SEL_8733B(v))

#define BIT_SHIFT_WMAC_RATE_IDX_8733B 24
#define BIT_MASK_WMAC_RATE_IDX_8733B 0xf
#define BIT_WMAC_RATE_IDX_8733B(x) (((x) & BIT_MASK_WMAC_RATE_IDX_8733B) << BIT_SHIFT_WMAC_RATE_IDX_8733B)
#define BITS_WMAC_RATE_IDX_8733B (BIT_MASK_WMAC_RATE_IDX_8733B << BIT_SHIFT_WMAC_RATE_IDX_8733B)
#define BIT_CLEAR_WMAC_RATE_IDX_8733B(x) ((x) & (~BITS_WMAC_RATE_IDX_8733B))
#define BIT_GET_WMAC_RATE_IDX_8733B(x) (((x) >> BIT_SHIFT_WMAC_RATE_IDX_8733B) & BIT_MASK_WMAC_RATE_IDX_8733B)
#define BIT_SET_WMAC_RATE_IDX_8733B(x, v) (BIT_CLEAR_WMAC_RATE_IDX_8733B(x) | BIT_WMAC_RATE_IDX_8733B(v))

#define BIT_SHIFT_WMAC_PLCP_RDSIG_8733B 0
#define BIT_MASK_WMAC_PLCP_RDSIG_8733B 0xffffff
#define BIT_WMAC_PLCP_RDSIG_8733B(x) (((x) & BIT_MASK_WMAC_PLCP_RDSIG_8733B) << BIT_SHIFT_WMAC_PLCP_RDSIG_8733B)
#define BITS_WMAC_PLCP_RDSIG_8733B (BIT_MASK_WMAC_PLCP_RDSIG_8733B << BIT_SHIFT_WMAC_PLCP_RDSIG_8733B)
#define BIT_CLEAR_WMAC_PLCP_RDSIG_8733B(x) ((x) & (~BITS_WMAC_PLCP_RDSIG_8733B))
#define BIT_GET_WMAC_PLCP_RDSIG_8733B(x) (((x) >> BIT_SHIFT_WMAC_PLCP_RDSIG_8733B) & BIT_MASK_WMAC_PLCP_RDSIG_8733B)
#define BIT_SET_WMAC_PLCP_RDSIG_8733B(x, v) (BIT_CLEAR_WMAC_PLCP_RDSIG_8733B(x) | BIT_WMAC_PLCP_RDSIG_8733B(v))

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_WMAC_CSIDMA_CFG_8733B */

#define BIT_SHIFT_CSI_SEG_SIZE_8733B 16
#define BIT_MASK_CSI_SEG_SIZE_8733B 0xfff
#define BIT_CSI_SEG_SIZE_8733B(x) (((x) & BIT_MASK_CSI_SEG_SIZE_8733B) << BIT_SHIFT_CSI_SEG_SIZE_8733B)
#define BITS_CSI_SEG_SIZE_8733B (BIT_MASK_CSI_SEG_SIZE_8733B << BIT_SHIFT_CSI_SEG_SIZE_8733B)
#define BIT_CLEAR_CSI_SEG_SIZE_8733B(x) ((x) & (~BITS_CSI_SEG_SIZE_8733B))
#define BIT_GET_CSI_SEG_SIZE_8733B(x) (((x) >> BIT_SHIFT_CSI_SEG_SIZE_8733B) & BIT_MASK_CSI_SEG_SIZE_8733B)
#define BIT_SET_CSI_SEG_SIZE_8733B(x, v) (BIT_CLEAR_CSI_SEG_SIZE_8733B(x) | BIT_CSI_SEG_SIZE_8733B(v))

#define BIT_SHIFT_CSI_START_PAGE_8733B 0
#define BIT_MASK_CSI_START_PAGE_8733B 0xfff
#define BIT_CSI_START_PAGE_8733B(x) (((x) & BIT_MASK_CSI_START_PAGE_8733B) << BIT_SHIFT_CSI_START_PAGE_8733B)
#define BITS_CSI_START_PAGE_8733B (BIT_MASK_CSI_START_PAGE_8733B << BIT_SHIFT_CSI_START_PAGE_8733B)
#define BIT_CLEAR_CSI_START_PAGE_8733B(x) ((x) & (~BITS_CSI_START_PAGE_8733B))
#define BIT_GET_CSI_START_PAGE_8733B(x) (((x) >> BIT_SHIFT_CSI_START_PAGE_8733B) & BIT_MASK_CSI_START_PAGE_8733B)
#define BIT_SET_CSI_START_PAGE_8733B(x, v) (BIT_CLEAR_CSI_START_PAGE_8733B(x) | BIT_CSI_START_PAGE_8733B(v))

/* 2 REG_TRANSMIT_ADDRSS_0_8733B (TA0 REGISTER) */

#define BIT_SHIFT_TA0_V1_8733B 0
#define BIT_MASK_TA0_V1_8733B 0xffffffffL
#define BIT_TA0_V1_8733B(x) (((x) & BIT_MASK_TA0_V1_8733B) << BIT_SHIFT_TA0_V1_8733B)
#define BITS_TA0_V1_8733B (BIT_MASK_TA0_V1_8733B << BIT_SHIFT_TA0_V1_8733B)
#define BIT_CLEAR_TA0_V1_8733B(x) ((x) & (~BITS_TA0_V1_8733B))
#define BIT_GET_TA0_V1_8733B(x) (((x) >> BIT_SHIFT_TA0_V1_8733B) & BIT_MASK_TA0_V1_8733B)
#define BIT_SET_TA0_V1_8733B(x, v) (BIT_CLEAR_TA0_V1_8733B(x) | BIT_TA0_V1_8733B(v))

/* 2 REG_TRANSMIT_ADDRSS_0_H_8733B (TA0 REGISTER) */

#define BIT_SHIFT_TA0_H_V1_8733B 0
#define BIT_MASK_TA0_H_V1_8733B 0xffff
#define BIT_TA0_H_V1_8733B(x) (((x) & BIT_MASK_TA0_H_V1_8733B) << BIT_SHIFT_TA0_H_V1_8733B)
#define BITS_TA0_H_V1_8733B (BIT_MASK_TA0_H_V1_8733B << BIT_SHIFT_TA0_H_V1_8733B)
#define BIT_CLEAR_TA0_H_V1_8733B(x) ((x) & (~BITS_TA0_H_V1_8733B))
#define BIT_GET_TA0_H_V1_8733B(x) (((x) >> BIT_SHIFT_TA0_H_V1_8733B) & BIT_MASK_TA0_H_V1_8733B)
#define BIT_SET_TA0_H_V1_8733B(x, v) (BIT_CLEAR_TA0_H_V1_8733B(x) | BIT_TA0_H_V1_8733B(v))

/* 2 REG_TRANSMIT_ADDRSS_1_8733B (TA1 REGISTER) */

#define BIT_SHIFT_TA1_V1_8733B 0
#define BIT_MASK_TA1_V1_8733B 0xffffffffL
#define BIT_TA1_V1_8733B(x) (((x) & BIT_MASK_TA1_V1_8733B) << BIT_SHIFT_TA1_V1_8733B)
#define BITS_TA1_V1_8733B (BIT_MASK_TA1_V1_8733B << BIT_SHIFT_TA1_V1_8733B)
#define BIT_CLEAR_TA1_V1_8733B(x) ((x) & (~BITS_TA1_V1_8733B))
#define BIT_GET_TA1_V1_8733B(x) (((x) >> BIT_SHIFT_TA1_V1_8733B) & BIT_MASK_TA1_V1_8733B)
#define BIT_SET_TA1_V1_8733B(x, v) (BIT_CLEAR_TA1_V1_8733B(x) | BIT_TA1_V1_8733B(v))

/* 2 REG_TRANSMIT_ADDRSS_1_H_8733B (TA1 REGISTER) */

#define BIT_SHIFT_TA1_H_V1_8733B 0
#define BIT_MASK_TA1_H_V1_8733B 0xffff
#define BIT_TA1_H_V1_8733B(x) (((x) & BIT_MASK_TA1_H_V1_8733B) << BIT_SHIFT_TA1_H_V1_8733B)
#define BITS_TA1_H_V1_8733B (BIT_MASK_TA1_H_V1_8733B << BIT_SHIFT_TA1_H_V1_8733B)
#define BIT_CLEAR_TA1_H_V1_8733B(x) ((x) & (~BITS_TA1_H_V1_8733B))
#define BIT_GET_TA1_H_V1_8733B(x) (((x) >> BIT_SHIFT_TA1_H_V1_8733B) & BIT_MASK_TA1_H_V1_8733B)
#define BIT_SET_TA1_H_V1_8733B(x, v) (BIT_CLEAR_TA1_H_V1_8733B(x) | BIT_TA1_H_V1_8733B(v))

/* 2 REG_TRANSMIT_ADDRSS_2_8733B (TA2 REGISTER) */

#define BIT_SHIFT_TA2_V1_8733B 0
#define BIT_MASK_TA2_V1_8733B 0xffffffffL
#define BIT_TA2_V1_8733B(x) (((x) & BIT_MASK_TA2_V1_8733B) << BIT_SHIFT_TA2_V1_8733B)
#define BITS_TA2_V1_8733B (BIT_MASK_TA2_V1_8733B << BIT_SHIFT_TA2_V1_8733B)
#define BIT_CLEAR_TA2_V1_8733B(x) ((x) & (~BITS_TA2_V1_8733B))
#define BIT_GET_TA2_V1_8733B(x) (((x) >> BIT_SHIFT_TA2_V1_8733B) & BIT_MASK_TA2_V1_8733B)
#define BIT_SET_TA2_V1_8733B(x, v) (BIT_CLEAR_TA2_V1_8733B(x) | BIT_TA2_V1_8733B(v))

/* 2 REG_TRANSMIT_ADDRSS_2_H_8733B (TA2 REGISTER) */

#define BIT_SHIFT_TA2_H_V1_8733B 0
#define BIT_MASK_TA2_H_V1_8733B 0xffff
#define BIT_TA2_H_V1_8733B(x) (((x) & BIT_MASK_TA2_H_V1_8733B) << BIT_SHIFT_TA2_H_V1_8733B)
#define BITS_TA2_H_V1_8733B (BIT_MASK_TA2_H_V1_8733B << BIT_SHIFT_TA2_H_V1_8733B)
#define BIT_CLEAR_TA2_H_V1_8733B(x) ((x) & (~BITS_TA2_H_V1_8733B))
#define BIT_GET_TA2_H_V1_8733B(x) (((x) >> BIT_SHIFT_TA2_H_V1_8733B) & BIT_MASK_TA2_H_V1_8733B)
#define BIT_SET_TA2_H_V1_8733B(x, v) (BIT_CLEAR_TA2_H_V1_8733B(x) | BIT_TA2_H_V1_8733B(v))

/* 2 REG_TRANSMIT_ADDRSS_3_8733B (TA3 REGISTER) */

#define BIT_SHIFT_TA2_V1_8733B 0
#define BIT_MASK_TA2_V1_8733B 0xffffffffL
#define BIT_TA2_V1_8733B(x) (((x) & BIT_MASK_TA2_V1_8733B) << BIT_SHIFT_TA2_V1_8733B)
#define BITS_TA2_V1_8733B (BIT_MASK_TA2_V1_8733B << BIT_SHIFT_TA2_V1_8733B)
#define BIT_CLEAR_TA2_V1_8733B(x) ((x) & (~BITS_TA2_V1_8733B))
#define BIT_GET_TA2_V1_8733B(x) (((x) >> BIT_SHIFT_TA2_V1_8733B) & BIT_MASK_TA2_V1_8733B)
#define BIT_SET_TA2_V1_8733B(x, v) (BIT_CLEAR_TA2_V1_8733B(x) | BIT_TA2_V1_8733B(v))

/* 2 REG_TRANSMIT_ADDRSS_3_H_8733B (TA3 REGISTER) */

#define BIT_SHIFT_TA3_H_V1_8733B 0
#define BIT_MASK_TA3_H_V1_8733B 0xffff
#define BIT_TA3_H_V1_8733B(x) (((x) & BIT_MASK_TA3_H_V1_8733B) << BIT_SHIFT_TA3_H_V1_8733B)
#define BITS_TA3_H_V1_8733B (BIT_MASK_TA3_H_V1_8733B << BIT_SHIFT_TA3_H_V1_8733B)
#define BIT_CLEAR_TA3_H_V1_8733B(x) ((x) & (~BITS_TA3_H_V1_8733B))
#define BIT_GET_TA3_H_V1_8733B(x) (((x) >> BIT_SHIFT_TA3_H_V1_8733B) & BIT_MASK_TA3_H_V1_8733B)
#define BIT_SET_TA3_H_V1_8733B(x, v) (BIT_CLEAR_TA3_H_V1_8733B(x) | BIT_TA3_H_V1_8733B(v))

/* 2 REG_TRANSMIT_ADDRSS_4_8733B (TA4 REGISTER) */

#define BIT_SHIFT_TA4_V1_8733B 0
#define BIT_MASK_TA4_V1_8733B 0xffffffffL
#define BIT_TA4_V1_8733B(x) (((x) & BIT_MASK_TA4_V1_8733B) << BIT_SHIFT_TA4_V1_8733B)
#define BITS_TA4_V1_8733B (BIT_MASK_TA4_V1_8733B << BIT_SHIFT_TA4_V1_8733B)
#define BIT_CLEAR_TA4_V1_8733B(x) ((x) & (~BITS_TA4_V1_8733B))
#define BIT_GET_TA4_V1_8733B(x) (((x) >> BIT_SHIFT_TA4_V1_8733B) & BIT_MASK_TA4_V1_8733B)
#define BIT_SET_TA4_V1_8733B(x, v) (BIT_CLEAR_TA4_V1_8733B(x) | BIT_TA4_V1_8733B(v))

/* 2 REG_TRANSMIT_ADDRSS_4_H_8733B (TA4 REGISTER) */

#define BIT_SHIFT_TA4_H_V1_8733B 0
#define BIT_MASK_TA4_H_V1_8733B 0xffff
#define BIT_TA4_H_V1_8733B(x) (((x) & BIT_MASK_TA4_H_V1_8733B) << BIT_SHIFT_TA4_H_V1_8733B)
#define BITS_TA4_H_V1_8733B (BIT_MASK_TA4_H_V1_8733B << BIT_SHIFT_TA4_H_V1_8733B)
#define BIT_CLEAR_TA4_H_V1_8733B(x) ((x) & (~BITS_TA4_H_V1_8733B))
#define BIT_GET_TA4_H_V1_8733B(x) (((x) >> BIT_SHIFT_TA4_H_V1_8733B) & BIT_MASK_TA4_H_V1_8733B)
#define BIT_SET_TA4_H_V1_8733B(x, v) (BIT_CLEAR_TA4_H_V1_8733B(x) | BIT_TA4_H_V1_8733B(v))

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_MACID1_8733B */

#define BIT_SHIFT_MACID1_0_8733B 0
#define BIT_MASK_MACID1_0_8733B 0xffffffffL
#define BIT_MACID1_0_8733B(x) (((x) & BIT_MASK_MACID1_0_8733B) << BIT_SHIFT_MACID1_0_8733B)
#define BITS_MACID1_0_8733B (BIT_MASK_MACID1_0_8733B << BIT_SHIFT_MACID1_0_8733B)
#define BIT_CLEAR_MACID1_0_8733B(x) ((x) & (~BITS_MACID1_0_8733B))
#define BIT_GET_MACID1_0_8733B(x) (((x) >> BIT_SHIFT_MACID1_0_8733B) & BIT_MASK_MACID1_0_8733B)
#define BIT_SET_MACID1_0_8733B(x, v) (BIT_CLEAR_MACID1_0_8733B(x) | BIT_MACID1_0_8733B(v))

/* 2 REG_MACID1_1_8733B */

#define BIT_SHIFT_MACID1_1_8733B 0
#define BIT_MASK_MACID1_1_8733B 0xffff
#define BIT_MACID1_1_8733B(x) (((x) & BIT_MASK_MACID1_1_8733B) << BIT_SHIFT_MACID1_1_8733B)
#define BITS_MACID1_1_8733B (BIT_MASK_MACID1_1_8733B << BIT_SHIFT_MACID1_1_8733B)
#define BIT_CLEAR_MACID1_1_8733B(x) ((x) & (~BITS_MACID1_1_8733B))
#define BIT_GET_MACID1_1_8733B(x) (((x) >> BIT_SHIFT_MACID1_1_8733B) & BIT_MASK_MACID1_1_8733B)
#define BIT_SET_MACID1_1_8733B(x, v) (BIT_CLEAR_MACID1_1_8733B(x) | BIT_MACID1_1_8733B(v))

/* 2 REG_BSSID1_8733B */

#define BIT_SHIFT_BSSID1_0_8733B 0
#define BIT_MASK_BSSID1_0_8733B 0xffffffffL
#define BIT_BSSID1_0_8733B(x) (((x) & BIT_MASK_BSSID1_0_8733B) << BIT_SHIFT_BSSID1_0_8733B)
#define BITS_BSSID1_0_8733B (BIT_MASK_BSSID1_0_8733B << BIT_SHIFT_BSSID1_0_8733B)
#define BIT_CLEAR_BSSID1_0_8733B(x) ((x) & (~BITS_BSSID1_0_8733B))
#define BIT_GET_BSSID1_0_8733B(x) (((x) >> BIT_SHIFT_BSSID1_0_8733B) & BIT_MASK_BSSID1_0_8733B)
#define BIT_SET_BSSID1_0_8733B(x, v) (BIT_CLEAR_BSSID1_0_8733B(x) | BIT_BSSID1_0_8733B(v))

/* 2 REG_BSSID1_1_8733B */

#define BIT_SHIFT_BSSID1_1_8733B 0
#define BIT_MASK_BSSID1_1_8733B 0xffff
#define BIT_BSSID1_1_8733B(x) (((x) & BIT_MASK_BSSID1_1_8733B) << BIT_SHIFT_BSSID1_1_8733B)
#define BITS_BSSID1_1_8733B (BIT_MASK_BSSID1_1_8733B << BIT_SHIFT_BSSID1_1_8733B)
#define BIT_CLEAR_BSSID1_1_8733B(x) ((x) & (~BITS_BSSID1_1_8733B))
#define BIT_GET_BSSID1_1_8733B(x) (((x) >> BIT_SHIFT_BSSID1_1_8733B) & BIT_MASK_BSSID1_1_8733B)
#define BIT_SET_BSSID1_1_8733B(x, v) (BIT_CLEAR_BSSID1_1_8733B(x) | BIT_BSSID1_1_8733B(v))

/* 2 REG_BCN_PSR_RPT1_8733B */

#define BIT_SHIFT_DTIM_CNT1_8733B 24
#define BIT_MASK_DTIM_CNT1_8733B 0xff
#define BIT_DTIM_CNT1_8733B(x) (((x) & BIT_MASK_DTIM_CNT1_8733B) << BIT_SHIFT_DTIM_CNT1_8733B)
#define BITS_DTIM_CNT1_8733B (BIT_MASK_DTIM_CNT1_8733B << BIT_SHIFT_DTIM_CNT1_8733B)
#define BIT_CLEAR_DTIM_CNT1_8733B(x) ((x) & (~BITS_DTIM_CNT1_8733B))
#define BIT_GET_DTIM_CNT1_8733B(x) (((x) >> BIT_SHIFT_DTIM_CNT1_8733B) & BIT_MASK_DTIM_CNT1_8733B)
#define BIT_SET_DTIM_CNT1_8733B(x, v) (BIT_CLEAR_DTIM_CNT1_8733B(x) | BIT_DTIM_CNT1_8733B(v))

#define BIT_SHIFT_DTIM_PERIOD1_8733B 16
#define BIT_MASK_DTIM_PERIOD1_8733B 0xff
#define BIT_DTIM_PERIOD1_8733B(x) (((x) & BIT_MASK_DTIM_PERIOD1_8733B) << BIT_SHIFT_DTIM_PERIOD1_8733B)
#define BITS_DTIM_PERIOD1_8733B (BIT_MASK_DTIM_PERIOD1_8733B << BIT_SHIFT_DTIM_PERIOD1_8733B)
#define BIT_CLEAR_DTIM_PERIOD1_8733B(x) ((x) & (~BITS_DTIM_PERIOD1_8733B))
#define BIT_GET_DTIM_PERIOD1_8733B(x) (((x) >> BIT_SHIFT_DTIM_PERIOD1_8733B) & BIT_MASK_DTIM_PERIOD1_8733B)
#define BIT_SET_DTIM_PERIOD1_8733B(x, v) (BIT_CLEAR_DTIM_PERIOD1_8733B(x) | BIT_DTIM_PERIOD1_8733B(v))

#define BIT_DTIM1_8733B BIT(15)
#define BIT_TIM1_8733B BIT(14)

#define BIT_SHIFT_PS_AID_1_8733B 0
#define BIT_MASK_PS_AID_1_8733B 0x7ff
#define BIT_PS_AID_1_8733B(x) (((x) & BIT_MASK_PS_AID_1_8733B) << BIT_SHIFT_PS_AID_1_8733B)
#define BITS_PS_AID_1_8733B (BIT_MASK_PS_AID_1_8733B << BIT_SHIFT_PS_AID_1_8733B)
#define BIT_CLEAR_PS_AID_1_8733B(x) ((x) & (~BITS_PS_AID_1_8733B))
#define BIT_GET_PS_AID_1_8733B(x) (((x) >> BIT_SHIFT_PS_AID_1_8733B) & BIT_MASK_PS_AID_1_8733B)
#define BIT_SET_PS_AID_1_8733B(x, v) (BIT_CLEAR_PS_AID_1_8733B(x) | BIT_PS_AID_1_8733B(v))

/* 2 REG_ASSOCIATED_BFMEE_SEL_8733B */
#define BIT_TXUSER_ID1_8733B BIT(25)

#define BIT_SHIFT_AID1_8733B 16
#define BIT_MASK_AID1_8733B 0x1ff
#define BIT_AID1_8733B(x) (((x) & BIT_MASK_AID1_8733B) << BIT_SHIFT_AID1_8733B)
#define BITS_AID1_8733B (BIT_MASK_AID1_8733B << BIT_SHIFT_AID1_8733B)
#define BIT_CLEAR_AID1_8733B(x) ((x) & (~BITS_AID1_8733B))
#define BIT_GET_AID1_8733B(x) (((x) >> BIT_SHIFT_AID1_8733B) & BIT_MASK_AID1_8733B)
#define BIT_SET_AID1_8733B(x, v) (BIT_CLEAR_AID1_8733B(x) | BIT_AID1_8733B(v))

#define BIT_TXUSER_ID0_8733B BIT(9)

#define BIT_SHIFT_AID0_8733B 0
#define BIT_MASK_AID0_8733B 0x1ff
#define BIT_AID0_8733B(x) (((x) & BIT_MASK_AID0_8733B) << BIT_SHIFT_AID0_8733B)
#define BITS_AID0_8733B (BIT_MASK_AID0_8733B << BIT_SHIFT_AID0_8733B)
#define BIT_CLEAR_AID0_8733B(x) ((x) & (~BITS_AID0_8733B))
#define BIT_GET_AID0_8733B(x) (((x) >> BIT_SHIFT_AID0_8733B) & BIT_MASK_AID0_8733B)
#define BIT_SET_AID0_8733B(x, v) (BIT_CLEAR_AID0_8733B(x) | BIT_AID0_8733B(v))

/* 2 REG_SND_PTCL_CTRL_8733B */

#define BIT_SHIFT_NDP_RX_STANDBY_TIMER_8733B 24
#define BIT_MASK_NDP_RX_STANDBY_TIMER_8733B 0xff
#define BIT_NDP_RX_STANDBY_TIMER_8733B(x) (((x) & BIT_MASK_NDP_RX_STANDBY_TIMER_8733B) << BIT_SHIFT_NDP_RX_STANDBY_TIMER_8733B)
#define BITS_NDP_RX_STANDBY_TIMER_8733B (BIT_MASK_NDP_RX_STANDBY_TIMER_8733B << BIT_SHIFT_NDP_RX_STANDBY_TIMER_8733B)
#define BIT_CLEAR_NDP_RX_STANDBY_TIMER_8733B(x) ((x) & (~BITS_NDP_RX_STANDBY_TIMER_8733B))
#define BIT_GET_NDP_RX_STANDBY_TIMER_8733B(x) (((x) >> BIT_SHIFT_NDP_RX_STANDBY_TIMER_8733B) & BIT_MASK_NDP_RX_STANDBY_TIMER_8733B)
#define BIT_SET_NDP_RX_STANDBY_TIMER_8733B(x, v) (BIT_CLEAR_NDP_RX_STANDBY_TIMER_8733B(x) | BIT_NDP_RX_STANDBY_TIMER_8733B(v))

#define BIT_R_WMAC_CHK_RPTPOLL_A2_DIS_8733B BIT(23)
#define BIT_R_WMAC_CHK_UCNDPA_A2_DIS_8733B BIT(22)

#define BIT_SHIFT_CSI_RPT_OFFSET_HT_V1_8733B 16
#define BIT_MASK_CSI_RPT_OFFSET_HT_V1_8733B 0x3f
#define BIT_CSI_RPT_OFFSET_HT_V1_8733B(x) (((x) & BIT_MASK_CSI_RPT_OFFSET_HT_V1_8733B) << BIT_SHIFT_CSI_RPT_OFFSET_HT_V1_8733B)
#define BITS_CSI_RPT_OFFSET_HT_V1_8733B (BIT_MASK_CSI_RPT_OFFSET_HT_V1_8733B << BIT_SHIFT_CSI_RPT_OFFSET_HT_V1_8733B)
#define BIT_CLEAR_CSI_RPT_OFFSET_HT_V1_8733B(x) ((x) & (~BITS_CSI_RPT_OFFSET_HT_V1_8733B))
#define BIT_GET_CSI_RPT_OFFSET_HT_V1_8733B(x) (((x) >> BIT_SHIFT_CSI_RPT_OFFSET_HT_V1_8733B) & BIT_MASK_CSI_RPT_OFFSET_HT_V1_8733B)
#define BIT_SET_CSI_RPT_OFFSET_HT_V1_8733B(x, v) (BIT_CLEAR_CSI_RPT_OFFSET_HT_V1_8733B(x) | BIT_CSI_RPT_OFFSET_HT_V1_8733B(v))

#define BIT_R_WMAC_OFFSET_RPTPOLL_EN_8733B BIT(15)
#define BIT_R_WMAC_CSI_CHKSUM_DIS_8733B BIT(14)

#define BIT_SHIFT_R_WMAC_VHT_CATEGORY_V1_8733B 8
#define BIT_MASK_R_WMAC_VHT_CATEGORY_V1_8733B 0x3f
#define BIT_R_WMAC_VHT_CATEGORY_V1_8733B(x) (((x) & BIT_MASK_R_WMAC_VHT_CATEGORY_V1_8733B) << BIT_SHIFT_R_WMAC_VHT_CATEGORY_V1_8733B)
#define BITS_R_WMAC_VHT_CATEGORY_V1_8733B (BIT_MASK_R_WMAC_VHT_CATEGORY_V1_8733B << BIT_SHIFT_R_WMAC_VHT_CATEGORY_V1_8733B)
#define BIT_CLEAR_R_WMAC_VHT_CATEGORY_V1_8733B(x) ((x) & (~BITS_R_WMAC_VHT_CATEGORY_V1_8733B))
#define BIT_GET_R_WMAC_VHT_CATEGORY_V1_8733B(x) (((x) >> BIT_SHIFT_R_WMAC_VHT_CATEGORY_V1_8733B) & BIT_MASK_R_WMAC_VHT_CATEGORY_V1_8733B)
#define BIT_SET_R_WMAC_VHT_CATEGORY_V1_8733B(x, v) (BIT_CLEAR_R_WMAC_VHT_CATEGORY_V1_8733B(x) | BIT_R_WMAC_VHT_CATEGORY_V1_8733B(v))

#define BIT_R_WMAC_USE_NSTS_8733B BIT(7)
#define BIT_R_DISABLE_CHECK_VHTSIGB_CRC_8733B BIT(6)
#define BIT_R_DISABLE_CHECK_VHTSIGA_CRC_8733B BIT(5)
#define BIT_R_WMAC_BFPARAM_SEL_8733B BIT(4)
#define BIT_R_WMAC_CSISEQ_SEL_8733B BIT(3)
#define BIT_R_WMAC_CSI_WITHHTC_EN_8733B BIT(2)
#define BIT_R_WMAC_HT_NDPA_EN_8733B BIT(1)
#define BIT_R_WMAC_VHT_NDPA_EN_8733B BIT(0)

/* 2 REG_BEAMFORM_STATUS_8733B */
#define BIT_WRITE_ENABLE_8733B BIT(31)
#define BIT_WMAC_CHECK_SOUNDING_SEQ_8733B BIT(30)

#define BIT_SHIFT_VHTHT_MIMO_CTRL_FIELD_8733B 1
#define BIT_MASK_VHTHT_MIMO_CTRL_FIELD_8733B 0xffffff
#define BIT_VHTHT_MIMO_CTRL_FIELD_8733B(x) (((x) & BIT_MASK_VHTHT_MIMO_CTRL_FIELD_8733B) << BIT_SHIFT_VHTHT_MIMO_CTRL_FIELD_8733B)
#define BITS_VHTHT_MIMO_CTRL_FIELD_8733B (BIT_MASK_VHTHT_MIMO_CTRL_FIELD_8733B << BIT_SHIFT_VHTHT_MIMO_CTRL_FIELD_8733B)
#define BIT_CLEAR_VHTHT_MIMO_CTRL_FIELD_8733B(x) ((x) & (~BITS_VHTHT_MIMO_CTRL_FIELD_8733B))
#define BIT_GET_VHTHT_MIMO_CTRL_FIELD_8733B(x) (((x) >> BIT_SHIFT_VHTHT_MIMO_CTRL_FIELD_8733B) & BIT_MASK_VHTHT_MIMO_CTRL_FIELD_8733B)
#define BIT_SET_VHTHT_MIMO_CTRL_FIELD_8733B(x, v) (BIT_CLEAR_VHTHT_MIMO_CTRL_FIELD_8733B(x) | BIT_VHTHT_MIMO_CTRL_FIELD_8733B(v))

#define BIT_CSI_INTRRUPT_STATUS_8733B BIT(0)

/* 2 REG_NSARP_CFG_8733B */
#define BIT_NSARP_RESPEN_8733B BIT(15)
#define BIT_NSARP_PARP_8733B BIT(9)
#define BIT_NSARP_RIPV6_8733B BIT(8)

#define BIT_SHIFT_NSARP_MODEN_8733B 6
#define BIT_MASK_NSARP_MODEN_8733B 0x3
#define BIT_NSARP_MODEN_8733B(x) (((x) & BIT_MASK_NSARP_MODEN_8733B) << BIT_SHIFT_NSARP_MODEN_8733B)
#define BITS_NSARP_MODEN_8733B (BIT_MASK_NSARP_MODEN_8733B << BIT_SHIFT_NSARP_MODEN_8733B)
#define BIT_CLEAR_NSARP_MODEN_8733B(x) ((x) & (~BITS_NSARP_MODEN_8733B))
#define BIT_GET_NSARP_MODEN_8733B(x) (((x) >> BIT_SHIFT_NSARP_MODEN_8733B) & BIT_MASK_NSARP_MODEN_8733B)
#define BIT_SET_NSARP_MODEN_8733B(x, v) (BIT_CLEAR_NSARP_MODEN_8733B(x) | BIT_NSARP_MODEN_8733B(v))

#define BIT_SHIFT_NSARP_RSPFTP_8733B 4
#define BIT_MASK_NSARP_RSPFTP_8733B 0x3
#define BIT_NSARP_RSPFTP_8733B(x) (((x) & BIT_MASK_NSARP_RSPFTP_8733B) << BIT_SHIFT_NSARP_RSPFTP_8733B)
#define BITS_NSARP_RSPFTP_8733B (BIT_MASK_NSARP_RSPFTP_8733B << BIT_SHIFT_NSARP_RSPFTP_8733B)
#define BIT_CLEAR_NSARP_RSPFTP_8733B(x) ((x) & (~BITS_NSARP_RSPFTP_8733B))
#define BIT_GET_NSARP_RSPFTP_8733B(x) (((x) >> BIT_SHIFT_NSARP_RSPFTP_8733B) & BIT_MASK_NSARP_RSPFTP_8733B)
#define BIT_SET_NSARP_RSPFTP_8733B(x, v) (BIT_CLEAR_NSARP_RSPFTP_8733B(x) | BIT_NSARP_RSPFTP_8733B(v))

#define BIT_SHIFT_NSARP_RSPSEC_8733B 0
#define BIT_MASK_NSARP_RSPSEC_8733B 0xf
#define BIT_NSARP_RSPSEC_8733B(x) (((x) & BIT_MASK_NSARP_RSPSEC_8733B) << BIT_SHIFT_NSARP_RSPSEC_8733B)
#define BITS_NSARP_RSPSEC_8733B (BIT_MASK_NSARP_RSPSEC_8733B << BIT_SHIFT_NSARP_RSPSEC_8733B)
#define BIT_CLEAR_NSARP_RSPSEC_8733B(x) ((x) & (~BITS_NSARP_RSPSEC_8733B))
#define BIT_GET_NSARP_RSPSEC_8733B(x) (((x) >> BIT_SHIFT_NSARP_RSPSEC_8733B) & BIT_MASK_NSARP_RSPSEC_8733B)
#define BIT_SET_NSARP_RSPSEC_8733B(x, v) (BIT_CLEAR_NSARP_RSPSEC_8733B(x) | BIT_NSARP_RSPSEC_8733B(v))

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_BEAMFORMING_INFO_NSARP_8733B */

#define BIT_SHIFT_UPD_BFMEE_USERID_8733B 13
#define BIT_MASK_UPD_BFMEE_USERID_8733B 0x7
#define BIT_UPD_BFMEE_USERID_8733B(x) (((x) & BIT_MASK_UPD_BFMEE_USERID_8733B) << BIT_SHIFT_UPD_BFMEE_USERID_8733B)
#define BITS_UPD_BFMEE_USERID_8733B (BIT_MASK_UPD_BFMEE_USERID_8733B << BIT_SHIFT_UPD_BFMEE_USERID_8733B)
#define BIT_CLEAR_UPD_BFMEE_USERID_8733B(x) ((x) & (~BITS_UPD_BFMEE_USERID_8733B))
#define BIT_GET_UPD_BFMEE_USERID_8733B(x) (((x) >> BIT_SHIFT_UPD_BFMEE_USERID_8733B) & BIT_MASK_UPD_BFMEE_USERID_8733B)
#define BIT_SET_UPD_BFMEE_USERID_8733B(x, v) (BIT_CLEAR_UPD_BFMEE_USERID_8733B(x) | BIT_UPD_BFMEE_USERID_8733B(v))

#define BIT_UPD_BFMEE_FBTP_8733B BIT(12)

#define BIT_SHIFT_UPD_BFMEE_BW_8733B 10
#define BIT_MASK_UPD_BFMEE_BW_8733B 0x3
#define BIT_UPD_BFMEE_BW_8733B(x) (((x) & BIT_MASK_UPD_BFMEE_BW_8733B) << BIT_SHIFT_UPD_BFMEE_BW_8733B)
#define BITS_UPD_BFMEE_BW_8733B (BIT_MASK_UPD_BFMEE_BW_8733B << BIT_SHIFT_UPD_BFMEE_BW_8733B)
#define BIT_CLEAR_UPD_BFMEE_BW_8733B(x) ((x) & (~BITS_UPD_BFMEE_BW_8733B))
#define BIT_GET_UPD_BFMEE_BW_8733B(x) (((x) >> BIT_SHIFT_UPD_BFMEE_BW_8733B) & BIT_MASK_UPD_BFMEE_BW_8733B)
#define BIT_SET_UPD_BFMEE_BW_8733B(x, v) (BIT_CLEAR_UPD_BFMEE_BW_8733B(x) | BIT_UPD_BFMEE_BW_8733B(v))

#define BIT_SHIFT_UPD_BFMEE_CB_8733B 8
#define BIT_MASK_UPD_BFMEE_CB_8733B 0x3
#define BIT_UPD_BFMEE_CB_8733B(x) (((x) & BIT_MASK_UPD_BFMEE_CB_8733B) << BIT_SHIFT_UPD_BFMEE_CB_8733B)
#define BITS_UPD_BFMEE_CB_8733B (BIT_MASK_UPD_BFMEE_CB_8733B << BIT_SHIFT_UPD_BFMEE_CB_8733B)
#define BIT_CLEAR_UPD_BFMEE_CB_8733B(x) ((x) & (~BITS_UPD_BFMEE_CB_8733B))
#define BIT_GET_UPD_BFMEE_CB_8733B(x) (((x) >> BIT_SHIFT_UPD_BFMEE_CB_8733B) & BIT_MASK_UPD_BFMEE_CB_8733B)
#define BIT_SET_UPD_BFMEE_CB_8733B(x, v) (BIT_CLEAR_UPD_BFMEE_CB_8733B(x) | BIT_UPD_BFMEE_CB_8733B(v))

#define BIT_SHIFT_UPD_BFMEE_NG_8733B 6
#define BIT_MASK_UPD_BFMEE_NG_8733B 0x3
#define BIT_UPD_BFMEE_NG_8733B(x) (((x) & BIT_MASK_UPD_BFMEE_NG_8733B) << BIT_SHIFT_UPD_BFMEE_NG_8733B)
#define BITS_UPD_BFMEE_NG_8733B (BIT_MASK_UPD_BFMEE_NG_8733B << BIT_SHIFT_UPD_BFMEE_NG_8733B)
#define BIT_CLEAR_UPD_BFMEE_NG_8733B(x) ((x) & (~BITS_UPD_BFMEE_NG_8733B))
#define BIT_GET_UPD_BFMEE_NG_8733B(x) (((x) >> BIT_SHIFT_UPD_BFMEE_NG_8733B) & BIT_MASK_UPD_BFMEE_NG_8733B)
#define BIT_SET_UPD_BFMEE_NG_8733B(x, v) (BIT_CLEAR_UPD_BFMEE_NG_8733B(x) | BIT_UPD_BFMEE_NG_8733B(v))

#define BIT_SHIFT_UPD_BFMEE_NR_8733B 3
#define BIT_MASK_UPD_BFMEE_NR_8733B 0x7
#define BIT_UPD_BFMEE_NR_8733B(x) (((x) & BIT_MASK_UPD_BFMEE_NR_8733B) << BIT_SHIFT_UPD_BFMEE_NR_8733B)
#define BITS_UPD_BFMEE_NR_8733B (BIT_MASK_UPD_BFMEE_NR_8733B << BIT_SHIFT_UPD_BFMEE_NR_8733B)
#define BIT_CLEAR_UPD_BFMEE_NR_8733B(x) ((x) & (~BITS_UPD_BFMEE_NR_8733B))
#define BIT_GET_UPD_BFMEE_NR_8733B(x) (((x) >> BIT_SHIFT_UPD_BFMEE_NR_8733B) & BIT_MASK_UPD_BFMEE_NR_8733B)
#define BIT_SET_UPD_BFMEE_NR_8733B(x, v) (BIT_CLEAR_UPD_BFMEE_NR_8733B(x) | BIT_UPD_BFMEE_NR_8733B(v))

#define BIT_SHIFT_UPD_BFMEE_NC_8733B 0
#define BIT_MASK_UPD_BFMEE_NC_8733B 0x7
#define BIT_UPD_BFMEE_NC_8733B(x) (((x) & BIT_MASK_UPD_BFMEE_NC_8733B) << BIT_SHIFT_UPD_BFMEE_NC_8733B)
#define BITS_UPD_BFMEE_NC_8733B (BIT_MASK_UPD_BFMEE_NC_8733B << BIT_SHIFT_UPD_BFMEE_NC_8733B)
#define BIT_CLEAR_UPD_BFMEE_NC_8733B(x) ((x) & (~BITS_UPD_BFMEE_NC_8733B))
#define BIT_GET_UPD_BFMEE_NC_8733B(x) (((x) >> BIT_SHIFT_UPD_BFMEE_NC_8733B) & BIT_MASK_UPD_BFMEE_NC_8733B)
#define BIT_SET_UPD_BFMEE_NC_8733B(x, v) (BIT_CLEAR_UPD_BFMEE_NC_8733B(x) | BIT_UPD_BFMEE_NC_8733B(v))

/* 2 REG_IPV6_0_8733B */

#define BIT_SHIFT_IPV6_MYIPAD_0_8733B 0
#define BIT_MASK_IPV6_MYIPAD_0_8733B 0xffffffffL
#define BIT_IPV6_MYIPAD_0_8733B(x) (((x) & BIT_MASK_IPV6_MYIPAD_0_8733B) << BIT_SHIFT_IPV6_MYIPAD_0_8733B)
#define BITS_IPV6_MYIPAD_0_8733B (BIT_MASK_IPV6_MYIPAD_0_8733B << BIT_SHIFT_IPV6_MYIPAD_0_8733B)
#define BIT_CLEAR_IPV6_MYIPAD_0_8733B(x) ((x) & (~BITS_IPV6_MYIPAD_0_8733B))
#define BIT_GET_IPV6_MYIPAD_0_8733B(x) (((x) >> BIT_SHIFT_IPV6_MYIPAD_0_8733B) & BIT_MASK_IPV6_MYIPAD_0_8733B)
#define BIT_SET_IPV6_MYIPAD_0_8733B(x, v) (BIT_CLEAR_IPV6_MYIPAD_0_8733B(x) | BIT_IPV6_MYIPAD_0_8733B(v))

/* 2 REG_IPV6_1_8733B */

#define BIT_SHIFT_IPV6_MYIPAD_1_8733B 0
#define BIT_MASK_IPV6_MYIPAD_1_8733B 0xffffffffL
#define BIT_IPV6_MYIPAD_1_8733B(x) (((x) & BIT_MASK_IPV6_MYIPAD_1_8733B) << BIT_SHIFT_IPV6_MYIPAD_1_8733B)
#define BITS_IPV6_MYIPAD_1_8733B (BIT_MASK_IPV6_MYIPAD_1_8733B << BIT_SHIFT_IPV6_MYIPAD_1_8733B)
#define BIT_CLEAR_IPV6_MYIPAD_1_8733B(x) ((x) & (~BITS_IPV6_MYIPAD_1_8733B))
#define BIT_GET_IPV6_MYIPAD_1_8733B(x) (((x) >> BIT_SHIFT_IPV6_MYIPAD_1_8733B) & BIT_MASK_IPV6_MYIPAD_1_8733B)
#define BIT_SET_IPV6_MYIPAD_1_8733B(x, v) (BIT_CLEAR_IPV6_MYIPAD_1_8733B(x) | BIT_IPV6_MYIPAD_1_8733B(v))

/* 2 REG_IPV6_2_8733B */

#define BIT_SHIFT_IPV6_MYIPAD_2_8733B 0
#define BIT_MASK_IPV6_MYIPAD_2_8733B 0xffffffffL
#define BIT_IPV6_MYIPAD_2_8733B(x) (((x) & BIT_MASK_IPV6_MYIPAD_2_8733B) << BIT_SHIFT_IPV6_MYIPAD_2_8733B)
#define BITS_IPV6_MYIPAD_2_8733B (BIT_MASK_IPV6_MYIPAD_2_8733B << BIT_SHIFT_IPV6_MYIPAD_2_8733B)
#define BIT_CLEAR_IPV6_MYIPAD_2_8733B(x) ((x) & (~BITS_IPV6_MYIPAD_2_8733B))
#define BIT_GET_IPV6_MYIPAD_2_8733B(x) (((x) >> BIT_SHIFT_IPV6_MYIPAD_2_8733B) & BIT_MASK_IPV6_MYIPAD_2_8733B)
#define BIT_SET_IPV6_MYIPAD_2_8733B(x, v) (BIT_CLEAR_IPV6_MYIPAD_2_8733B(x) | BIT_IPV6_MYIPAD_2_8733B(v))

/* 2 REG_IPV6_3_8733B */

#define BIT_SHIFT_IPV6_MYIPAD_3_8733B 0
#define BIT_MASK_IPV6_MYIPAD_3_8733B 0xffffffffL
#define BIT_IPV6_MYIPAD_3_8733B(x) (((x) & BIT_MASK_IPV6_MYIPAD_3_8733B) << BIT_SHIFT_IPV6_MYIPAD_3_8733B)
#define BITS_IPV6_MYIPAD_3_8733B (BIT_MASK_IPV6_MYIPAD_3_8733B << BIT_SHIFT_IPV6_MYIPAD_3_8733B)
#define BIT_CLEAR_IPV6_MYIPAD_3_8733B(x) ((x) & (~BITS_IPV6_MYIPAD_3_8733B))
#define BIT_GET_IPV6_MYIPAD_3_8733B(x) (((x) >> BIT_SHIFT_IPV6_MYIPAD_3_8733B) & BIT_MASK_IPV6_MYIPAD_3_8733B)
#define BIT_SET_IPV6_MYIPAD_3_8733B(x, v) (BIT_CLEAR_IPV6_MYIPAD_3_8733B(x) | BIT_IPV6_MYIPAD_3_8733B(v))

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_WMAC_RTX_CTX_SUBTYPE_CFG_8733B */

#define BIT_SHIFT_R_WMAC_CTX_SUBTYPE_8733B 4
#define BIT_MASK_R_WMAC_CTX_SUBTYPE_8733B 0xf
#define BIT_R_WMAC_CTX_SUBTYPE_8733B(x) (((x) & BIT_MASK_R_WMAC_CTX_SUBTYPE_8733B) << BIT_SHIFT_R_WMAC_CTX_SUBTYPE_8733B)
#define BITS_R_WMAC_CTX_SUBTYPE_8733B (BIT_MASK_R_WMAC_CTX_SUBTYPE_8733B << BIT_SHIFT_R_WMAC_CTX_SUBTYPE_8733B)
#define BIT_CLEAR_R_WMAC_CTX_SUBTYPE_8733B(x) ((x) & (~BITS_R_WMAC_CTX_SUBTYPE_8733B))
#define BIT_GET_R_WMAC_CTX_SUBTYPE_8733B(x) (((x) >> BIT_SHIFT_R_WMAC_CTX_SUBTYPE_8733B) & BIT_MASK_R_WMAC_CTX_SUBTYPE_8733B)
#define BIT_SET_R_WMAC_CTX_SUBTYPE_8733B(x, v) (BIT_CLEAR_R_WMAC_CTX_SUBTYPE_8733B(x) | BIT_R_WMAC_CTX_SUBTYPE_8733B(v))

#define BIT_SHIFT_R_WMAC_RTX_SUBTYPE_8733B 0
#define BIT_MASK_R_WMAC_RTX_SUBTYPE_8733B 0xf
#define BIT_R_WMAC_RTX_SUBTYPE_8733B(x) (((x) & BIT_MASK_R_WMAC_RTX_SUBTYPE_8733B) << BIT_SHIFT_R_WMAC_RTX_SUBTYPE_8733B)
#define BITS_R_WMAC_RTX_SUBTYPE_8733B (BIT_MASK_R_WMAC_RTX_SUBTYPE_8733B << BIT_SHIFT_R_WMAC_RTX_SUBTYPE_8733B)
#define BIT_CLEAR_R_WMAC_RTX_SUBTYPE_8733B(x) ((x) & (~BITS_R_WMAC_RTX_SUBTYPE_8733B))
#define BIT_GET_R_WMAC_RTX_SUBTYPE_8733B(x) (((x) >> BIT_SHIFT_R_WMAC_RTX_SUBTYPE_8733B) & BIT_MASK_R_WMAC_RTX_SUBTYPE_8733B)
#define BIT_SET_R_WMAC_RTX_SUBTYPE_8733B(x, v) (BIT_CLEAR_R_WMAC_RTX_SUBTYPE_8733B(x) | BIT_R_WMAC_RTX_SUBTYPE_8733B(v))

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_WMAC_SWAES_CFG_8733B */
#define BIT_SWAES_REQ_8733B BIT(7)
#define BIT_R_WMAC_SWAES_WE_8733B BIT(3)
#define BIT_R_WMAC_SWAES_SEL_8733B BIT(0)

/* 2 REG_BT_PRI_8733B */
#define BIT_BTCOEX_SW_RST_8733B BIT(15)
#define BIT_GNT_BOTH_POL_8733B BIT(12)
#define BIT_BT_ARB_INST_EN_8733B BIT(8)

#define BIT_SHIFT_BT_ARB_TIME_8733B 0
#define BIT_MASK_BT_ARB_TIME_8733B 0xff
#define BIT_BT_ARB_TIME_8733B(x) (((x) & BIT_MASK_BT_ARB_TIME_8733B) << BIT_SHIFT_BT_ARB_TIME_8733B)
#define BITS_BT_ARB_TIME_8733B (BIT_MASK_BT_ARB_TIME_8733B << BIT_SHIFT_BT_ARB_TIME_8733B)
#define BIT_CLEAR_BT_ARB_TIME_8733B(x) ((x) & (~BITS_BT_ARB_TIME_8733B))
#define BIT_GET_BT_ARB_TIME_8733B(x) (((x) >> BIT_SHIFT_BT_ARB_TIME_8733B) & BIT_MASK_BT_ARB_TIME_8733B)
#define BIT_SET_BT_ARB_TIME_8733B(x, v) (BIT_CLEAR_BT_ARB_TIME_8733B(x) | BIT_BT_ARB_TIME_8733B(v))

/* 2 REG_BT_COEX_ENH_8733B */
#define BIT_R_GNT_BT_RFC_SW_8733B BIT(12)
#define BIT_R_GNT_BT_RFC_SW_EN_8733B BIT(11)
#define BIT_R_GNT_BT_BB_SW_8733B BIT(10)
#define BIT_R_GNT_BT_BB_SW_EN_8733B BIT(9)
#define BIT_R_BT_CNT_THREN_8733B BIT(8)

#define BIT_SHIFT_R_BT_CNT_THR_8733B 0
#define BIT_MASK_R_BT_CNT_THR_8733B 0xff
#define BIT_R_BT_CNT_THR_8733B(x) (((x) & BIT_MASK_R_BT_CNT_THR_8733B) << BIT_SHIFT_R_BT_CNT_THR_8733B)
#define BITS_R_BT_CNT_THR_8733B (BIT_MASK_R_BT_CNT_THR_8733B << BIT_SHIFT_R_BT_CNT_THR_8733B)
#define BIT_CLEAR_R_BT_CNT_THR_8733B(x) ((x) & (~BITS_R_BT_CNT_THR_8733B))
#define BIT_GET_R_BT_CNT_THR_8733B(x) (((x) >> BIT_SHIFT_R_BT_CNT_THR_8733B) & BIT_MASK_R_BT_CNT_THR_8733B)
#define BIT_SET_R_BT_CNT_THR_8733B(x, v) (BIT_CLEAR_R_BT_CNT_THR_8733B(x) | BIT_R_BT_CNT_THR_8733B(v))

/* 2 REG_WLAN_ACT_MASK_CTRL_8733B */

#define BIT_SHIFT_WACTMSK_OFF_DUR_8733B 8
#define BIT_MASK_WACTMSK_OFF_DUR_8733B 0xff
#define BIT_WACTMSK_OFF_DUR_8733B(x) (((x) & BIT_MASK_WACTMSK_OFF_DUR_8733B) << BIT_SHIFT_WACTMSK_OFF_DUR_8733B)
#define BITS_WACTMSK_OFF_DUR_8733B (BIT_MASK_WACTMSK_OFF_DUR_8733B << BIT_SHIFT_WACTMSK_OFF_DUR_8733B)
#define BIT_CLEAR_WACTMSK_OFF_DUR_8733B(x) ((x) & (~BITS_WACTMSK_OFF_DUR_8733B))
#define BIT_GET_WACTMSK_OFF_DUR_8733B(x) (((x) >> BIT_SHIFT_WACTMSK_OFF_DUR_8733B) & BIT_MASK_WACTMSK_OFF_DUR_8733B)
#define BIT_SET_WACTMSK_OFF_DUR_8733B(x, v) (BIT_CLEAR_WACTMSK_OFF_DUR_8733B(x) | BIT_WACTMSK_OFF_DUR_8733B(v))

#define BIT_SHIFT_WACTMSK_ON_DUR_8733B 0
#define BIT_MASK_WACTMSK_ON_DUR_8733B 0xff
#define BIT_WACTMSK_ON_DUR_8733B(x) (((x) & BIT_MASK_WACTMSK_ON_DUR_8733B) << BIT_SHIFT_WACTMSK_ON_DUR_8733B)
#define BITS_WACTMSK_ON_DUR_8733B (BIT_MASK_WACTMSK_ON_DUR_8733B << BIT_SHIFT_WACTMSK_ON_DUR_8733B)
#define BIT_CLEAR_WACTMSK_ON_DUR_8733B(x) ((x) & (~BITS_WACTMSK_ON_DUR_8733B))
#define BIT_GET_WACTMSK_ON_DUR_8733B(x) (((x) >> BIT_SHIFT_WACTMSK_ON_DUR_8733B) & BIT_MASK_WACTMSK_ON_DUR_8733B)
#define BIT_SET_WACTMSK_ON_DUR_8733B(x, v) (BIT_CLEAR_WACTMSK_ON_DUR_8733B(x) | BIT_WACTMSK_ON_DUR_8733B(v))

/* 2 REG_WLAN_ACT_MASK_CTRL_1_8733B */
#define BIT_WLRX_TER_BY_CTL_1_8733B BIT(11)
#define BIT_WLRX_TER_BY_AD_1_8733B BIT(10)
#define BIT_ANT_DIVERSITY_SEL_1_8733B BIT(9)
#define BIT_ANTSEL_FOR_BT_CTRL_EN_1_8733B BIT(8)
#define BIT_WLACT_LOW_GNTWL_EN_1_8733B BIT(2)
#define BIT_WLACT_HIGH_GNTBT_EN_1_8733B BIT(1)
#define BIT_NAV_UPPER_1_V1_8733B BIT(0)

/* 2 REG_BT_COEX_ENHANCED_INTR_CTRL_8733B */

#define BIT_SHIFT_BT_STAT_DELAY_8733B 12
#define BIT_MASK_BT_STAT_DELAY_8733B 0xf
#define BIT_BT_STAT_DELAY_8733B(x) (((x) & BIT_MASK_BT_STAT_DELAY_8733B) << BIT_SHIFT_BT_STAT_DELAY_8733B)
#define BITS_BT_STAT_DELAY_8733B (BIT_MASK_BT_STAT_DELAY_8733B << BIT_SHIFT_BT_STAT_DELAY_8733B)
#define BIT_CLEAR_BT_STAT_DELAY_8733B(x) ((x) & (~BITS_BT_STAT_DELAY_8733B))
#define BIT_GET_BT_STAT_DELAY_8733B(x) (((x) >> BIT_SHIFT_BT_STAT_DELAY_8733B) & BIT_MASK_BT_STAT_DELAY_8733B)
#define BIT_SET_BT_STAT_DELAY_8733B(x, v) (BIT_CLEAR_BT_STAT_DELAY_8733B(x) | BIT_BT_STAT_DELAY_8733B(v))

#define BIT_SHIFT_BT_TRX_INIT_DETECT_8733B 8
#define BIT_MASK_BT_TRX_INIT_DETECT_8733B 0xf
#define BIT_BT_TRX_INIT_DETECT_8733B(x) (((x) & BIT_MASK_BT_TRX_INIT_DETECT_8733B) << BIT_SHIFT_BT_TRX_INIT_DETECT_8733B)
#define BITS_BT_TRX_INIT_DETECT_8733B (BIT_MASK_BT_TRX_INIT_DETECT_8733B << BIT_SHIFT_BT_TRX_INIT_DETECT_8733B)
#define BIT_CLEAR_BT_TRX_INIT_DETECT_8733B(x) ((x) & (~BITS_BT_TRX_INIT_DETECT_8733B))
#define BIT_GET_BT_TRX_INIT_DETECT_8733B(x) (((x) >> BIT_SHIFT_BT_TRX_INIT_DETECT_8733B) & BIT_MASK_BT_TRX_INIT_DETECT_8733B)
#define BIT_SET_BT_TRX_INIT_DETECT_8733B(x, v) (BIT_CLEAR_BT_TRX_INIT_DETECT_8733B(x) | BIT_BT_TRX_INIT_DETECT_8733B(v))

#define BIT_SHIFT_BT_PRI_DETECT_TO_8733B 4
#define BIT_MASK_BT_PRI_DETECT_TO_8733B 0xf
#define BIT_BT_PRI_DETECT_TO_8733B(x) (((x) & BIT_MASK_BT_PRI_DETECT_TO_8733B) << BIT_SHIFT_BT_PRI_DETECT_TO_8733B)
#define BITS_BT_PRI_DETECT_TO_8733B (BIT_MASK_BT_PRI_DETECT_TO_8733B << BIT_SHIFT_BT_PRI_DETECT_TO_8733B)
#define BIT_CLEAR_BT_PRI_DETECT_TO_8733B(x) ((x) & (~BITS_BT_PRI_DETECT_TO_8733B))
#define BIT_GET_BT_PRI_DETECT_TO_8733B(x) (((x) >> BIT_SHIFT_BT_PRI_DETECT_TO_8733B) & BIT_MASK_BT_PRI_DETECT_TO_8733B)
#define BIT_SET_BT_PRI_DETECT_TO_8733B(x, v) (BIT_CLEAR_BT_PRI_DETECT_TO_8733B(x) | BIT_BT_PRI_DETECT_TO_8733B(v))

#define BIT_R_GRANTALL_WLMASK_8733B BIT(3)
#define BIT_STATIS_BT_EN_8733B BIT(2)
#define BIT_WL_ACT_MASK_ENABLE_8733B BIT(1)
#define BIT_ENHANCED_BT_8733B BIT(0)

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_BT_PROPRI_8733B */

#define BIT_SHIFT_BT_HID_ISR_SET_8733B 6
#define BIT_MASK_BT_HID_ISR_SET_8733B 0x3
#define BIT_BT_HID_ISR_SET_8733B(x) (((x) & BIT_MASK_BT_HID_ISR_SET_8733B) << BIT_SHIFT_BT_HID_ISR_SET_8733B)
#define BITS_BT_HID_ISR_SET_8733B (BIT_MASK_BT_HID_ISR_SET_8733B << BIT_SHIFT_BT_HID_ISR_SET_8733B)
#define BIT_CLEAR_BT_HID_ISR_SET_8733B(x) ((x) & (~BITS_BT_HID_ISR_SET_8733B))
#define BIT_GET_BT_HID_ISR_SET_8733B(x) (((x) >> BIT_SHIFT_BT_HID_ISR_SET_8733B) & BIT_MASK_BT_HID_ISR_SET_8733B)
#define BIT_SET_BT_HID_ISR_SET_8733B(x, v) (BIT_CLEAR_BT_HID_ISR_SET_8733B(x) | BIT_BT_HID_ISR_SET_8733B(v))

#define BIT_TDMA_BT_START_NOTIFY_8733B BIT(5)
#define BIT_ENABLE_TDMA_HW_MODE_8733B BIT(4)
#define BIT_ENABLE_PTA_TDMA_MODE_8733B BIT(3)
#define BIT_ENABLE_COEXIST_TAB_IN_TDMA_8733B BIT(2)
#define BIT_GPIO2_GPIO3_EXANGE_OR_NO_BT_CCA_8733B BIT(1)
#define BIT_RTK_BT_ENABLE_8733B BIT(0)

/* 2 REG_BT_STATUS_REPORT_REGISTER_8733B */

#define BIT_SHIFT_BT_PROFILE_8733B 24
#define BIT_MASK_BT_PROFILE_8733B 0xff
#define BIT_BT_PROFILE_8733B(x) (((x) & BIT_MASK_BT_PROFILE_8733B) << BIT_SHIFT_BT_PROFILE_8733B)
#define BITS_BT_PROFILE_8733B (BIT_MASK_BT_PROFILE_8733B << BIT_SHIFT_BT_PROFILE_8733B)
#define BIT_CLEAR_BT_PROFILE_8733B(x) ((x) & (~BITS_BT_PROFILE_8733B))
#define BIT_GET_BT_PROFILE_8733B(x) (((x) >> BIT_SHIFT_BT_PROFILE_8733B) & BIT_MASK_BT_PROFILE_8733B)
#define BIT_SET_BT_PROFILE_8733B(x, v) (BIT_CLEAR_BT_PROFILE_8733B(x) | BIT_BT_PROFILE_8733B(v))

#define BIT_SHIFT_BT_POWER_8733B 16
#define BIT_MASK_BT_POWER_8733B 0xff
#define BIT_BT_POWER_8733B(x) (((x) & BIT_MASK_BT_POWER_8733B) << BIT_SHIFT_BT_POWER_8733B)
#define BITS_BT_POWER_8733B (BIT_MASK_BT_POWER_8733B << BIT_SHIFT_BT_POWER_8733B)
#define BIT_CLEAR_BT_POWER_8733B(x) ((x) & (~BITS_BT_POWER_8733B))
#define BIT_GET_BT_POWER_8733B(x) (((x) >> BIT_SHIFT_BT_POWER_8733B) & BIT_MASK_BT_POWER_8733B)
#define BIT_SET_BT_POWER_8733B(x, v) (BIT_CLEAR_BT_POWER_8733B(x) | BIT_BT_POWER_8733B(v))

#define BIT_SHIFT_BT_PREDECT_STATUS_8733B 8
#define BIT_MASK_BT_PREDECT_STATUS_8733B 0xff
#define BIT_BT_PREDECT_STATUS_8733B(x) (((x) & BIT_MASK_BT_PREDECT_STATUS_8733B) << BIT_SHIFT_BT_PREDECT_STATUS_8733B)
#define BITS_BT_PREDECT_STATUS_8733B (BIT_MASK_BT_PREDECT_STATUS_8733B << BIT_SHIFT_BT_PREDECT_STATUS_8733B)
#define BIT_CLEAR_BT_PREDECT_STATUS_8733B(x) ((x) & (~BITS_BT_PREDECT_STATUS_8733B))
#define BIT_GET_BT_PREDECT_STATUS_8733B(x) (((x) >> BIT_SHIFT_BT_PREDECT_STATUS_8733B) & BIT_MASK_BT_PREDECT_STATUS_8733B)
#define BIT_SET_BT_PREDECT_STATUS_8733B(x, v) (BIT_CLEAR_BT_PREDECT_STATUS_8733B(x) | BIT_BT_PREDECT_STATUS_8733B(v))

#define BIT_SHIFT_BT_CMD_ID_8733B 0
#define BIT_MASK_BT_CMD_ID_8733B 0xff
#define BIT_BT_CMD_ID_8733B(x) (((x) & BIT_MASK_BT_CMD_ID_8733B) << BIT_SHIFT_BT_CMD_ID_8733B)
#define BITS_BT_CMD_ID_8733B (BIT_MASK_BT_CMD_ID_8733B << BIT_SHIFT_BT_CMD_ID_8733B)
#define BIT_CLEAR_BT_CMD_ID_8733B(x) ((x) & (~BITS_BT_CMD_ID_8733B))
#define BIT_GET_BT_CMD_ID_8733B(x) (((x) >> BIT_SHIFT_BT_CMD_ID_8733B) & BIT_MASK_BT_CMD_ID_8733B)
#define BIT_SET_BT_CMD_ID_8733B(x, v) (BIT_CLEAR_BT_CMD_ID_8733B(x) | BIT_BT_CMD_ID_8733B(v))

/* 2 REG_BT_INTERRUPT_CONTROL_REGISTER_8733B */
#define BIT_EN_MAC_NULL_PKT_NOTIFY_8733B BIT(31)
#define BIT_EN_WLAN_RPT_AND_BT_QUERY_8733B BIT(30)
#define BIT_EN_BT_STSTUS_RPT_8733B BIT(29)
#define BIT_EN_BT_POWER_8733B BIT(28)
#define BIT_EN_BT_CHANNEL_8733B BIT(27)
#define BIT_EN_BT_SLOT_CHANGE_8733B BIT(26)
#define BIT_EN_BT_PROFILE_OR_HID_8733B BIT(25)
#define BIT_WLAN_RPT_NOTIFY_8733B BIT(24)

#define BIT_SHIFT_WLAN_RPT_DATA_8733B 16
#define BIT_MASK_WLAN_RPT_DATA_8733B 0xff
#define BIT_WLAN_RPT_DATA_8733B(x) (((x) & BIT_MASK_WLAN_RPT_DATA_8733B) << BIT_SHIFT_WLAN_RPT_DATA_8733B)
#define BITS_WLAN_RPT_DATA_8733B (BIT_MASK_WLAN_RPT_DATA_8733B << BIT_SHIFT_WLAN_RPT_DATA_8733B)
#define BIT_CLEAR_WLAN_RPT_DATA_8733B(x) ((x) & (~BITS_WLAN_RPT_DATA_8733B))
#define BIT_GET_WLAN_RPT_DATA_8733B(x) (((x) >> BIT_SHIFT_WLAN_RPT_DATA_8733B) & BIT_MASK_WLAN_RPT_DATA_8733B)
#define BIT_SET_WLAN_RPT_DATA_8733B(x, v) (BIT_CLEAR_WLAN_RPT_DATA_8733B(x) | BIT_WLAN_RPT_DATA_8733B(v))

#define BIT_SHIFT_TO_BT_CMDID_8733B 8
#define BIT_MASK_TO_BT_CMDID_8733B 0xff
#define BIT_TO_BT_CMDID_8733B(x) (((x) & BIT_MASK_TO_BT_CMDID_8733B) << BIT_SHIFT_TO_BT_CMDID_8733B)
#define BITS_TO_BT_CMDID_8733B (BIT_MASK_TO_BT_CMDID_8733B << BIT_SHIFT_TO_BT_CMDID_8733B)
#define BIT_CLEAR_TO_BT_CMDID_8733B(x) ((x) & (~BITS_TO_BT_CMDID_8733B))
#define BIT_GET_TO_BT_CMDID_8733B(x) (((x) >> BIT_SHIFT_TO_BT_CMDID_8733B) & BIT_MASK_TO_BT_CMDID_8733B)
#define BIT_SET_TO_BT_CMDID_8733B(x, v) (BIT_CLEAR_TO_BT_CMDID_8733B(x) | BIT_TO_BT_CMDID_8733B(v))

#define BIT_SHIFT_BT_DATA_8733B 0
#define BIT_MASK_BT_DATA_8733B 0xff
#define BIT_BT_DATA_8733B(x) (((x) & BIT_MASK_BT_DATA_8733B) << BIT_SHIFT_BT_DATA_8733B)
#define BITS_BT_DATA_8733B (BIT_MASK_BT_DATA_8733B << BIT_SHIFT_BT_DATA_8733B)
#define BIT_CLEAR_BT_DATA_8733B(x) ((x) & (~BITS_BT_DATA_8733B))
#define BIT_GET_BT_DATA_8733B(x) (((x) >> BIT_SHIFT_BT_DATA_8733B) & BIT_MASK_BT_DATA_8733B)
#define BIT_SET_BT_DATA_8733B(x, v) (BIT_CLEAR_BT_DATA_8733B(x) | BIT_BT_DATA_8733B(v))

/* 2 REG_WLAN_REPORT_TIME_OUT_CONTROL_REGISTER_8733B */

#define BIT_SHIFT_WLAN_RPT_TO_8733B 0
#define BIT_MASK_WLAN_RPT_TO_8733B 0xff
#define BIT_WLAN_RPT_TO_8733B(x) (((x) & BIT_MASK_WLAN_RPT_TO_8733B) << BIT_SHIFT_WLAN_RPT_TO_8733B)
#define BITS_WLAN_RPT_TO_8733B (BIT_MASK_WLAN_RPT_TO_8733B << BIT_SHIFT_WLAN_RPT_TO_8733B)
#define BIT_CLEAR_WLAN_RPT_TO_8733B(x) ((x) & (~BITS_WLAN_RPT_TO_8733B))
#define BIT_GET_WLAN_RPT_TO_8733B(x) (((x) >> BIT_SHIFT_WLAN_RPT_TO_8733B) & BIT_MASK_WLAN_RPT_TO_8733B)
#define BIT_SET_WLAN_RPT_TO_8733B(x, v) (BIT_CLEAR_WLAN_RPT_TO_8733B(x) | BIT_WLAN_RPT_TO_8733B(v))

/* 2 REG_CH_COEXIST_8733B */

#define BIT_SHIFT_ISOLATION_CHK_0_8733B 1
#define BIT_MASK_ISOLATION_CHK_0_8733B 0x7fffff
#define BIT_ISOLATION_CHK_0_8733B(x) (((x) & BIT_MASK_ISOLATION_CHK_0_8733B) << BIT_SHIFT_ISOLATION_CHK_0_8733B)
#define BITS_ISOLATION_CHK_0_8733B (BIT_MASK_ISOLATION_CHK_0_8733B << BIT_SHIFT_ISOLATION_CHK_0_8733B)
#define BIT_CLEAR_ISOLATION_CHK_0_8733B(x) ((x) & (~BITS_ISOLATION_CHK_0_8733B))
#define BIT_GET_ISOLATION_CHK_0_8733B(x) (((x) >> BIT_SHIFT_ISOLATION_CHK_0_8733B) & BIT_MASK_ISOLATION_CHK_0_8733B)
#define BIT_SET_ISOLATION_CHK_0_8733B(x, v) (BIT_CLEAR_ISOLATION_CHK_0_8733B(x) | BIT_ISOLATION_CHK_0_8733B(v))

#define BIT_ISOLATION_EN_8733B BIT(0)

/* 2 REG_BT_ISOLATION_TABLE_REGISTER_REGISTER_1_8733B */

#define BIT_SHIFT_ISOLATION_CHK_1_8733B 0
#define BIT_MASK_ISOLATION_CHK_1_8733B 0xffffffffL
#define BIT_ISOLATION_CHK_1_8733B(x) (((x) & BIT_MASK_ISOLATION_CHK_1_8733B) << BIT_SHIFT_ISOLATION_CHK_1_8733B)
#define BITS_ISOLATION_CHK_1_8733B (BIT_MASK_ISOLATION_CHK_1_8733B << BIT_SHIFT_ISOLATION_CHK_1_8733B)
#define BIT_CLEAR_ISOLATION_CHK_1_8733B(x) ((x) & (~BITS_ISOLATION_CHK_1_8733B))
#define BIT_GET_ISOLATION_CHK_1_8733B(x) (((x) >> BIT_SHIFT_ISOLATION_CHK_1_8733B) & BIT_MASK_ISOLATION_CHK_1_8733B)
#define BIT_SET_ISOLATION_CHK_1_8733B(x, v) (BIT_CLEAR_ISOLATION_CHK_1_8733B(x) | BIT_ISOLATION_CHK_1_8733B(v))

/* 2 REG_BT_ISOLATION_TABLE_REGISTER_REGISTER_2_8733B */

#define BIT_SHIFT_ISOLATION_CHK_2_8733B 0
#define BIT_MASK_ISOLATION_CHK_2_8733B 0xffffff
#define BIT_ISOLATION_CHK_2_8733B(x) (((x) & BIT_MASK_ISOLATION_CHK_2_8733B) << BIT_SHIFT_ISOLATION_CHK_2_8733B)
#define BITS_ISOLATION_CHK_2_8733B (BIT_MASK_ISOLATION_CHK_2_8733B << BIT_SHIFT_ISOLATION_CHK_2_8733B)
#define BIT_CLEAR_ISOLATION_CHK_2_8733B(x) ((x) & (~BITS_ISOLATION_CHK_2_8733B))
#define BIT_GET_ISOLATION_CHK_2_8733B(x) (((x) >> BIT_SHIFT_ISOLATION_CHK_2_8733B) & BIT_MASK_ISOLATION_CHK_2_8733B)
#define BIT_SET_ISOLATION_CHK_2_8733B(x, v) (BIT_CLEAR_ISOLATION_CHK_2_8733B(x) | BIT_ISOLATION_CHK_2_8733B(v))

/* 2 REG_BT_INTERRUPT_STATUS_REGISTER_8733B */
#define BIT_BT_HID_ISR_8733B BIT(7)
#define BIT_BT_QUERY_ISR_8733B BIT(6)
#define BIT_MAC_NULL_PKT_NOTIFY_ISR_8733B BIT(5)
#define BIT_WLAN_RPT_ISR_8733B BIT(4)
#define BIT_BT_POWER_ISR_8733B BIT(3)
#define BIT_BT_CHANNEL_ISR_8733B BIT(2)
#define BIT_BT_SLOT_CHANGE_ISR_8733B BIT(1)
#define BIT_BT_PROFILE_ISR_8733B BIT(0)

/* 2 REG_BT_TDMA_TIME_REGISTER_8733B */

#define BIT_SHIFT_BT_TIME_8733B 6
#define BIT_MASK_BT_TIME_8733B 0x3ffffff
#define BIT_BT_TIME_8733B(x) (((x) & BIT_MASK_BT_TIME_8733B) << BIT_SHIFT_BT_TIME_8733B)
#define BITS_BT_TIME_8733B (BIT_MASK_BT_TIME_8733B << BIT_SHIFT_BT_TIME_8733B)
#define BIT_CLEAR_BT_TIME_8733B(x) ((x) & (~BITS_BT_TIME_8733B))
#define BIT_GET_BT_TIME_8733B(x) (((x) >> BIT_SHIFT_BT_TIME_8733B) & BIT_MASK_BT_TIME_8733B)
#define BIT_SET_BT_TIME_8733B(x, v) (BIT_CLEAR_BT_TIME_8733B(x) | BIT_BT_TIME_8733B(v))

#define BIT_SHIFT_BT_RPT_SAMPLE_RATE_8733B 0
#define BIT_MASK_BT_RPT_SAMPLE_RATE_8733B 0x3f
#define BIT_BT_RPT_SAMPLE_RATE_8733B(x) (((x) & BIT_MASK_BT_RPT_SAMPLE_RATE_8733B) << BIT_SHIFT_BT_RPT_SAMPLE_RATE_8733B)
#define BITS_BT_RPT_SAMPLE_RATE_8733B (BIT_MASK_BT_RPT_SAMPLE_RATE_8733B << BIT_SHIFT_BT_RPT_SAMPLE_RATE_8733B)
#define BIT_CLEAR_BT_RPT_SAMPLE_RATE_8733B(x) ((x) & (~BITS_BT_RPT_SAMPLE_RATE_8733B))
#define BIT_GET_BT_RPT_SAMPLE_RATE_8733B(x) (((x) >> BIT_SHIFT_BT_RPT_SAMPLE_RATE_8733B) & BIT_MASK_BT_RPT_SAMPLE_RATE_8733B)
#define BIT_SET_BT_RPT_SAMPLE_RATE_8733B(x, v) (BIT_CLEAR_BT_RPT_SAMPLE_RATE_8733B(x) | BIT_BT_RPT_SAMPLE_RATE_8733B(v))

/* 2 REG_BT_ACT_REGISTER_8733B */
#define BIT_B_AX_BT_BLE_EN_8733B BIT(24)

#define BIT_SHIFT_BT_EISR_EN_8733B 16
#define BIT_MASK_BT_EISR_EN_8733B 0xff
#define BIT_BT_EISR_EN_8733B(x) (((x) & BIT_MASK_BT_EISR_EN_8733B) << BIT_SHIFT_BT_EISR_EN_8733B)
#define BITS_BT_EISR_EN_8733B (BIT_MASK_BT_EISR_EN_8733B << BIT_SHIFT_BT_EISR_EN_8733B)
#define BIT_CLEAR_BT_EISR_EN_8733B(x) ((x) & (~BITS_BT_EISR_EN_8733B))
#define BIT_GET_BT_EISR_EN_8733B(x) (((x) >> BIT_SHIFT_BT_EISR_EN_8733B) & BIT_MASK_BT_EISR_EN_8733B)
#define BIT_SET_BT_EISR_EN_8733B(x, v) (BIT_CLEAR_BT_EISR_EN_8733B(x) | BIT_BT_EISR_EN_8733B(v))

#define BIT_BT_ACT_FALLING_ISR_8733B BIT(10)
#define BIT_BT_ACT_RISING_ISR_8733B BIT(9)
#define BIT_TDMA_TO_ISR_8733B BIT(8)

#define BIT_SHIFT_BT_CH_8733B 0
#define BIT_MASK_BT_CH_8733B 0x7f
#define BIT_BT_CH_8733B(x) (((x) & BIT_MASK_BT_CH_8733B) << BIT_SHIFT_BT_CH_8733B)
#define BITS_BT_CH_8733B (BIT_MASK_BT_CH_8733B << BIT_SHIFT_BT_CH_8733B)
#define BIT_CLEAR_BT_CH_8733B(x) ((x) & (~BITS_BT_CH_8733B))
#define BIT_GET_BT_CH_8733B(x) (((x) >> BIT_SHIFT_BT_CH_8733B) & BIT_MASK_BT_CH_8733B)
#define BIT_SET_BT_CH_8733B(x, v) (BIT_CLEAR_BT_CH_8733B(x) | BIT_BT_CH_8733B(v))

/* 2 REG_LTR_IDLE_LATENCY_V2_8733B */

#define BIT_SHIFT_LTR_IDLE_LATENCY_8733B 0
#define BIT_MASK_LTR_IDLE_LATENCY_8733B 0xffffffffL
#define BIT_LTR_IDLE_LATENCY_8733B(x) (((x) & BIT_MASK_LTR_IDLE_LATENCY_8733B) << BIT_SHIFT_LTR_IDLE_LATENCY_8733B)
#define BITS_LTR_IDLE_LATENCY_8733B (BIT_MASK_LTR_IDLE_LATENCY_8733B << BIT_SHIFT_LTR_IDLE_LATENCY_8733B)
#define BIT_CLEAR_LTR_IDLE_LATENCY_8733B(x) ((x) & (~BITS_LTR_IDLE_LATENCY_8733B))
#define BIT_GET_LTR_IDLE_LATENCY_8733B(x) (((x) >> BIT_SHIFT_LTR_IDLE_LATENCY_8733B) & BIT_MASK_LTR_IDLE_LATENCY_8733B)
#define BIT_SET_LTR_IDLE_LATENCY_8733B(x, v) (BIT_CLEAR_LTR_IDLE_LATENCY_8733B(x) | BIT_LTR_IDLE_LATENCY_8733B(v))

/* 2 REG_LTR_ACTIVE_LATENCY_V2_8733B */

#define BIT_SHIFT_LTR_ACTIVE_LATENCY_8733B 0
#define BIT_MASK_LTR_ACTIVE_LATENCY_8733B 0xffffffffL
#define BIT_LTR_ACTIVE_LATENCY_8733B(x) (((x) & BIT_MASK_LTR_ACTIVE_LATENCY_8733B) << BIT_SHIFT_LTR_ACTIVE_LATENCY_8733B)
#define BITS_LTR_ACTIVE_LATENCY_8733B (BIT_MASK_LTR_ACTIVE_LATENCY_8733B << BIT_SHIFT_LTR_ACTIVE_LATENCY_8733B)
#define BIT_CLEAR_LTR_ACTIVE_LATENCY_8733B(x) ((x) & (~BITS_LTR_ACTIVE_LATENCY_8733B))
#define BIT_GET_LTR_ACTIVE_LATENCY_8733B(x) (((x) >> BIT_SHIFT_LTR_ACTIVE_LATENCY_8733B) & BIT_MASK_LTR_ACTIVE_LATENCY_8733B)
#define BIT_SET_LTR_ACTIVE_LATENCY_8733B(x, v) (BIT_CLEAR_LTR_ACTIVE_LATENCY_8733B(x) | BIT_LTR_ACTIVE_LATENCY_8733B(v))

/* 2 REG_OBFF_CTRL_8733B */
#define BIT_ODFF_EN_8733B BIT(31)
#define BIT_CFG_OBFF_AUTOACT_8733B BIT(30)

#define BIT_SHIFT_OBFF_STATE_8733B 28
#define BIT_MASK_OBFF_STATE_8733B 0x3
#define BIT_OBFF_STATE_8733B(x) (((x) & BIT_MASK_OBFF_STATE_8733B) << BIT_SHIFT_OBFF_STATE_8733B)
#define BITS_OBFF_STATE_8733B (BIT_MASK_OBFF_STATE_8733B << BIT_SHIFT_OBFF_STATE_8733B)
#define BIT_CLEAR_OBFF_STATE_8733B(x) ((x) & (~BITS_OBFF_STATE_8733B))
#define BIT_GET_OBFF_STATE_8733B(x) (((x) >> BIT_SHIFT_OBFF_STATE_8733B) & BIT_MASK_OBFF_STATE_8733B)
#define BIT_SET_OBFF_STATE_8733B(x, v) (BIT_CLEAR_OBFF_STATE_8733B(x) | BIT_OBFF_STATE_8733B(v))

#define BIT_CFG_OBFF_AUTOIDLE_8733B BIT(27)
#define BIT_CFG_BLOCKINT_EN_8733B BIT(26)

#define BIT_SHIFT_CFG_WK_MAX_PLS_8733B 23
#define BIT_MASK_CFG_WK_MAX_PLS_8733B 0x7
#define BIT_CFG_WK_MAX_PLS_8733B(x) (((x) & BIT_MASK_CFG_WK_MAX_PLS_8733B) << BIT_SHIFT_CFG_WK_MAX_PLS_8733B)
#define BITS_CFG_WK_MAX_PLS_8733B (BIT_MASK_CFG_WK_MAX_PLS_8733B << BIT_SHIFT_CFG_WK_MAX_PLS_8733B)
#define BIT_CLEAR_CFG_WK_MAX_PLS_8733B(x) ((x) & (~BITS_CFG_WK_MAX_PLS_8733B))
#define BIT_GET_CFG_WK_MAX_PLS_8733B(x) (((x) >> BIT_SHIFT_CFG_WK_MAX_PLS_8733B) & BIT_MASK_CFG_WK_MAX_PLS_8733B)
#define BIT_SET_CFG_WK_MAX_PLS_8733B(x, v) (BIT_CLEAR_CFG_WK_MAX_PLS_8733B(x) | BIT_CFG_WK_MAX_PLS_8733B(v))

#define BIT_SHIFT_CFG_WK_MIN_PLS_8733B 20
#define BIT_MASK_CFG_WK_MIN_PLS_8733B 0x7
#define BIT_CFG_WK_MIN_PLS_8733B(x) (((x) & BIT_MASK_CFG_WK_MIN_PLS_8733B) << BIT_SHIFT_CFG_WK_MIN_PLS_8733B)
#define BITS_CFG_WK_MIN_PLS_8733B (BIT_MASK_CFG_WK_MIN_PLS_8733B << BIT_SHIFT_CFG_WK_MIN_PLS_8733B)
#define BIT_CLEAR_CFG_WK_MIN_PLS_8733B(x) ((x) & (~BITS_CFG_WK_MIN_PLS_8733B))
#define BIT_GET_CFG_WK_MIN_PLS_8733B(x) (((x) >> BIT_SHIFT_CFG_WK_MIN_PLS_8733B) & BIT_MASK_CFG_WK_MIN_PLS_8733B)
#define BIT_SET_CFG_WK_MIN_PLS_8733B(x, v) (BIT_CLEAR_CFG_WK_MIN_PLS_8733B(x) | BIT_CFG_WK_MIN_PLS_8733B(v))

#define BIT_SHIFT_CFG_WK_MAX_F2F_8733B 17
#define BIT_MASK_CFG_WK_MAX_F2F_8733B 0x7
#define BIT_CFG_WK_MAX_F2F_8733B(x) (((x) & BIT_MASK_CFG_WK_MAX_F2F_8733B) << BIT_SHIFT_CFG_WK_MAX_F2F_8733B)
#define BITS_CFG_WK_MAX_F2F_8733B (BIT_MASK_CFG_WK_MAX_F2F_8733B << BIT_SHIFT_CFG_WK_MAX_F2F_8733B)
#define BIT_CLEAR_CFG_WK_MAX_F2F_8733B(x) ((x) & (~BITS_CFG_WK_MAX_F2F_8733B))
#define BIT_GET_CFG_WK_MAX_F2F_8733B(x) (((x) >> BIT_SHIFT_CFG_WK_MAX_F2F_8733B) & BIT_MASK_CFG_WK_MAX_F2F_8733B)
#define BIT_SET_CFG_WK_MAX_F2F_8733B(x, v) (BIT_CLEAR_CFG_WK_MAX_F2F_8733B(x) | BIT_CFG_WK_MAX_F2F_8733B(v))

#define BIT_SHIFT_CFG_WK_MIN_F2F_8733B 14
#define BIT_MASK_CFG_WK_MIN_F2F_8733B 0x7
#define BIT_CFG_WK_MIN_F2F_8733B(x) (((x) & BIT_MASK_CFG_WK_MIN_F2F_8733B) << BIT_SHIFT_CFG_WK_MIN_F2F_8733B)
#define BITS_CFG_WK_MIN_F2F_8733B (BIT_MASK_CFG_WK_MIN_F2F_8733B << BIT_SHIFT_CFG_WK_MIN_F2F_8733B)
#define BIT_CLEAR_CFG_WK_MIN_F2F_8733B(x) ((x) & (~BITS_CFG_WK_MIN_F2F_8733B))
#define BIT_GET_CFG_WK_MIN_F2F_8733B(x) (((x) >> BIT_SHIFT_CFG_WK_MIN_F2F_8733B) & BIT_MASK_CFG_WK_MIN_F2F_8733B)
#define BIT_SET_CFG_WK_MIN_F2F_8733B(x, v) (BIT_CLEAR_CFG_WK_MIN_F2F_8733B(x) | BIT_CFG_WK_MIN_F2F_8733B(v))

#define BIT_CFG_TXBLOCK_EN_8733B BIT(13)

#define BIT_SHIFT_OBFF_INT_TIME_ID_8733B 10
#define BIT_MASK_OBFF_INT_TIME_ID_8733B 0x7
#define BIT_OBFF_INT_TIME_ID_8733B(x) (((x) & BIT_MASK_OBFF_INT_TIME_ID_8733B) << BIT_SHIFT_OBFF_INT_TIME_ID_8733B)
#define BITS_OBFF_INT_TIME_ID_8733B (BIT_MASK_OBFF_INT_TIME_ID_8733B << BIT_SHIFT_OBFF_INT_TIME_ID_8733B)
#define BIT_CLEAR_OBFF_INT_TIME_ID_8733B(x) ((x) & (~BITS_OBFF_INT_TIME_ID_8733B))
#define BIT_GET_OBFF_INT_TIME_ID_8733B(x) (((x) >> BIT_SHIFT_OBFF_INT_TIME_ID_8733B) & BIT_MASK_OBFF_INT_TIME_ID_8733B)
#define BIT_SET_OBFF_INT_TIME_ID_8733B(x, v) (BIT_CLEAR_OBFF_INT_TIME_ID_8733B(x) | BIT_OBFF_INT_TIME_ID_8733B(v))

#define BIT_SHIFT_OBFF_TIMER_ID_MEDIA_8733B 7
#define BIT_MASK_OBFF_TIMER_ID_MEDIA_8733B 0x7
#define BIT_OBFF_TIMER_ID_MEDIA_8733B(x) (((x) & BIT_MASK_OBFF_TIMER_ID_MEDIA_8733B) << BIT_SHIFT_OBFF_TIMER_ID_MEDIA_8733B)
#define BITS_OBFF_TIMER_ID_MEDIA_8733B (BIT_MASK_OBFF_TIMER_ID_MEDIA_8733B << BIT_SHIFT_OBFF_TIMER_ID_MEDIA_8733B)
#define BIT_CLEAR_OBFF_TIMER_ID_MEDIA_8733B(x) ((x) & (~BITS_OBFF_TIMER_ID_MEDIA_8733B))
#define BIT_GET_OBFF_TIMER_ID_MEDIA_8733B(x) (((x) >> BIT_SHIFT_OBFF_TIMER_ID_MEDIA_8733B) & BIT_MASK_OBFF_TIMER_ID_MEDIA_8733B)
#define BIT_SET_OBFF_TIMER_ID_MEDIA_8733B(x, v) (BIT_CLEAR_OBFF_TIMER_ID_MEDIA_8733B(x) | BIT_OBFF_TIMER_ID_MEDIA_8733B(v))

#define BIT_SHIFT_OBFF_TIME_ID_LOW_8733B 4
#define BIT_MASK_OBFF_TIME_ID_LOW_8733B 0x7
#define BIT_OBFF_TIME_ID_LOW_8733B(x) (((x) & BIT_MASK_OBFF_TIME_ID_LOW_8733B) << BIT_SHIFT_OBFF_TIME_ID_LOW_8733B)
#define BITS_OBFF_TIME_ID_LOW_8733B (BIT_MASK_OBFF_TIME_ID_LOW_8733B << BIT_SHIFT_OBFF_TIME_ID_LOW_8733B)
#define BIT_CLEAR_OBFF_TIME_ID_LOW_8733B(x) ((x) & (~BITS_OBFF_TIME_ID_LOW_8733B))
#define BIT_GET_OBFF_TIME_ID_LOW_8733B(x) (((x) >> BIT_SHIFT_OBFF_TIME_ID_LOW_8733B) & BIT_MASK_OBFF_TIME_ID_LOW_8733B)
#define BIT_SET_OBFF_TIME_ID_LOW_8733B(x, v) (BIT_CLEAR_OBFF_TIME_ID_LOW_8733B(x) | BIT_OBFF_TIME_ID_LOW_8733B(v))

#define BIT_APP_CPU_ACT_8733B BIT(3)
#define BIT_APP_OBFF_8733B BIT(2)
#define BIT_APP_IDLE_8733B BIT(1)
#define BIT__APP_INIT_8733B BIT(0)

/* 2 REG_LTR_CTRL_8733B */

#define BIT_SHIFT_LTR_RPBACC_ID_HIGH_8733B 25
#define BIT_MASK_LTR_RPBACC_ID_HIGH_8733B 0x7
#define BIT_LTR_RPBACC_ID_HIGH_8733B(x) (((x) & BIT_MASK_LTR_RPBACC_ID_HIGH_8733B) << BIT_SHIFT_LTR_RPBACC_ID_HIGH_8733B)
#define BITS_LTR_RPBACC_ID_HIGH_8733B (BIT_MASK_LTR_RPBACC_ID_HIGH_8733B << BIT_SHIFT_LTR_RPBACC_ID_HIGH_8733B)
#define BIT_CLEAR_LTR_RPBACC_ID_HIGH_8733B(x) ((x) & (~BITS_LTR_RPBACC_ID_HIGH_8733B))
#define BIT_GET_LTR_RPBACC_ID_HIGH_8733B(x) (((x) >> BIT_SHIFT_LTR_RPBACC_ID_HIGH_8733B) & BIT_MASK_LTR_RPBACC_ID_HIGH_8733B)
#define BIT_SET_LTR_RPBACC_ID_HIGH_8733B(x, v) (BIT_CLEAR_LTR_RPBACC_ID_HIGH_8733B(x) | BIT_LTR_RPBACC_ID_HIGH_8733B(v))

#define BIT_SHIFT_LTR_RPBACC_ID_MEDIA_8733B 22
#define BIT_MASK_LTR_RPBACC_ID_MEDIA_8733B 0x7
#define BIT_LTR_RPBACC_ID_MEDIA_8733B(x) (((x) & BIT_MASK_LTR_RPBACC_ID_MEDIA_8733B) << BIT_SHIFT_LTR_RPBACC_ID_MEDIA_8733B)
#define BITS_LTR_RPBACC_ID_MEDIA_8733B (BIT_MASK_LTR_RPBACC_ID_MEDIA_8733B << BIT_SHIFT_LTR_RPBACC_ID_MEDIA_8733B)
#define BIT_CLEAR_LTR_RPBACC_ID_MEDIA_8733B(x) ((x) & (~BITS_LTR_RPBACC_ID_MEDIA_8733B))
#define BIT_GET_LTR_RPBACC_ID_MEDIA_8733B(x) (((x) >> BIT_SHIFT_LTR_RPBACC_ID_MEDIA_8733B) & BIT_MASK_LTR_RPBACC_ID_MEDIA_8733B)
#define BIT_SET_LTR_RPBACC_ID_MEDIA_8733B(x, v) (BIT_CLEAR_LTR_RPBACC_ID_MEDIA_8733B(x) | BIT_LTR_RPBACC_ID_MEDIA_8733B(v))

#define BIT_SHIFT_LTR_RPBACC_ID_LOW_8733B 19
#define BIT_MASK_LTR_RPBACC_ID_LOW_8733B 0x7
#define BIT_LTR_RPBACC_ID_LOW_8733B(x) (((x) & BIT_MASK_LTR_RPBACC_ID_LOW_8733B) << BIT_SHIFT_LTR_RPBACC_ID_LOW_8733B)
#define BITS_LTR_RPBACC_ID_LOW_8733B (BIT_MASK_LTR_RPBACC_ID_LOW_8733B << BIT_SHIFT_LTR_RPBACC_ID_LOW_8733B)
#define BIT_CLEAR_LTR_RPBACC_ID_LOW_8733B(x) ((x) & (~BITS_LTR_RPBACC_ID_LOW_8733B))
#define BIT_GET_LTR_RPBACC_ID_LOW_8733B(x) (((x) >> BIT_SHIFT_LTR_RPBACC_ID_LOW_8733B) & BIT_MASK_LTR_RPBACC_ID_LOW_8733B)
#define BIT_SET_LTR_RPBACC_ID_LOW_8733B(x, v) (BIT_CLEAR_LTR_RPBACC_ID_LOW_8733B(x) | BIT_LTR_RPBACC_ID_LOW_8733B(v))

#define BIT_RPBACC_CLRBLOCK_8733B BIT(18)
#define BIT_LTR_RPBACC_EN_8733B BIT(17)

#define BIT_SHIFT_LTR_SPACE_ID_8733B 15
#define BIT_MASK_LTR_SPACE_ID_8733B 0x3
#define BIT_LTR_SPACE_ID_8733B(x) (((x) & BIT_MASK_LTR_SPACE_ID_8733B) << BIT_SHIFT_LTR_SPACE_ID_8733B)
#define BITS_LTR_SPACE_ID_8733B (BIT_MASK_LTR_SPACE_ID_8733B << BIT_SHIFT_LTR_SPACE_ID_8733B)
#define BIT_CLEAR_LTR_SPACE_ID_8733B(x) ((x) & (~BITS_LTR_SPACE_ID_8733B))
#define BIT_GET_LTR_SPACE_ID_8733B(x) (((x) >> BIT_SHIFT_LTR_SPACE_ID_8733B) & BIT_MASK_LTR_SPACE_ID_8733B)
#define BIT_SET_LTR_SPACE_ID_8733B(x, v) (BIT_CLEAR_LTR_SPACE_ID_8733B(x) | BIT_LTR_SPACE_ID_8733B(v))

#define BIT_SHIFT_LTR_IDLE_TIMER_ID_8733B 12
#define BIT_MASK_LTR_IDLE_TIMER_ID_8733B 0x7
#define BIT_LTR_IDLE_TIMER_ID_8733B(x) (((x) & BIT_MASK_LTR_IDLE_TIMER_ID_8733B) << BIT_SHIFT_LTR_IDLE_TIMER_ID_8733B)
#define BITS_LTR_IDLE_TIMER_ID_8733B (BIT_MASK_LTR_IDLE_TIMER_ID_8733B << BIT_SHIFT_LTR_IDLE_TIMER_ID_8733B)
#define BIT_CLEAR_LTR_IDLE_TIMER_ID_8733B(x) ((x) & (~BITS_LTR_IDLE_TIMER_ID_8733B))
#define BIT_GET_LTR_IDLE_TIMER_ID_8733B(x) (((x) >> BIT_SHIFT_LTR_IDLE_TIMER_ID_8733B) & BIT_MASK_LTR_IDLE_TIMER_ID_8733B)
#define BIT_SET_LTR_IDLE_TIMER_ID_8733B(x, v) (BIT_CLEAR_LTR_IDLE_TIMER_ID_8733B(x) | BIT_LTR_IDLE_TIMER_ID_8733B(v))

#define BIT_SHIFT_BLKHWBCN_TIMER_ID_8733B 9
#define BIT_MASK_BLKHWBCN_TIMER_ID_8733B 0x7
#define BIT_BLKHWBCN_TIMER_ID_8733B(x) (((x) & BIT_MASK_BLKHWBCN_TIMER_ID_8733B) << BIT_SHIFT_BLKHWBCN_TIMER_ID_8733B)
#define BITS_BLKHWBCN_TIMER_ID_8733B (BIT_MASK_BLKHWBCN_TIMER_ID_8733B << BIT_SHIFT_BLKHWBCN_TIMER_ID_8733B)
#define BIT_CLEAR_BLKHWBCN_TIMER_ID_8733B(x) ((x) & (~BITS_BLKHWBCN_TIMER_ID_8733B))
#define BIT_GET_BLKHWBCN_TIMER_ID_8733B(x) (((x) >> BIT_SHIFT_BLKHWBCN_TIMER_ID_8733B) & BIT_MASK_BLKHWBCN_TIMER_ID_8733B)
#define BIT_SET_BLKHWBCN_TIMER_ID_8733B(x, v) (BIT_CLEAR_BLKHWBCN_TIMER_ID_8733B(x) | BIT_BLKHWBCN_TIMER_ID_8733B(v))

#define BIT_OBFF_LTRIDLE_EN_8733B BIT(8)
#define BIT_CFG_DELAY_LTR_ACT_8733B BIT(7)
#define BIT_CFG_CTS_LTRACT_8733B BIT(6)
#define BIT_LTRIDLE_NO_SNOOP_8733B BIT(5)
#define BIT_LTRACT_EN_INCPUACT_8733B BIT(4)
#define BIT_APP_REQ_LTRACT_8733B BIT(3)
#define BIT_APP_REQ_LTRIDLE_8733B BIT(2)
#define BIT_LTR_HW_EN_8733B BIT(1)
#define BIT_LTR_EN_8733B BIT(0)

/* 2 REG_LTR_CTRL2_8733B */

#define BIT_SHIFT_OBFF_TIMER_ID_HIGH_8733B 29
#define BIT_MASK_OBFF_TIMER_ID_HIGH_8733B 0x7
#define BIT_OBFF_TIMER_ID_HIGH_8733B(x) (((x) & BIT_MASK_OBFF_TIMER_ID_HIGH_8733B) << BIT_SHIFT_OBFF_TIMER_ID_HIGH_8733B)
#define BITS_OBFF_TIMER_ID_HIGH_8733B (BIT_MASK_OBFF_TIMER_ID_HIGH_8733B << BIT_SHIFT_OBFF_TIMER_ID_HIGH_8733B)
#define BIT_CLEAR_OBFF_TIMER_ID_HIGH_8733B(x) ((x) & (~BITS_OBFF_TIMER_ID_HIGH_8733B))
#define BIT_GET_OBFF_TIMER_ID_HIGH_8733B(x) (((x) >> BIT_SHIFT_OBFF_TIMER_ID_HIGH_8733B) & BIT_MASK_OBFF_TIMER_ID_HIGH_8733B)
#define BIT_SET_OBFF_TIMER_ID_HIGH_8733B(x, v) (BIT_CLEAR_OBFF_TIMER_ID_HIGH_8733B(x) | BIT_OBFF_TIMER_ID_HIGH_8733B(v))

#define BIT_SHIFT_HIGH_RATE_BDRY_8733B 16
#define BIT_MASK_HIGH_RATE_BDRY_8733B 0x7f
#define BIT_HIGH_RATE_BDRY_8733B(x) (((x) & BIT_MASK_HIGH_RATE_BDRY_8733B) << BIT_SHIFT_HIGH_RATE_BDRY_8733B)
#define BITS_HIGH_RATE_BDRY_8733B (BIT_MASK_HIGH_RATE_BDRY_8733B << BIT_SHIFT_HIGH_RATE_BDRY_8733B)
#define BIT_CLEAR_HIGH_RATE_BDRY_8733B(x) ((x) & (~BITS_HIGH_RATE_BDRY_8733B))
#define BIT_GET_HIGH_RATE_BDRY_8733B(x) (((x) >> BIT_SHIFT_HIGH_RATE_BDRY_8733B) & BIT_MASK_HIGH_RATE_BDRY_8733B)
#define BIT_SET_HIGH_RATE_BDRY_8733B(x, v) (BIT_CLEAR_HIGH_RATE_BDRY_8733B(x) | BIT_HIGH_RATE_BDRY_8733B(v))

#define BIT_SHIFT_LOW_RATE_BDRY_8733B 9
#define BIT_MASK_LOW_RATE_BDRY_8733B 0x7f
#define BIT_LOW_RATE_BDRY_8733B(x) (((x) & BIT_MASK_LOW_RATE_BDRY_8733B) << BIT_SHIFT_LOW_RATE_BDRY_8733B)
#define BITS_LOW_RATE_BDRY_8733B (BIT_MASK_LOW_RATE_BDRY_8733B << BIT_SHIFT_LOW_RATE_BDRY_8733B)
#define BIT_CLEAR_LOW_RATE_BDRY_8733B(x) ((x) & (~BITS_LOW_RATE_BDRY_8733B))
#define BIT_GET_LOW_RATE_BDRY_8733B(x) (((x) >> BIT_SHIFT_LOW_RATE_BDRY_8733B) & BIT_MASK_LOW_RATE_BDRY_8733B)
#define BIT_SET_LOW_RATE_BDRY_8733B(x, v) (BIT_CLEAR_LOW_RATE_BDRY_8733B(x) | BIT_LOW_RATE_BDRY_8733B(v))

#define BIT_SHIFT_HIGH_RATE_TRIGS_8733B 7
#define BIT_MASK_HIGH_RATE_TRIGS_8733B 0x3
#define BIT_HIGH_RATE_TRIGS_8733B(x) (((x) & BIT_MASK_HIGH_RATE_TRIGS_8733B) << BIT_SHIFT_HIGH_RATE_TRIGS_8733B)
#define BITS_HIGH_RATE_TRIGS_8733B (BIT_MASK_HIGH_RATE_TRIGS_8733B << BIT_SHIFT_HIGH_RATE_TRIGS_8733B)
#define BIT_CLEAR_HIGH_RATE_TRIGS_8733B(x) ((x) & (~BITS_HIGH_RATE_TRIGS_8733B))
#define BIT_GET_HIGH_RATE_TRIGS_8733B(x) (((x) >> BIT_SHIFT_HIGH_RATE_TRIGS_8733B) & BIT_MASK_HIGH_RATE_TRIGS_8733B)
#define BIT_SET_HIGH_RATE_TRIGS_8733B(x, v) (BIT_CLEAR_HIGH_RATE_TRIGS_8733B(x) | BIT_HIGH_RATE_TRIGS_8733B(v))

#define BIT_SHIFT_MEDIA_RATE_TRIGS_8733B 5
#define BIT_MASK_MEDIA_RATE_TRIGS_8733B 0x3
#define BIT_MEDIA_RATE_TRIGS_8733B(x) (((x) & BIT_MASK_MEDIA_RATE_TRIGS_8733B) << BIT_SHIFT_MEDIA_RATE_TRIGS_8733B)
#define BITS_MEDIA_RATE_TRIGS_8733B (BIT_MASK_MEDIA_RATE_TRIGS_8733B << BIT_SHIFT_MEDIA_RATE_TRIGS_8733B)
#define BIT_CLEAR_MEDIA_RATE_TRIGS_8733B(x) ((x) & (~BITS_MEDIA_RATE_TRIGS_8733B))
#define BIT_GET_MEDIA_RATE_TRIGS_8733B(x) (((x) >> BIT_SHIFT_MEDIA_RATE_TRIGS_8733B) & BIT_MASK_MEDIA_RATE_TRIGS_8733B)
#define BIT_SET_MEDIA_RATE_TRIGS_8733B(x, v) (BIT_CLEAR_MEDIA_RATE_TRIGS_8733B(x) | BIT_MEDIA_RATE_TRIGS_8733B(v))

#define BIT_SHIFT_LOW_RATE_TRIGS_8733B 3
#define BIT_MASK_LOW_RATE_TRIGS_8733B 0x3
#define BIT_LOW_RATE_TRIGS_8733B(x) (((x) & BIT_MASK_LOW_RATE_TRIGS_8733B) << BIT_SHIFT_LOW_RATE_TRIGS_8733B)
#define BITS_LOW_RATE_TRIGS_8733B (BIT_MASK_LOW_RATE_TRIGS_8733B << BIT_SHIFT_LOW_RATE_TRIGS_8733B)
#define BIT_CLEAR_LOW_RATE_TRIGS_8733B(x) ((x) & (~BITS_LOW_RATE_TRIGS_8733B))
#define BIT_GET_LOW_RATE_TRIGS_8733B(x) (((x) >> BIT_SHIFT_LOW_RATE_TRIGS_8733B) & BIT_MASK_LOW_RATE_TRIGS_8733B)
#define BIT_SET_LOW_RATE_TRIGS_8733B(x, v) (BIT_CLEAR_LOW_RATE_TRIGS_8733B(x) | BIT_LOW_RATE_TRIGS_8733B(v))

#define BIT_SHIFT_RX_EXHAUST_ID_8733B 0
#define BIT_MASK_RX_EXHAUST_ID_8733B 0x7
#define BIT_RX_EXHAUST_ID_8733B(x) (((x) & BIT_MASK_RX_EXHAUST_ID_8733B) << BIT_SHIFT_RX_EXHAUST_ID_8733B)
#define BITS_RX_EXHAUST_ID_8733B (BIT_MASK_RX_EXHAUST_ID_8733B << BIT_SHIFT_RX_EXHAUST_ID_8733B)
#define BIT_CLEAR_RX_EXHAUST_ID_8733B(x) ((x) & (~BITS_RX_EXHAUST_ID_8733B))
#define BIT_GET_RX_EXHAUST_ID_8733B(x) (((x) >> BIT_SHIFT_RX_EXHAUST_ID_8733B) & BIT_MASK_RX_EXHAUST_ID_8733B)
#define BIT_SET_RX_EXHAUST_ID_8733B(x, v) (BIT_CLEAR_RX_EXHAUST_ID_8733B(x) | BIT_RX_EXHAUST_ID_8733B(v))

/* 2 REG_ANTTRN_CTR_V1_8733B */

#define BIT_SHIFT_TRAIN_STA_ADDR_1_8733B 0
#define BIT_MASK_TRAIN_STA_ADDR_1_8733B 0xffffffffL
#define BIT_TRAIN_STA_ADDR_1_8733B(x) (((x) & BIT_MASK_TRAIN_STA_ADDR_1_8733B) << BIT_SHIFT_TRAIN_STA_ADDR_1_8733B)
#define BITS_TRAIN_STA_ADDR_1_8733B (BIT_MASK_TRAIN_STA_ADDR_1_8733B << BIT_SHIFT_TRAIN_STA_ADDR_1_8733B)
#define BIT_CLEAR_TRAIN_STA_ADDR_1_8733B(x) ((x) & (~BITS_TRAIN_STA_ADDR_1_8733B))
#define BIT_GET_TRAIN_STA_ADDR_1_8733B(x) (((x) >> BIT_SHIFT_TRAIN_STA_ADDR_1_8733B) & BIT_MASK_TRAIN_STA_ADDR_1_8733B)
#define BIT_SET_TRAIN_STA_ADDR_1_8733B(x, v) (BIT_CLEAR_TRAIN_STA_ADDR_1_8733B(x) | BIT_TRAIN_STA_ADDR_1_8733B(v))

/* 2 REG_ANTTRN_CTR_8733B 1_V1 */
#define BIT_ANTTRN_SWITCH_8733B BIT(19)
#define BIT_APPEND_MACID_IN_RESP_EN_8733B BIT(18)
#define BIT_ADDR2_MATCH_EN_8733B BIT(17)
#define BIT_ANTTRN_EN_8733B BIT(16)

#define BIT_SHIFT_TRAIN_STA_ADDR_2_8733B 0
#define BIT_MASK_TRAIN_STA_ADDR_2_8733B 0xffff
#define BIT_TRAIN_STA_ADDR_2_8733B(x) (((x) & BIT_MASK_TRAIN_STA_ADDR_2_8733B) << BIT_SHIFT_TRAIN_STA_ADDR_2_8733B)
#define BITS_TRAIN_STA_ADDR_2_8733B (BIT_MASK_TRAIN_STA_ADDR_2_8733B << BIT_SHIFT_TRAIN_STA_ADDR_2_8733B)
#define BIT_CLEAR_TRAIN_STA_ADDR_2_8733B(x) ((x) & (~BITS_TRAIN_STA_ADDR_2_8733B))
#define BIT_GET_TRAIN_STA_ADDR_2_8733B(x) (((x) >> BIT_SHIFT_TRAIN_STA_ADDR_2_8733B) & BIT_MASK_TRAIN_STA_ADDR_2_8733B)
#define BIT_SET_TRAIN_STA_ADDR_2_8733B(x, v) (BIT_CLEAR_TRAIN_STA_ADDR_2_8733B(x) | BIT_TRAIN_STA_ADDR_2_8733B(v))

/* 2 REG_WMAC_PKTCNT_RWD_8733B */

#define BIT_SHIFT_PKTCNT_BSSIDMAP_8733B 4
#define BIT_MASK_PKTCNT_BSSIDMAP_8733B 0xf
#define BIT_PKTCNT_BSSIDMAP_8733B(x) (((x) & BIT_MASK_PKTCNT_BSSIDMAP_8733B) << BIT_SHIFT_PKTCNT_BSSIDMAP_8733B)
#define BITS_PKTCNT_BSSIDMAP_8733B (BIT_MASK_PKTCNT_BSSIDMAP_8733B << BIT_SHIFT_PKTCNT_BSSIDMAP_8733B)
#define BIT_CLEAR_PKTCNT_BSSIDMAP_8733B(x) ((x) & (~BITS_PKTCNT_BSSIDMAP_8733B))
#define BIT_GET_PKTCNT_BSSIDMAP_8733B(x) (((x) >> BIT_SHIFT_PKTCNT_BSSIDMAP_8733B) & BIT_MASK_PKTCNT_BSSIDMAP_8733B)
#define BIT_SET_PKTCNT_BSSIDMAP_8733B(x, v) (BIT_CLEAR_PKTCNT_BSSIDMAP_8733B(x) | BIT_PKTCNT_BSSIDMAP_8733B(v))

#define BIT_PKTCNT_CNTRST_8733B BIT(1)
#define BIT_PKTCNT_CNTEN_8733B BIT(0)

/* 2 REG_WMAC_PKTCNT_CTRL_8733B */
#define BIT_WMAC_PKTCNT_FEN_8733B BIT(8)

#define BIT_SHIFT_WMAC_PKTCNT_CFGAD_8733B 0
#define BIT_MASK_WMAC_PKTCNT_CFGAD_8733B 0xff
#define BIT_WMAC_PKTCNT_CFGAD_8733B(x) (((x) & BIT_MASK_WMAC_PKTCNT_CFGAD_8733B) << BIT_SHIFT_WMAC_PKTCNT_CFGAD_8733B)
#define BITS_WMAC_PKTCNT_CFGAD_8733B (BIT_MASK_WMAC_PKTCNT_CFGAD_8733B << BIT_SHIFT_WMAC_PKTCNT_CFGAD_8733B)
#define BIT_CLEAR_WMAC_PKTCNT_CFGAD_8733B(x) ((x) & (~BITS_WMAC_PKTCNT_CFGAD_8733B))
#define BIT_GET_WMAC_PKTCNT_CFGAD_8733B(x) (((x) >> BIT_SHIFT_WMAC_PKTCNT_CFGAD_8733B) & BIT_MASK_WMAC_PKTCNT_CFGAD_8733B)
#define BIT_SET_WMAC_PKTCNT_CFGAD_8733B(x, v) (BIT_CLEAR_WMAC_PKTCNT_CFGAD_8733B(x) | BIT_WMAC_PKTCNT_CFGAD_8733B(v))

/* 2 REG_IQ_DUMP_8733B */

#define BIT_SHIFT_DUMP_OK_ADDR_8733B 16
#define BIT_MASK_DUMP_OK_ADDR_8733B 0xffff
#define BIT_DUMP_OK_ADDR_8733B(x) (((x) & BIT_MASK_DUMP_OK_ADDR_8733B) << BIT_SHIFT_DUMP_OK_ADDR_8733B)
#define BITS_DUMP_OK_ADDR_8733B (BIT_MASK_DUMP_OK_ADDR_8733B << BIT_SHIFT_DUMP_OK_ADDR_8733B)
#define BIT_CLEAR_DUMP_OK_ADDR_8733B(x) ((x) & (~BITS_DUMP_OK_ADDR_8733B))
#define BIT_GET_DUMP_OK_ADDR_8733B(x) (((x) >> BIT_SHIFT_DUMP_OK_ADDR_8733B) & BIT_MASK_DUMP_OK_ADDR_8733B)
#define BIT_SET_DUMP_OK_ADDR_8733B(x, v) (BIT_CLEAR_DUMP_OK_ADDR_8733B(x) | BIT_DUMP_OK_ADDR_8733B(v))

#define BIT_MACDBG_TRIG_IQDUMP_8733B BIT(15)

#define BIT_SHIFT_R_TRIG_TIME_SEL_8733B 8
#define BIT_MASK_R_TRIG_TIME_SEL_8733B 0x7f
#define BIT_R_TRIG_TIME_SEL_8733B(x) (((x) & BIT_MASK_R_TRIG_TIME_SEL_8733B) << BIT_SHIFT_R_TRIG_TIME_SEL_8733B)
#define BITS_R_TRIG_TIME_SEL_8733B (BIT_MASK_R_TRIG_TIME_SEL_8733B << BIT_SHIFT_R_TRIG_TIME_SEL_8733B)
#define BIT_CLEAR_R_TRIG_TIME_SEL_8733B(x) ((x) & (~BITS_R_TRIG_TIME_SEL_8733B))
#define BIT_GET_R_TRIG_TIME_SEL_8733B(x) (((x) >> BIT_SHIFT_R_TRIG_TIME_SEL_8733B) & BIT_MASK_R_TRIG_TIME_SEL_8733B)
#define BIT_SET_R_TRIG_TIME_SEL_8733B(x, v) (BIT_CLEAR_R_TRIG_TIME_SEL_8733B(x) | BIT_R_TRIG_TIME_SEL_8733B(v))

#define BIT_SHIFT_R_MAC_TRIG_SEL_8733B 6
#define BIT_MASK_R_MAC_TRIG_SEL_8733B 0x3
#define BIT_R_MAC_TRIG_SEL_8733B(x) (((x) & BIT_MASK_R_MAC_TRIG_SEL_8733B) << BIT_SHIFT_R_MAC_TRIG_SEL_8733B)
#define BITS_R_MAC_TRIG_SEL_8733B (BIT_MASK_R_MAC_TRIG_SEL_8733B << BIT_SHIFT_R_MAC_TRIG_SEL_8733B)
#define BIT_CLEAR_R_MAC_TRIG_SEL_8733B(x) ((x) & (~BITS_R_MAC_TRIG_SEL_8733B))
#define BIT_GET_R_MAC_TRIG_SEL_8733B(x) (((x) >> BIT_SHIFT_R_MAC_TRIG_SEL_8733B) & BIT_MASK_R_MAC_TRIG_SEL_8733B)
#define BIT_SET_R_MAC_TRIG_SEL_8733B(x, v) (BIT_CLEAR_R_MAC_TRIG_SEL_8733B(x) | BIT_R_MAC_TRIG_SEL_8733B(v))

#define BIT_MAC_TRIG_REG_8733B BIT(5)

#define BIT_SHIFT_R_LEVEL_PULSE_SEL_8733B 3
#define BIT_MASK_R_LEVEL_PULSE_SEL_8733B 0x3
#define BIT_R_LEVEL_PULSE_SEL_8733B(x) (((x) & BIT_MASK_R_LEVEL_PULSE_SEL_8733B) << BIT_SHIFT_R_LEVEL_PULSE_SEL_8733B)
#define BITS_R_LEVEL_PULSE_SEL_8733B (BIT_MASK_R_LEVEL_PULSE_SEL_8733B << BIT_SHIFT_R_LEVEL_PULSE_SEL_8733B)
#define BIT_CLEAR_R_LEVEL_PULSE_SEL_8733B(x) ((x) & (~BITS_R_LEVEL_PULSE_SEL_8733B))
#define BIT_GET_R_LEVEL_PULSE_SEL_8733B(x) (((x) >> BIT_SHIFT_R_LEVEL_PULSE_SEL_8733B) & BIT_MASK_R_LEVEL_PULSE_SEL_8733B)
#define BIT_SET_R_LEVEL_PULSE_SEL_8733B(x, v) (BIT_CLEAR_R_LEVEL_PULSE_SEL_8733B(x) | BIT_R_LEVEL_PULSE_SEL_8733B(v))

#define BIT_EN_LA_MAC_8733B BIT(2)
#define BIT_R_EN_IQDUMP_8733B BIT(1)
#define BIT_R_IQDATA_DUMP_8733B BIT(0)

/* 2 REG_MASK_LA_MAC_8733B */

#define BIT_SHIFT_MASK_LA_MAC_8733B 0
#define BIT_MASK_MASK_LA_MAC_8733B 0xffffffffL
#define BIT_MASK_LA_MAC_8733B(x) (((x) & BIT_MASK_MASK_LA_MAC_8733B) << BIT_SHIFT_MASK_LA_MAC_8733B)
#define BITS_MASK_LA_MAC_8733B (BIT_MASK_MASK_LA_MAC_8733B << BIT_SHIFT_MASK_LA_MAC_8733B)
#define BIT_CLEAR_MASK_LA_MAC_8733B(x) ((x) & (~BITS_MASK_LA_MAC_8733B))
#define BIT_GET_MASK_LA_MAC_8733B(x) (((x) >> BIT_SHIFT_MASK_LA_MAC_8733B) & BIT_MASK_MASK_LA_MAC_8733B)
#define BIT_SET_MASK_LA_MAC_8733B(x, v) (BIT_CLEAR_MASK_LA_MAC_8733B(x) | BIT_MASK_LA_MAC_8733B(v))

/* 2 REG_MATCH_REF_MAC_8733B */

#define BIT_SHIFT_MATCH_REF_MAC_8733B 0
#define BIT_MASK_MATCH_REF_MAC_8733B 0xffffffffL
#define BIT_MATCH_REF_MAC_8733B(x) (((x) & BIT_MASK_MATCH_REF_MAC_8733B) << BIT_SHIFT_MATCH_REF_MAC_8733B)
#define BITS_MATCH_REF_MAC_8733B (BIT_MASK_MATCH_REF_MAC_8733B << BIT_SHIFT_MATCH_REF_MAC_8733B)
#define BIT_CLEAR_MATCH_REF_MAC_8733B(x) ((x) & (~BITS_MATCH_REF_MAC_8733B))
#define BIT_GET_MATCH_REF_MAC_8733B(x) (((x) >> BIT_SHIFT_MATCH_REF_MAC_8733B) & BIT_MASK_MATCH_REF_MAC_8733B)
#define BIT_SET_MATCH_REF_MAC_8733B(x, v) (BIT_CLEAR_MATCH_REF_MAC_8733B(x) | BIT_MATCH_REF_MAC_8733B(v))

/* 2 REG_WMAC_FTM_CTL_8733B */
#define BIT_RXFTM_TXACK_SC_8733B BIT(6)
#define BIT_RXFTM_TXACK_BW_8733B BIT(5)
#define BIT_RXFTM_EN_8733B BIT(3)
#define BIT_RXFTMREQ_BYDRV_8733B BIT(2)
#define BIT_RXFTMREQ_EN_8733B BIT(1)
#define BIT_FTM_EN_8733B BIT(0)

/* 2 REG_WMAC_LA_DUMP_FUNC_EXT_8733B */
#define BIT_EN_TIMEOUT_8733B BIT(13)
#define BIT_EN_RE_START_8733B BIT(12)

#define BIT_SHIFT_LA_MAC_TIMEOUT_UNIT_SEL_8733B 10
#define BIT_MASK_LA_MAC_TIMEOUT_UNIT_SEL_8733B 0x3
#define BIT_LA_MAC_TIMEOUT_UNIT_SEL_8733B(x) (((x) & BIT_MASK_LA_MAC_TIMEOUT_UNIT_SEL_8733B) << BIT_SHIFT_LA_MAC_TIMEOUT_UNIT_SEL_8733B)
#define BITS_LA_MAC_TIMEOUT_UNIT_SEL_8733B (BIT_MASK_LA_MAC_TIMEOUT_UNIT_SEL_8733B << BIT_SHIFT_LA_MAC_TIMEOUT_UNIT_SEL_8733B)
#define BIT_CLEAR_LA_MAC_TIMEOUT_UNIT_SEL_8733B(x) ((x) & (~BITS_LA_MAC_TIMEOUT_UNIT_SEL_8733B))
#define BIT_GET_LA_MAC_TIMEOUT_UNIT_SEL_8733B(x) (((x) >> BIT_SHIFT_LA_MAC_TIMEOUT_UNIT_SEL_8733B) & BIT_MASK_LA_MAC_TIMEOUT_UNIT_SEL_8733B)
#define BIT_SET_LA_MAC_TIMEOUT_UNIT_SEL_8733B(x, v) (BIT_CLEAR_LA_MAC_TIMEOUT_UNIT_SEL_8733B(x) | BIT_LA_MAC_TIMEOUT_UNIT_SEL_8733B(v))

#define BIT_SHIFT_LA_MAC_TIMEOUT_VALUE_8733B 4
#define BIT_MASK_LA_MAC_TIMEOUT_VALUE_8733B 0x3f
#define BIT_LA_MAC_TIMEOUT_VALUE_8733B(x) (((x) & BIT_MASK_LA_MAC_TIMEOUT_VALUE_8733B) << BIT_SHIFT_LA_MAC_TIMEOUT_VALUE_8733B)
#define BITS_LA_MAC_TIMEOUT_VALUE_8733B (BIT_MASK_LA_MAC_TIMEOUT_VALUE_8733B << BIT_SHIFT_LA_MAC_TIMEOUT_VALUE_8733B)
#define BIT_CLEAR_LA_MAC_TIMEOUT_VALUE_8733B(x) ((x) & (~BITS_LA_MAC_TIMEOUT_VALUE_8733B))
#define BIT_GET_LA_MAC_TIMEOUT_VALUE_8733B(x) (((x) >> BIT_SHIFT_LA_MAC_TIMEOUT_VALUE_8733B) & BIT_MASK_LA_MAC_TIMEOUT_VALUE_8733B)
#define BIT_SET_LA_MAC_TIMEOUT_VALUE_8733B(x, v) (BIT_CLEAR_LA_MAC_TIMEOUT_VALUE_8733B(x) | BIT_LA_MAC_TIMEOUT_VALUE_8733B(v))

#define BIT_LEVEL_PULSE_SEL_EXT_8733B BIT(3)

#define BIT_SHIFT_TRIG_TIME_UNIT_SEL_8733B 0
#define BIT_MASK_TRIG_TIME_UNIT_SEL_8733B 0x7
#define BIT_TRIG_TIME_UNIT_SEL_8733B(x) (((x) & BIT_MASK_TRIG_TIME_UNIT_SEL_8733B) << BIT_SHIFT_TRIG_TIME_UNIT_SEL_8733B)
#define BITS_TRIG_TIME_UNIT_SEL_8733B (BIT_MASK_TRIG_TIME_UNIT_SEL_8733B << BIT_SHIFT_TRIG_TIME_UNIT_SEL_8733B)
#define BIT_CLEAR_TRIG_TIME_UNIT_SEL_8733B(x) ((x) & (~BITS_TRIG_TIME_UNIT_SEL_8733B))
#define BIT_GET_TRIG_TIME_UNIT_SEL_8733B(x) (((x) >> BIT_SHIFT_TRIG_TIME_UNIT_SEL_8733B) & BIT_MASK_TRIG_TIME_UNIT_SEL_8733B)
#define BIT_SET_TRIG_TIME_UNIT_SEL_8733B(x, v) (BIT_CLEAR_TRIG_TIME_UNIT_SEL_8733B(x) | BIT_TRIG_TIME_UNIT_SEL_8733B(v))

/* 2 REG_OFDM_CCK_LEN_MASK_8733B */

#define BIT_SHIFT_OFDM_LEN_TH_8733B 16
#define BIT_MASK_OFDM_LEN_TH_8733B 0xffff
#define BIT_OFDM_LEN_TH_8733B(x) (((x) & BIT_MASK_OFDM_LEN_TH_8733B) << BIT_SHIFT_OFDM_LEN_TH_8733B)
#define BITS_OFDM_LEN_TH_8733B (BIT_MASK_OFDM_LEN_TH_8733B << BIT_SHIFT_OFDM_LEN_TH_8733B)
#define BIT_CLEAR_OFDM_LEN_TH_8733B(x) ((x) & (~BITS_OFDM_LEN_TH_8733B))
#define BIT_GET_OFDM_LEN_TH_8733B(x) (((x) >> BIT_SHIFT_OFDM_LEN_TH_8733B) & BIT_MASK_OFDM_LEN_TH_8733B)
#define BIT_SET_OFDM_LEN_TH_8733B(x, v) (BIT_CLEAR_OFDM_LEN_TH_8733B(x) | BIT_OFDM_LEN_TH_8733B(v))

#define BIT_SHIFT_CCK_LEN_TH_8733B 0
#define BIT_MASK_CCK_LEN_TH_8733B 0xffff
#define BIT_CCK_LEN_TH_8733B(x) (((x) & BIT_MASK_CCK_LEN_TH_8733B) << BIT_SHIFT_CCK_LEN_TH_8733B)
#define BITS_CCK_LEN_TH_8733B (BIT_MASK_CCK_LEN_TH_8733B << BIT_SHIFT_CCK_LEN_TH_8733B)
#define BIT_CLEAR_CCK_LEN_TH_8733B(x) ((x) & (~BITS_CCK_LEN_TH_8733B))
#define BIT_GET_CCK_LEN_TH_8733B(x) (((x) >> BIT_SHIFT_CCK_LEN_TH_8733B) & BIT_MASK_CCK_LEN_TH_8733B)
#define BIT_SET_CCK_LEN_TH_8733B(x, v) (BIT_CLEAR_CCK_LEN_TH_8733B(x) | BIT_CCK_LEN_TH_8733B(v))

/* 2 REG_WMAC_OPTION_FUNCTION_1_8733B */

#define BIT_SHIFT_R_WMAC_RXFIFO_FULL_TH_1_8733B 24
#define BIT_MASK_R_WMAC_RXFIFO_FULL_TH_1_8733B 0xff
#define BIT_R_WMAC_RXFIFO_FULL_TH_1_8733B(x) (((x) & BIT_MASK_R_WMAC_RXFIFO_FULL_TH_1_8733B) << BIT_SHIFT_R_WMAC_RXFIFO_FULL_TH_1_8733B)
#define BITS_R_WMAC_RXFIFO_FULL_TH_1_8733B (BIT_MASK_R_WMAC_RXFIFO_FULL_TH_1_8733B << BIT_SHIFT_R_WMAC_RXFIFO_FULL_TH_1_8733B)
#define BIT_CLEAR_R_WMAC_RXFIFO_FULL_TH_1_8733B(x) ((x) & (~BITS_R_WMAC_RXFIFO_FULL_TH_1_8733B))
#define BIT_GET_R_WMAC_RXFIFO_FULL_TH_1_8733B(x) (((x) >> BIT_SHIFT_R_WMAC_RXFIFO_FULL_TH_1_8733B) & BIT_MASK_R_WMAC_RXFIFO_FULL_TH_1_8733B)
#define BIT_SET_R_WMAC_RXFIFO_FULL_TH_1_8733B(x, v) (BIT_CLEAR_R_WMAC_RXFIFO_FULL_TH_1_8733B(x) | BIT_R_WMAC_RXFIFO_FULL_TH_1_8733B(v))

#define BIT_R_WMAC_RX_SYNCFIFO_SYNC_1_8733B BIT(23)
#define BIT_R_WMAC_RXRST_DLY_1_8733B BIT(22)
#define BIT_R_WMAC_SRCH_TXRPT_REF_DROP_1_8733B BIT(21)
#define BIT_R_WMAC_SRCH_TXRPT_UA1_1_8733B BIT(20)
#define BIT_R_WMAC_SRCH_TXRPT_TYPE_1_8733B BIT(19)
#define BIT_R_WMAC_NDP_RST_1_8733B BIT(18)
#define BIT_R_WMAC_POWINT_EN_1_8733B BIT(17)
#define BIT_R_WMAC_SRCH_TXRPT_PERPKT_1_8733B BIT(16)
#define BIT_R_WMAC_SRCH_TXRPT_MID_1_8733B BIT(15)
#define BIT_R_WMAC_PFIN_TOEN_1_8733B BIT(14)
#define BIT_R_WMAC_FIL_SECERR_1_8733B BIT(13)
#define BIT_R_WMAC_FIL_CTLPKTLEN_1_8733B BIT(12)
#define BIT_R_WMAC_FIL_FCTYPE_1_8733B BIT(11)
#define BIT_R_WMAC_FIL_FCPROVER_1_8733B BIT(10)
#define BIT_R_WMAC_PHYSTS_SNIF_1_8733B BIT(9)
#define BIT_R_WMAC_PHYSTS_PLCP_1_8733B BIT(8)
#define BIT_R_MAC_TCR_VBONF_RD_1_8733B BIT(7)
#define BIT_R_WMAC_TCR_MPAR_NDP_1_8733B BIT(6)
#define BIT_R_WMAC_NDP_FILTER_1_8733B BIT(5)
#define BIT_R_WMAC_RXLEN_SEL_1_8733B BIT(4)
#define BIT_R_WMAC_RXLEN_SEL1_1_8733B BIT(3)
#define BIT_R_OFDM_FILTER_1_8733B BIT(2)
#define BIT_R_WMAC_CHK_OFDM_LEN_1_8733B BIT(1)
#define BIT_R_WMAC_CHK_CCK_LEN_1_8733B BIT(0)

/* 2 REG_WMAC_OPTION_FUNCTION_2_8733B */

#define BIT_SHIFT_R_WMAC_RX_FIL_LEN_2_8733B 0
#define BIT_MASK_R_WMAC_RX_FIL_LEN_2_8733B 0xffff
#define BIT_R_WMAC_RX_FIL_LEN_2_8733B(x) (((x) & BIT_MASK_R_WMAC_RX_FIL_LEN_2_8733B) << BIT_SHIFT_R_WMAC_RX_FIL_LEN_2_8733B)
#define BITS_R_WMAC_RX_FIL_LEN_2_8733B (BIT_MASK_R_WMAC_RX_FIL_LEN_2_8733B << BIT_SHIFT_R_WMAC_RX_FIL_LEN_2_8733B)
#define BIT_CLEAR_R_WMAC_RX_FIL_LEN_2_8733B(x) ((x) & (~BITS_R_WMAC_RX_FIL_LEN_2_8733B))
#define BIT_GET_R_WMAC_RX_FIL_LEN_2_8733B(x) (((x) >> BIT_SHIFT_R_WMAC_RX_FIL_LEN_2_8733B) & BIT_MASK_R_WMAC_RX_FIL_LEN_2_8733B)
#define BIT_SET_R_WMAC_RX_FIL_LEN_2_8733B(x, v) (BIT_CLEAR_R_WMAC_RX_FIL_LEN_2_8733B(x) | BIT_R_WMAC_RX_FIL_LEN_2_8733B(v))

/* 2 REG_RX_FILTER_FUNCTION_8733B */
#define BIT_RXHANG_EN_8733B BIT(15)
#define BIT_R_WMAC_MHRDDY_LATCH_8733B BIT(14)
#define BIT_R_WMAC_MHRDDY_CLR_8733B BIT(13)
#define BIT_R_RXPKTCTL_FSM_BASED_MPDURDY1_8733B BIT(12)
#define BIT_WMAC_DIS_VHT_PLCP_CHK_MU_8733B BIT(11)
#define BIT_R_CHK_DELIMIT_LEN_8733B BIT(10)
#define BIT_R_REAPTER_ADDR_MATCH_8733B BIT(9)
#define BIT_R_RXPKTCTL_FSM_BASED_MPDURDY_8733B BIT(8)
#define BIT_R_LATCH_MACHRDY_8733B BIT(7)
#define BIT_R_WMAC_RXFIL_REND_8733B BIT(6)
#define BIT_R_WMAC_MPDURDY_CLR_8733B BIT(5)
#define BIT_R_WMAC_CLRRXSEC_8733B BIT(4)
#define BIT_R_WMAC_RXFIL_RDEL_8733B BIT(3)
#define BIT_R_WMAC_RXFIL_FCSE_8733B BIT(2)
#define BIT_R_WMAC_RXFIL_MESH_DEL_8733B BIT(1)
#define BIT_R_WMAC_RXFIL_MASKM_8733B BIT(0)

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NDP_SIG_8733B */

#define BIT_SHIFT_R_WMAC_TXNDP_SIGB_8733B 0
#define BIT_MASK_R_WMAC_TXNDP_SIGB_8733B 0x1fffff
#define BIT_R_WMAC_TXNDP_SIGB_8733B(x) (((x) & BIT_MASK_R_WMAC_TXNDP_SIGB_8733B) << BIT_SHIFT_R_WMAC_TXNDP_SIGB_8733B)
#define BITS_R_WMAC_TXNDP_SIGB_8733B (BIT_MASK_R_WMAC_TXNDP_SIGB_8733B << BIT_SHIFT_R_WMAC_TXNDP_SIGB_8733B)
#define BIT_CLEAR_R_WMAC_TXNDP_SIGB_8733B(x) ((x) & (~BITS_R_WMAC_TXNDP_SIGB_8733B))
#define BIT_GET_R_WMAC_TXNDP_SIGB_8733B(x) (((x) >> BIT_SHIFT_R_WMAC_TXNDP_SIGB_8733B) & BIT_MASK_R_WMAC_TXNDP_SIGB_8733B)
#define BIT_SET_R_WMAC_TXNDP_SIGB_8733B(x, v) (BIT_CLEAR_R_WMAC_TXNDP_SIGB_8733B(x) | BIT_R_WMAC_TXNDP_SIGB_8733B(v))

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_NOT_VALID_8733B */

/* 2 REG_WSEC_OPTION_8733B */
#define BIT_RXDEC_BM_MGNT_8733B BIT(22)
#define BIT_TXENC_BM_MGNT_8733B BIT(21)
#define BIT_RXDEC_UNI_MGNT_8733B BIT(20)
#define BIT_TXENC_UNI_MGNT_8733B BIT(19)
#define BIT_WMAC_SEC_MASKIV_8733B BIT(18)

#define BIT_SHIFT_WMAC_SEC_PN_SEL_8733B 16
#define BIT_MASK_WMAC_SEC_PN_SEL_8733B 0x3
#define BIT_WMAC_SEC_PN_SEL_8733B(x) (((x) & BIT_MASK_WMAC_SEC_PN_SEL_8733B) << BIT_SHIFT_WMAC_SEC_PN_SEL_8733B)
#define BITS_WMAC_SEC_PN_SEL_8733B (BIT_MASK_WMAC_SEC_PN_SEL_8733B << BIT_SHIFT_WMAC_SEC_PN_SEL_8733B)
#define BIT_CLEAR_WMAC_SEC_PN_SEL_8733B(x) ((x) & (~BITS_WMAC_SEC_PN_SEL_8733B))
#define BIT_GET_WMAC_SEC_PN_SEL_8733B(x) (((x) >> BIT_SHIFT_WMAC_SEC_PN_SEL_8733B) & BIT_MASK_WMAC_SEC_PN_SEL_8733B)
#define BIT_SET_WMAC_SEC_PN_SEL_8733B(x, v) (BIT_CLEAR_WMAC_SEC_PN_SEL_8733B(x) | BIT_WMAC_SEC_PN_SEL_8733B(v))

#define BIT_SHIFT_BT_TIME_CNT_8733B 0
#define BIT_MASK_BT_TIME_CNT_8733B 0xff
#define BIT_BT_TIME_CNT_8733B(x) (((x) & BIT_MASK_BT_TIME_CNT_8733B) << BIT_SHIFT_BT_TIME_CNT_8733B)
#define BITS_BT_TIME_CNT_8733B (BIT_MASK_BT_TIME_CNT_8733B << BIT_SHIFT_BT_TIME_CNT_8733B)
#define BIT_CLEAR_BT_TIME_CNT_8733B(x) ((x) & (~BITS_BT_TIME_CNT_8733B))
#define BIT_GET_BT_TIME_CNT_8733B(x) (((x) >> BIT_SHIFT_BT_TIME_CNT_8733B) & BIT_MASK_BT_TIME_CNT_8733B)
#define BIT_SET_BT_TIME_CNT_8733B(x, v) (BIT_CLEAR_BT_TIME_CNT_8733B(x) | BIT_BT_TIME_CNT_8733B(v))

/* 2 REG_RTS_ADDRESS_0_8733B */

#define BIT_SHIFT_R_WMAC_RTS_ADDR0_8733B 0
#define BIT_MASK_R_WMAC_RTS_ADDR0_8733B 0xffffffffL
#define BIT_R_WMAC_RTS_ADDR0_8733B(x) (((x) & BIT_MASK_R_WMAC_RTS_ADDR0_8733B) << BIT_SHIFT_R_WMAC_RTS_ADDR0_8733B)
#define BITS_R_WMAC_RTS_ADDR0_8733B (BIT_MASK_R_WMAC_RTS_ADDR0_8733B << BIT_SHIFT_R_WMAC_RTS_ADDR0_8733B)
#define BIT_CLEAR_R_WMAC_RTS_ADDR0_8733B(x) ((x) & (~BITS_R_WMAC_RTS_ADDR0_8733B))
#define BIT_GET_R_WMAC_RTS_ADDR0_8733B(x) (((x) >> BIT_SHIFT_R_WMAC_RTS_ADDR0_8733B) & BIT_MASK_R_WMAC_RTS_ADDR0_8733B)
#define BIT_SET_R_WMAC_RTS_ADDR0_8733B(x, v) (BIT_CLEAR_R_WMAC_RTS_ADDR0_8733B(x) | BIT_R_WMAC_RTS_ADDR0_8733B(v))

/* 2 REG_RTS_ADDRESS_0_1_8733B */

#define BIT_SHIFT_R_WMAC_RTS_ADDR0_1_8733B 0
#define BIT_MASK_R_WMAC_RTS_ADDR0_1_8733B 0xffff
#define BIT_R_WMAC_RTS_ADDR0_1_8733B(x) (((x) & BIT_MASK_R_WMAC_RTS_ADDR0_1_8733B) << BIT_SHIFT_R_WMAC_RTS_ADDR0_1_8733B)
#define BITS_R_WMAC_RTS_ADDR0_1_8733B (BIT_MASK_R_WMAC_RTS_ADDR0_1_8733B << BIT_SHIFT_R_WMAC_RTS_ADDR0_1_8733B)
#define BIT_CLEAR_R_WMAC_RTS_ADDR0_1_8733B(x) ((x) & (~BITS_R_WMAC_RTS_ADDR0_1_8733B))
#define BIT_GET_R_WMAC_RTS_ADDR0_1_8733B(x) (((x) >> BIT_SHIFT_R_WMAC_RTS_ADDR0_1_8733B) & BIT_MASK_R_WMAC_RTS_ADDR0_1_8733B)
#define BIT_SET_R_WMAC_RTS_ADDR0_1_8733B(x, v) (BIT_CLEAR_R_WMAC_RTS_ADDR0_1_8733B(x) | BIT_R_WMAC_RTS_ADDR0_1_8733B(v))

/* 2 REG_RTS_ADDRESS_1_8733B */

#define BIT_SHIFT_R_WMAC_RTS_ADDR1_8733B 0
#define BIT_MASK_R_WMAC_RTS_ADDR1_8733B 0xffffffffL
#define BIT_R_WMAC_RTS_ADDR1_8733B(x) (((x) & BIT_MASK_R_WMAC_RTS_ADDR1_8733B) << BIT_SHIFT_R_WMAC_RTS_ADDR1_8733B)
#define BITS_R_WMAC_RTS_ADDR1_8733B (BIT_MASK_R_WMAC_RTS_ADDR1_8733B << BIT_SHIFT_R_WMAC_RTS_ADDR1_8733B)
#define BIT_CLEAR_R_WMAC_RTS_ADDR1_8733B(x) ((x) & (~BITS_R_WMAC_RTS_ADDR1_8733B))
#define BIT_GET_R_WMAC_RTS_ADDR1_8733B(x) (((x) >> BIT_SHIFT_R_WMAC_RTS_ADDR1_8733B) & BIT_MASK_R_WMAC_RTS_ADDR1_8733B)
#define BIT_SET_R_WMAC_RTS_ADDR1_8733B(x, v) (BIT_CLEAR_R_WMAC_RTS_ADDR1_8733B(x) | BIT_R_WMAC_RTS_ADDR1_8733B(v))

/* 2 REG_RTS_ADDRESS_1_1_8733B */

#define BIT_SHIFT_R_WMAC_RTS_ADDR1_1_8733B 0
#define BIT_MASK_R_WMAC_RTS_ADDR1_1_8733B 0xffff
#define BIT_R_WMAC_RTS_ADDR1_1_8733B(x) (((x) & BIT_MASK_R_WMAC_RTS_ADDR1_1_8733B) << BIT_SHIFT_R_WMAC_RTS_ADDR1_1_8733B)
#define BITS_R_WMAC_RTS_ADDR1_1_8733B (BIT_MASK_R_WMAC_RTS_ADDR1_1_8733B << BIT_SHIFT_R_WMAC_RTS_ADDR1_1_8733B)
#define BIT_CLEAR_R_WMAC_RTS_ADDR1_1_8733B(x) ((x) & (~BITS_R_WMAC_RTS_ADDR1_1_8733B))
#define BIT_GET_R_WMAC_RTS_ADDR1_1_8733B(x) (((x) >> BIT_SHIFT_R_WMAC_RTS_ADDR1_1_8733B) & BIT_MASK_R_WMAC_RTS_ADDR1_1_8733B)
#define BIT_SET_R_WMAC_RTS_ADDR1_1_8733B(x, v) (BIT_CLEAR_R_WMAC_RTS_ADDR1_1_8733B(x) | BIT_R_WMAC_RTS_ADDR1_1_8733B(v))

/* 2 REG_SDIO_TX_CTRL_8733B */

#define BIT_SHIFT_SDIO_INT_TIMEOUT_8733B 16
#define BIT_MASK_SDIO_INT_TIMEOUT_8733B 0xffff
#define BIT_SDIO_INT_TIMEOUT_8733B(x) (((x) & BIT_MASK_SDIO_INT_TIMEOUT_8733B) << BIT_SHIFT_SDIO_INT_TIMEOUT_8733B)
#define BITS_SDIO_INT_TIMEOUT_8733B (BIT_MASK_SDIO_INT_TIMEOUT_8733B << BIT_SHIFT_SDIO_INT_TIMEOUT_8733B)
#define BIT_CLEAR_SDIO_INT_TIMEOUT_8733B(x) ((x) & (~BITS_SDIO_INT_TIMEOUT_8733B))
#define BIT_GET_SDIO_INT_TIMEOUT_8733B(x) (((x) >> BIT_SHIFT_SDIO_INT_TIMEOUT_8733B) & BIT_MASK_SDIO_INT_TIMEOUT_8733B)
#define BIT_SET_SDIO_INT_TIMEOUT_8733B(x, v) (BIT_CLEAR_SDIO_INT_TIMEOUT_8733B(x) | BIT_SDIO_INT_TIMEOUT_8733B(v))

#define BIT_IO_ERR_STATUS_8733B BIT(15)
#define BIT_CMD53_W_MIX_8733B BIT(14)
#define BIT_CMD53_TX_FORMAT_8733B BIT(13)
#define BIT_CMD53_R_TIMEOUT_MASK_8733B BIT(12)

#define BIT_SHIFT_CMD53_R_TIMEOUT_UNIT_8733B 10
#define BIT_MASK_CMD53_R_TIMEOUT_UNIT_8733B 0x3
#define BIT_CMD53_R_TIMEOUT_UNIT_8733B(x) (((x) & BIT_MASK_CMD53_R_TIMEOUT_UNIT_8733B) << BIT_SHIFT_CMD53_R_TIMEOUT_UNIT_8733B)
#define BITS_CMD53_R_TIMEOUT_UNIT_8733B (BIT_MASK_CMD53_R_TIMEOUT_UNIT_8733B << BIT_SHIFT_CMD53_R_TIMEOUT_UNIT_8733B)
#define BIT_CLEAR_CMD53_R_TIMEOUT_UNIT_8733B(x) ((x) & (~BITS_CMD53_R_TIMEOUT_UNIT_8733B))
#define BIT_GET_CMD53_R_TIMEOUT_UNIT_8733B(x) (((x) >> BIT_SHIFT_CMD53_R_TIMEOUT_UNIT_8733B) & BIT_MASK_CMD53_R_TIMEOUT_UNIT_8733B)
#define BIT_SET_CMD53_R_TIMEOUT_UNIT_8733B(x, v) (BIT_CLEAR_CMD53_R_TIMEOUT_UNIT_8733B(x) | BIT_CMD53_R_TIMEOUT_UNIT_8733B(v))

#define BIT_REPLY_ERRCRC_IN_DATA_8733B BIT(9)
#define BIT_EN_CMD53_OVERLAP_8733B BIT(8)
#define BIT_REPLY_ERR_IN_R5_8733B BIT(7)
#define BIT_R18A_EN_8733B BIT(6)
#define BIT_SDIO_CMD_FORCE_VLD_8733B BIT(5)
#define BIT_INIT_CMD_EN_8733B BIT(4)
#define BIT_RXINT_READ_MASK_DIS_8733B BIT(3)
#define BIT_EN_RXDMA_MASK_INT_8733B BIT(2)
#define BIT_EN_MASK_TIMER_8733B BIT(1)
#define BIT_CMD_ERR_STOP_INT_EN_8733B BIT(0)

/* 2 REG_SDIO_CMD11_VOL_SWITCH_8733B */

#define BIT_SHIFT_CMD11_SEQ_END_DELAY_8733B 4
#define BIT_MASK_CMD11_SEQ_END_DELAY_8733B 0xf
#define BIT_CMD11_SEQ_END_DELAY_8733B(x) (((x) & BIT_MASK_CMD11_SEQ_END_DELAY_8733B) << BIT_SHIFT_CMD11_SEQ_END_DELAY_8733B)
#define BITS_CMD11_SEQ_END_DELAY_8733B (BIT_MASK_CMD11_SEQ_END_DELAY_8733B << BIT_SHIFT_CMD11_SEQ_END_DELAY_8733B)
#define BIT_CLEAR_CMD11_SEQ_END_DELAY_8733B(x) ((x) & (~BITS_CMD11_SEQ_END_DELAY_8733B))
#define BIT_GET_CMD11_SEQ_END_DELAY_8733B(x) (((x) >> BIT_SHIFT_CMD11_SEQ_END_DELAY_8733B) & BIT_MASK_CMD11_SEQ_END_DELAY_8733B)
#define BIT_SET_CMD11_SEQ_END_DELAY_8733B(x, v) (BIT_CLEAR_CMD11_SEQ_END_DELAY_8733B(x) | BIT_CMD11_SEQ_END_DELAY_8733B(v))

#define BIT_SHIFT_CMD11_SEQ_SAMPLE_INTERVAL_8733B 1
#define BIT_MASK_CMD11_SEQ_SAMPLE_INTERVAL_8733B 0x7
#define BIT_CMD11_SEQ_SAMPLE_INTERVAL_8733B(x) (((x) & BIT_MASK_CMD11_SEQ_SAMPLE_INTERVAL_8733B) << BIT_SHIFT_CMD11_SEQ_SAMPLE_INTERVAL_8733B)
#define BITS_CMD11_SEQ_SAMPLE_INTERVAL_8733B (BIT_MASK_CMD11_SEQ_SAMPLE_INTERVAL_8733B << BIT_SHIFT_CMD11_SEQ_SAMPLE_INTERVAL_8733B)
#define BIT_CLEAR_CMD11_SEQ_SAMPLE_INTERVAL_8733B(x) ((x) & (~BITS_CMD11_SEQ_SAMPLE_INTERVAL_8733B))
#define BIT_GET_CMD11_SEQ_SAMPLE_INTERVAL_8733B(x) (((x) >> BIT_SHIFT_CMD11_SEQ_SAMPLE_INTERVAL_8733B) & BIT_MASK_CMD11_SEQ_SAMPLE_INTERVAL_8733B)
#define BIT_SET_CMD11_SEQ_SAMPLE_INTERVAL_8733B(x, v) (BIT_CLEAR_CMD11_SEQ_SAMPLE_INTERVAL_8733B(x) | BIT_CMD11_SEQ_SAMPLE_INTERVAL_8733B(v))

#define BIT_CMD11_SEQ_EN_8733B BIT(0)

/* 2 REG_SDIO_CTRL_8733B */
#define BIT_SIG_OUT_PH_8733B BIT(0)

/* 2 REG_SDIO_DRIVING_8733B */

#define BIT_SHIFT_SDIO_DRV_TYPE_D_8733B 12
#define BIT_MASK_SDIO_DRV_TYPE_D_8733B 0xf
#define BIT_SDIO_DRV_TYPE_D_8733B(x) (((x) & BIT_MASK_SDIO_DRV_TYPE_D_8733B) << BIT_SHIFT_SDIO_DRV_TYPE_D_8733B)
#define BITS_SDIO_DRV_TYPE_D_8733B (BIT_MASK_SDIO_DRV_TYPE_D_8733B << BIT_SHIFT_SDIO_DRV_TYPE_D_8733B)
#define BIT_CLEAR_SDIO_DRV_TYPE_D_8733B(x) ((x) & (~BITS_SDIO_DRV_TYPE_D_8733B))
#define BIT_GET_SDIO_DRV_TYPE_D_8733B(x) (((x) >> BIT_SHIFT_SDIO_DRV_TYPE_D_8733B) & BIT_MASK_SDIO_DRV_TYPE_D_8733B)
#define BIT_SET_SDIO_DRV_TYPE_D_8733B(x, v) (BIT_CLEAR_SDIO_DRV_TYPE_D_8733B(x) | BIT_SDIO_DRV_TYPE_D_8733B(v))

#define BIT_SHIFT_SDIO_DRV_TYPE_C_8733B 8
#define BIT_MASK_SDIO_DRV_TYPE_C_8733B 0xf
#define BIT_SDIO_DRV_TYPE_C_8733B(x) (((x) & BIT_MASK_SDIO_DRV_TYPE_C_8733B) << BIT_SHIFT_SDIO_DRV_TYPE_C_8733B)
#define BITS_SDIO_DRV_TYPE_C_8733B (BIT_MASK_SDIO_DRV_TYPE_C_8733B << BIT_SHIFT_SDIO_DRV_TYPE_C_8733B)
#define BIT_CLEAR_SDIO_DRV_TYPE_C_8733B(x) ((x) & (~BITS_SDIO_DRV_TYPE_C_8733B))
#define BIT_GET_SDIO_DRV_TYPE_C_8733B(x) (((x) >> BIT_SHIFT_SDIO_DRV_TYPE_C_8733B) & BIT_MASK_SDIO_DRV_TYPE_C_8733B)
#define BIT_SET_SDIO_DRV_TYPE_C_8733B(x, v) (BIT_CLEAR_SDIO_DRV_TYPE_C_8733B(x) | BIT_SDIO_DRV_TYPE_C_8733B(v))

#define BIT_SHIFT_SDIO_DRV_TYPE_B_8733B 4
#define BIT_MASK_SDIO_DRV_TYPE_B_8733B 0xf
#define BIT_SDIO_DRV_TYPE_B_8733B(x) (((x) & BIT_MASK_SDIO_DRV_TYPE_B_8733B) << BIT_SHIFT_SDIO_DRV_TYPE_B_8733B)
#define BITS_SDIO_DRV_TYPE_B_8733B (BIT_MASK_SDIO_DRV_TYPE_B_8733B << BIT_SHIFT_SDIO_DRV_TYPE_B_8733B)
#define BIT_CLEAR_SDIO_DRV_TYPE_B_8733B(x) ((x) & (~BITS_SDIO_DRV_TYPE_B_8733B))
#define BIT_GET_SDIO_DRV_TYPE_B_8733B(x) (((x) >> BIT_SHIFT_SDIO_DRV_TYPE_B_8733B) & BIT_MASK_SDIO_DRV_TYPE_B_8733B)
#define BIT_SET_SDIO_DRV_TYPE_B_8733B(x, v) (BIT_CLEAR_SDIO_DRV_TYPE_B_8733B(x) | BIT_SDIO_DRV_TYPE_B_8733B(v))

#define BIT_SHIFT_SDIO_DRV_TYPE_A_8733B 0
#define BIT_MASK_SDIO_DRV_TYPE_A_8733B 0xf
#define BIT_SDIO_DRV_TYPE_A_8733B(x) (((x) & BIT_MASK_SDIO_DRV_TYPE_A_8733B) << BIT_SHIFT_SDIO_DRV_TYPE_A_8733B)
#define BITS_SDIO_DRV_TYPE_A_8733B (BIT_MASK_SDIO_DRV_TYPE_A_8733B << BIT_SHIFT_SDIO_DRV_TYPE_A_8733B)
#define BIT_CLEAR_SDIO_DRV_TYPE_A_8733B(x) ((x) & (~BITS_SDIO_DRV_TYPE_A_8733B))
#define BIT_GET_SDIO_DRV_TYPE_A_8733B(x) (((x) >> BIT_SHIFT_SDIO_DRV_TYPE_A_8733B) & BIT_MASK_SDIO_DRV_TYPE_A_8733B)
#define BIT_SET_SDIO_DRV_TYPE_A_8733B(x, v) (BIT_CLEAR_SDIO_DRV_TYPE_A_8733B(x) | BIT_SDIO_DRV_TYPE_A_8733B(v))

/* 2 REG_SDIO_MONITOR_8733B */

#define BIT_SHIFT_SDIO_INT_START_8733B 0
#define BIT_MASK_SDIO_INT_START_8733B 0xffffffffL
#define BIT_SDIO_INT_START_8733B(x) (((x) & BIT_MASK_SDIO_INT_START_8733B) << BIT_SHIFT_SDIO_INT_START_8733B)
#define BITS_SDIO_INT_START_8733B (BIT_MASK_SDIO_INT_START_8733B << BIT_SHIFT_SDIO_INT_START_8733B)
#define BIT_CLEAR_SDIO_INT_START_8733B(x) ((x) & (~BITS_SDIO_INT_START_8733B))
#define BIT_GET_SDIO_INT_START_8733B(x) (((x) >> BIT_SHIFT_SDIO_INT_START_8733B) & BIT_MASK_SDIO_INT_START_8733B)
#define BIT_SET_SDIO_INT_START_8733B(x, v) (BIT_CLEAR_SDIO_INT_START_8733B(x) | BIT_SDIO_INT_START_8733B(v))

/* 2 REG_SDIO_MONITOR_2_8733B */
#define BIT_CMD53_WT_EN_8733B BIT(23)

#define BIT_SHIFT_SDIO_CLK_MONITOR_8733B 21
#define BIT_MASK_SDIO_CLK_MONITOR_8733B 0x3
#define BIT_SDIO_CLK_MONITOR_8733B(x) (((x) & BIT_MASK_SDIO_CLK_MONITOR_8733B) << BIT_SHIFT_SDIO_CLK_MONITOR_8733B)
#define BITS_SDIO_CLK_MONITOR_8733B (BIT_MASK_SDIO_CLK_MONITOR_8733B << BIT_SHIFT_SDIO_CLK_MONITOR_8733B)
#define BIT_CLEAR_SDIO_CLK_MONITOR_8733B(x) ((x) & (~BITS_SDIO_CLK_MONITOR_8733B))
#define BIT_GET_SDIO_CLK_MONITOR_8733B(x) (((x) >> BIT_SHIFT_SDIO_CLK_MONITOR_8733B) & BIT_MASK_SDIO_CLK_MONITOR_8733B)
#define BIT_SET_SDIO_CLK_MONITOR_8733B(x, v) (BIT_CLEAR_SDIO_CLK_MONITOR_8733B(x) | BIT_SDIO_CLK_MONITOR_8733B(v))

#define BIT_SHIFT_SDIO_CLK_CNT_8733B 0
#define BIT_MASK_SDIO_CLK_CNT_8733B 0x1fffff
#define BIT_SDIO_CLK_CNT_8733B(x) (((x) & BIT_MASK_SDIO_CLK_CNT_8733B) << BIT_SHIFT_SDIO_CLK_CNT_8733B)
#define BITS_SDIO_CLK_CNT_8733B (BIT_MASK_SDIO_CLK_CNT_8733B << BIT_SHIFT_SDIO_CLK_CNT_8733B)
#define BIT_CLEAR_SDIO_CLK_CNT_8733B(x) ((x) & (~BITS_SDIO_CLK_CNT_8733B))
#define BIT_GET_SDIO_CLK_CNT_8733B(x) (((x) >> BIT_SHIFT_SDIO_CLK_CNT_8733B) & BIT_MASK_SDIO_CLK_CNT_8733B)
#define BIT_SET_SDIO_CLK_CNT_8733B(x, v) (BIT_CLEAR_SDIO_CLK_CNT_8733B(x) | BIT_SDIO_CLK_CNT_8733B(v))

/* 2 REG_SDIO_HIMR_8733B */
#define BIT_SDIO_CRCERR_MSK_8733B BIT(31)
#define BIT_SDIO_HSISR3_IND_MSK_8733B BIT(30)
#define BIT_SDIO_HSISR2_IND_MSK_8733B BIT(29)
#define BIT_SDIO_HEISR_IND_MSK_8733B BIT(28)
#define BIT_SDIO_CTWEND_MSK_8733B BIT(27)
#define BIT_SDIO_ATIMEND_E_MSK_8733B BIT(26)
#define BIT_SDIIO_ATIMEND_MSK_8733B BIT(25)
#define BIT_SDIO_OCPINT_MSK_8733B BIT(24)
#define BIT_SDIO_PSTIMEOUT_MSK_8733B BIT(23)
#define BIT_SDIO_GTINT4_MSK_8733B BIT(22)
#define BIT_SDIO_GTINT3_MSK_8733B BIT(21)
#define BIT_SDIO_HSISR_IND_MSK_8733B BIT(20)
#define BIT_SDIO_CPWM2_MSK_8733B BIT(19)
#define BIT_SDIO_CPWM1_MSK_8733B BIT(18)
#define BIT_SDIO_C2HCMD_INT_MSK_8733B BIT(17)
#define BIT_SDIO_BCNERLY_INT_MSK_8733B BIT(16)
#define BIT_BT_INT_MASK_8733B BIT(8)
#define BIT_SDIO_TXBCNERR_MSK_8733B BIT(7)
#define BIT_SDIO_TXBCNOK_MSK_8733B BIT(6)
#define BIT_SDIO_RXFOVW_MSK_8733B BIT(5)
#define BIT_SDIO_TXFOVW_MSK_8733B BIT(4)
#define BIT_SDIO_RXERR_MSK_8733B BIT(3)
#define BIT_SDIO_TXERR_MSK_8733B BIT(2)
#define BIT_SDIO_AVAL_MSK_8733B BIT(1)
#define BIT_RX_REQUEST_MSK_8733B BIT(0)

/* 2 REG_SDIO_HISR_8733B */
#define BIT_SDIO_CRCERR_8733B BIT(31)
#define BIT_SDIO_HSISR3_IND_8733B BIT(30)
#define BIT_SDIO_HSISR2_IND_8733B BIT(29)
#define BIT_SDIO_HEISR_IND_8733B BIT(28)
#define BIT_SDIO_CTWEND_8733B BIT(27)
#define BIT_SDIO_ATIMEND_E_8733B BIT(26)
#define BIT_SDIO_ATIMEND_8733B BIT(25)
#define BIT_SDIO_OCPINT_8733B BIT(24)
#define BIT_SDIO_PSTIMEOUT_8733B BIT(23)
#define BIT_SDIO_GTINT4_8733B BIT(22)
#define BIT_SDIO_GTINT3_8733B BIT(21)
#define BIT_SDIO_HSISR_IND_8733B BIT(20)
#define BIT_SDIO_CPWM2_8733B BIT(19)
#define BIT_SDIO_CPWM1_8733B BIT(18)
#define BIT_SDIO_C2HCMD_INT_8733B BIT(17)
#define BIT_SDIO_BCNERLY_INT_8733B BIT(16)
#define BIT_BT_INT_8733B BIT(8)
#define BIT_SDIO_TXBCNERR_8733B BIT(7)
#define BIT_SDIO_TXBCNOK_8733B BIT(6)
#define BIT_SDIO_RXFOVW_8733B BIT(5)
#define BIT_SDIO_TXFOVW_8733B BIT(4)
#define BIT_SDIO_RXERR_8733B BIT(3)
#define BIT_SDIO_TXERR_8733B BIT(2)
#define BIT_SDIO_AVAL_8733B BIT(1)
#define BIT_RX_REQUEST_8733B BIT(0)

/* 2 REG_SDIO_RX_REQ_LEN_8733B */

#define BIT_SHIFT_RX_REQ_LEN_V1_8733B 0
#define BIT_MASK_RX_REQ_LEN_V1_8733B 0x3ffff
#define BIT_RX_REQ_LEN_V1_8733B(x) (((x) & BIT_MASK_RX_REQ_LEN_V1_8733B) << BIT_SHIFT_RX_REQ_LEN_V1_8733B)
#define BITS_RX_REQ_LEN_V1_8733B (BIT_MASK_RX_REQ_LEN_V1_8733B << BIT_SHIFT_RX_REQ_LEN_V1_8733B)
#define BIT_CLEAR_RX_REQ_LEN_V1_8733B(x) ((x) & (~BITS_RX_REQ_LEN_V1_8733B))
#define BIT_GET_RX_REQ_LEN_V1_8733B(x) (((x) >> BIT_SHIFT_RX_REQ_LEN_V1_8733B) & BIT_MASK_RX_REQ_LEN_V1_8733B)
#define BIT_SET_RX_REQ_LEN_V1_8733B(x, v) (BIT_CLEAR_RX_REQ_LEN_V1_8733B(x) | BIT_RX_REQ_LEN_V1_8733B(v))

/* 2 REG_SDIO_FREE_TXPG_SEQ_V1_8733B */

#define BIT_SHIFT_FREE_TXPG_SEQ_8733B 0
#define BIT_MASK_FREE_TXPG_SEQ_8733B 0xff
#define BIT_FREE_TXPG_SEQ_8733B(x) (((x) & BIT_MASK_FREE_TXPG_SEQ_8733B) << BIT_SHIFT_FREE_TXPG_SEQ_8733B)
#define BITS_FREE_TXPG_SEQ_8733B (BIT_MASK_FREE_TXPG_SEQ_8733B << BIT_SHIFT_FREE_TXPG_SEQ_8733B)
#define BIT_CLEAR_FREE_TXPG_SEQ_8733B(x) ((x) & (~BITS_FREE_TXPG_SEQ_8733B))
#define BIT_GET_FREE_TXPG_SEQ_8733B(x) (((x) >> BIT_SHIFT_FREE_TXPG_SEQ_8733B) & BIT_MASK_FREE_TXPG_SEQ_8733B)
#define BIT_SET_FREE_TXPG_SEQ_8733B(x, v) (BIT_CLEAR_FREE_TXPG_SEQ_8733B(x) | BIT_FREE_TXPG_SEQ_8733B(v))

/* 2 REG_SDIO_FREE_TXPG_8733B */

#define BIT_SHIFT_MID_FREEPG_V1_8733B 16
#define BIT_MASK_MID_FREEPG_V1_8733B 0xfff
#define BIT_MID_FREEPG_V1_8733B(x) (((x) & BIT_MASK_MID_FREEPG_V1_8733B) << BIT_SHIFT_MID_FREEPG_V1_8733B)
#define BITS_MID_FREEPG_V1_8733B (BIT_MASK_MID_FREEPG_V1_8733B << BIT_SHIFT_MID_FREEPG_V1_8733B)
#define BIT_CLEAR_MID_FREEPG_V1_8733B(x) ((x) & (~BITS_MID_FREEPG_V1_8733B))
#define BIT_GET_MID_FREEPG_V1_8733B(x) (((x) >> BIT_SHIFT_MID_FREEPG_V1_8733B) & BIT_MASK_MID_FREEPG_V1_8733B)
#define BIT_SET_MID_FREEPG_V1_8733B(x, v) (BIT_CLEAR_MID_FREEPG_V1_8733B(x) | BIT_MID_FREEPG_V1_8733B(v))

#define BIT_SHIFT_HIQ_FREEPG_V1_8733B 0
#define BIT_MASK_HIQ_FREEPG_V1_8733B 0xfff
#define BIT_HIQ_FREEPG_V1_8733B(x) (((x) & BIT_MASK_HIQ_FREEPG_V1_8733B) << BIT_SHIFT_HIQ_FREEPG_V1_8733B)
#define BITS_HIQ_FREEPG_V1_8733B (BIT_MASK_HIQ_FREEPG_V1_8733B << BIT_SHIFT_HIQ_FREEPG_V1_8733B)
#define BIT_CLEAR_HIQ_FREEPG_V1_8733B(x) ((x) & (~BITS_HIQ_FREEPG_V1_8733B))
#define BIT_GET_HIQ_FREEPG_V1_8733B(x) (((x) >> BIT_SHIFT_HIQ_FREEPG_V1_8733B) & BIT_MASK_HIQ_FREEPG_V1_8733B)
#define BIT_SET_HIQ_FREEPG_V1_8733B(x, v) (BIT_CLEAR_HIQ_FREEPG_V1_8733B(x) | BIT_HIQ_FREEPG_V1_8733B(v))

/* 2 REG_SDIO_FREE_TXPG2_8733B */

#define BIT_SHIFT_PUB_FREEPG_V1_8733B 16
#define BIT_MASK_PUB_FREEPG_V1_8733B 0xfff
#define BIT_PUB_FREEPG_V1_8733B(x) (((x) & BIT_MASK_PUB_FREEPG_V1_8733B) << BIT_SHIFT_PUB_FREEPG_V1_8733B)
#define BITS_PUB_FREEPG_V1_8733B (BIT_MASK_PUB_FREEPG_V1_8733B << BIT_SHIFT_PUB_FREEPG_V1_8733B)
#define BIT_CLEAR_PUB_FREEPG_V1_8733B(x) ((x) & (~BITS_PUB_FREEPG_V1_8733B))
#define BIT_GET_PUB_FREEPG_V1_8733B(x) (((x) >> BIT_SHIFT_PUB_FREEPG_V1_8733B) & BIT_MASK_PUB_FREEPG_V1_8733B)
#define BIT_SET_PUB_FREEPG_V1_8733B(x, v) (BIT_CLEAR_PUB_FREEPG_V1_8733B(x) | BIT_PUB_FREEPG_V1_8733B(v))

#define BIT_SHIFT_LOW_FREEPG_V1_8733B 0
#define BIT_MASK_LOW_FREEPG_V1_8733B 0xfff
#define BIT_LOW_FREEPG_V1_8733B(x) (((x) & BIT_MASK_LOW_FREEPG_V1_8733B) << BIT_SHIFT_LOW_FREEPG_V1_8733B)
#define BITS_LOW_FREEPG_V1_8733B (BIT_MASK_LOW_FREEPG_V1_8733B << BIT_SHIFT_LOW_FREEPG_V1_8733B)
#define BIT_CLEAR_LOW_FREEPG_V1_8733B(x) ((x) & (~BITS_LOW_FREEPG_V1_8733B))
#define BIT_GET_LOW_FREEPG_V1_8733B(x) (((x) >> BIT_SHIFT_LOW_FREEPG_V1_8733B) & BIT_MASK_LOW_FREEPG_V1_8733B)
#define BIT_SET_LOW_FREEPG_V1_8733B(x, v) (BIT_CLEAR_LOW_FREEPG_V1_8733B(x) | BIT_LOW_FREEPG_V1_8733B(v))

/* 2 REG_SDIO_OQT_FREE_TXPG_V1_8733B */

#define BIT_SHIFT_NOAC_OQT_FREEPG_V1_8733B 24
#define BIT_MASK_NOAC_OQT_FREEPG_V1_8733B 0xff
#define BIT_NOAC_OQT_FREEPG_V1_8733B(x) (((x) & BIT_MASK_NOAC_OQT_FREEPG_V1_8733B) << BIT_SHIFT_NOAC_OQT_FREEPG_V1_8733B)
#define BITS_NOAC_OQT_FREEPG_V1_8733B (BIT_MASK_NOAC_OQT_FREEPG_V1_8733B << BIT_SHIFT_NOAC_OQT_FREEPG_V1_8733B)
#define BIT_CLEAR_NOAC_OQT_FREEPG_V1_8733B(x) ((x) & (~BITS_NOAC_OQT_FREEPG_V1_8733B))
#define BIT_GET_NOAC_OQT_FREEPG_V1_8733B(x) (((x) >> BIT_SHIFT_NOAC_OQT_FREEPG_V1_8733B) & BIT_MASK_NOAC_OQT_FREEPG_V1_8733B)
#define BIT_SET_NOAC_OQT_FREEPG_V1_8733B(x, v) (BIT_CLEAR_NOAC_OQT_FREEPG_V1_8733B(x) | BIT_NOAC_OQT_FREEPG_V1_8733B(v))

#define BIT_SHIFT_AC_OQT_FREEPG_V1_8733B 16
#define BIT_MASK_AC_OQT_FREEPG_V1_8733B 0xff
#define BIT_AC_OQT_FREEPG_V1_8733B(x) (((x) & BIT_MASK_AC_OQT_FREEPG_V1_8733B) << BIT_SHIFT_AC_OQT_FREEPG_V1_8733B)
#define BITS_AC_OQT_FREEPG_V1_8733B (BIT_MASK_AC_OQT_FREEPG_V1_8733B << BIT_SHIFT_AC_OQT_FREEPG_V1_8733B)
#define BIT_CLEAR_AC_OQT_FREEPG_V1_8733B(x) ((x) & (~BITS_AC_OQT_FREEPG_V1_8733B))
#define BIT_GET_AC_OQT_FREEPG_V1_8733B(x) (((x) >> BIT_SHIFT_AC_OQT_FREEPG_V1_8733B) & BIT_MASK_AC_OQT_FREEPG_V1_8733B)
#define BIT_SET_AC_OQT_FREEPG_V1_8733B(x, v) (BIT_CLEAR_AC_OQT_FREEPG_V1_8733B(x) | BIT_AC_OQT_FREEPG_V1_8733B(v))

#define BIT_SHIFT_EXQ_FREEPG_V1_8733B 0
#define BIT_MASK_EXQ_FREEPG_V1_8733B 0xfff
#define BIT_EXQ_FREEPG_V1_8733B(x) (((x) & BIT_MASK_EXQ_FREEPG_V1_8733B) << BIT_SHIFT_EXQ_FREEPG_V1_8733B)
#define BITS_EXQ_FREEPG_V1_8733B (BIT_MASK_EXQ_FREEPG_V1_8733B << BIT_SHIFT_EXQ_FREEPG_V1_8733B)
#define BIT_CLEAR_EXQ_FREEPG_V1_8733B(x) ((x) & (~BITS_EXQ_FREEPG_V1_8733B))
#define BIT_GET_EXQ_FREEPG_V1_8733B(x) (((x) >> BIT_SHIFT_EXQ_FREEPG_V1_8733B) & BIT_MASK_EXQ_FREEPG_V1_8733B)
#define BIT_SET_EXQ_FREEPG_V1_8733B(x, v) (BIT_CLEAR_EXQ_FREEPG_V1_8733B(x) | BIT_EXQ_FREEPG_V1_8733B(v))

/* 2 REG_SDIO_TXPKT_EMPTY_8733B */
#define BIT_SDIO_BCNQ_EMPTY_8733B BIT(11)
#define BIT_SDIO_HQQ_EMPTY_8733B BIT(10)
#define BIT_SDIO_MQQ_EMPTY_8733B BIT(9)
#define BIT_SDIO_MGQ_CPU_EMPTY_8733B BIT(8)
#define BIT_SDIO_AC7Q_EMPTY_8733B BIT(7)
#define BIT_SDIO_AC6Q_EMPTY_8733B BIT(6)
#define BIT_SDIO_AC5Q_EMPTY_8733B BIT(5)
#define BIT_SDIO_AC4Q_EMPTY_8733B BIT(4)
#define BIT_SDIO_AC3Q_EMPTY_8733B BIT(3)
#define BIT_SDIO_AC2Q_EMPTY_8733B BIT(2)
#define BIT_SDIO_AC1Q_EMPTY_8733B BIT(1)
#define BIT_SDIO_AC0Q_EMPTY_8733B BIT(0)

/* 2 REG_SDIO_HTSFR_INFO_8733B */

#define BIT_SHIFT_HTSFR1_8733B 16
#define BIT_MASK_HTSFR1_8733B 0xffff
#define BIT_HTSFR1_8733B(x) (((x) & BIT_MASK_HTSFR1_8733B) << BIT_SHIFT_HTSFR1_8733B)
#define BITS_HTSFR1_8733B (BIT_MASK_HTSFR1_8733B << BIT_SHIFT_HTSFR1_8733B)
#define BIT_CLEAR_HTSFR1_8733B(x) ((x) & (~BITS_HTSFR1_8733B))
#define BIT_GET_HTSFR1_8733B(x) (((x) >> BIT_SHIFT_HTSFR1_8733B) & BIT_MASK_HTSFR1_8733B)
#define BIT_SET_HTSFR1_8733B(x, v) (BIT_CLEAR_HTSFR1_8733B(x) | BIT_HTSFR1_8733B(v))

#define BIT_SHIFT_HTSFR0_8733B 0
#define BIT_MASK_HTSFR0_8733B 0xffff
#define BIT_HTSFR0_8733B(x) (((x) & BIT_MASK_HTSFR0_8733B) << BIT_SHIFT_HTSFR0_8733B)
#define BITS_HTSFR0_8733B (BIT_MASK_HTSFR0_8733B << BIT_SHIFT_HTSFR0_8733B)
#define BIT_CLEAR_HTSFR0_8733B(x) ((x) & (~BITS_HTSFR0_8733B))
#define BIT_GET_HTSFR0_8733B(x) (((x) >> BIT_SHIFT_HTSFR0_8733B) & BIT_MASK_HTSFR0_8733B)
#define BIT_SET_HTSFR0_8733B(x, v) (BIT_CLEAR_HTSFR0_8733B(x) | BIT_HTSFR0_8733B(v))

/* 2 REG_SDIO_HCPWM1_V2_8733B */
#define BIT_TOGGLE_8733B BIT(7)
#define BIT_CUR_PS_8733B BIT(0)

/* 2 REG_SDIO_HCPWM2_V2_8733B */

/* 2 REG_SDIO_INDIRECT_REG_CFG_8733B */
#define BIT_INDIRECT_REG_RDY_8733B BIT(20)
#define BIT_INDIRECT_REG_R_8733B BIT(19)
#define BIT_INDIRECT_REG_W_8733B BIT(18)

#define BIT_SHIFT_INDIRECT_REG_SIZE_8733B 16
#define BIT_MASK_INDIRECT_REG_SIZE_8733B 0x3
#define BIT_INDIRECT_REG_SIZE_8733B(x) (((x) & BIT_MASK_INDIRECT_REG_SIZE_8733B) << BIT_SHIFT_INDIRECT_REG_SIZE_8733B)
#define BITS_INDIRECT_REG_SIZE_8733B (BIT_MASK_INDIRECT_REG_SIZE_8733B << BIT_SHIFT_INDIRECT_REG_SIZE_8733B)
#define BIT_CLEAR_INDIRECT_REG_SIZE_8733B(x) ((x) & (~BITS_INDIRECT_REG_SIZE_8733B))
#define BIT_GET_INDIRECT_REG_SIZE_8733B(x) (((x) >> BIT_SHIFT_INDIRECT_REG_SIZE_8733B) & BIT_MASK_INDIRECT_REG_SIZE_8733B)
#define BIT_SET_INDIRECT_REG_SIZE_8733B(x, v) (BIT_CLEAR_INDIRECT_REG_SIZE_8733B(x) | BIT_INDIRECT_REG_SIZE_8733B(v))

#define BIT_SHIFT_INDIRECT_REG_ADDR_8733B 0
#define BIT_MASK_INDIRECT_REG_ADDR_8733B 0xffff
#define BIT_INDIRECT_REG_ADDR_8733B(x) (((x) & BIT_MASK_INDIRECT_REG_ADDR_8733B) << BIT_SHIFT_INDIRECT_REG_ADDR_8733B)
#define BITS_INDIRECT_REG_ADDR_8733B (BIT_MASK_INDIRECT_REG_ADDR_8733B << BIT_SHIFT_INDIRECT_REG_ADDR_8733B)
#define BIT_CLEAR_INDIRECT_REG_ADDR_8733B(x) ((x) & (~BITS_INDIRECT_REG_ADDR_8733B))
#define BIT_GET_INDIRECT_REG_ADDR_8733B(x) (((x) >> BIT_SHIFT_INDIRECT_REG_ADDR_8733B) & BIT_MASK_INDIRECT_REG_ADDR_8733B)
#define BIT_SET_INDIRECT_REG_ADDR_8733B(x, v) (BIT_CLEAR_INDIRECT_REG_ADDR_8733B(x) | BIT_INDIRECT_REG_ADDR_8733B(v))

/* 2 REG_SDIO_INDIRECT_REG_DATA_8733B */

#define BIT_SHIFT_INDIRECT_REG_DATA_8733B 0
#define BIT_MASK_INDIRECT_REG_DATA_8733B 0xffffffffL
#define BIT_INDIRECT_REG_DATA_8733B(x) (((x) & BIT_MASK_INDIRECT_REG_DATA_8733B) << BIT_SHIFT_INDIRECT_REG_DATA_8733B)
#define BITS_INDIRECT_REG_DATA_8733B (BIT_MASK_INDIRECT_REG_DATA_8733B << BIT_SHIFT_INDIRECT_REG_DATA_8733B)
#define BIT_CLEAR_INDIRECT_REG_DATA_8733B(x) ((x) & (~BITS_INDIRECT_REG_DATA_8733B))
#define BIT_GET_INDIRECT_REG_DATA_8733B(x) (((x) >> BIT_SHIFT_INDIRECT_REG_DATA_8733B) & BIT_MASK_INDIRECT_REG_DATA_8733B)
#define BIT_SET_INDIRECT_REG_DATA_8733B(x, v) (BIT_CLEAR_INDIRECT_REG_DATA_8733B(x) | BIT_INDIRECT_REG_DATA_8733B(v))

/* 2 REG_SDIO_H2C_8733B */

#define BIT_SHIFT_SDIO_H2C_MSG_8733B 0
#define BIT_MASK_SDIO_H2C_MSG_8733B 0xffffffffL
#define BIT_SDIO_H2C_MSG_8733B(x) (((x) & BIT_MASK_SDIO_H2C_MSG_8733B) << BIT_SHIFT_SDIO_H2C_MSG_8733B)
#define BITS_SDIO_H2C_MSG_8733B (BIT_MASK_SDIO_H2C_MSG_8733B << BIT_SHIFT_SDIO_H2C_MSG_8733B)
#define BIT_CLEAR_SDIO_H2C_MSG_8733B(x) ((x) & (~BITS_SDIO_H2C_MSG_8733B))
#define BIT_GET_SDIO_H2C_MSG_8733B(x) (((x) >> BIT_SHIFT_SDIO_H2C_MSG_8733B) & BIT_MASK_SDIO_H2C_MSG_8733B)
#define BIT_SET_SDIO_H2C_MSG_8733B(x, v) (BIT_CLEAR_SDIO_H2C_MSG_8733B(x) | BIT_SDIO_H2C_MSG_8733B(v))

/* 2 REG_SDIO_C2H_8733B */

#define BIT_SHIFT_SDIO_C2H_MSG_8733B 0
#define BIT_MASK_SDIO_C2H_MSG_8733B 0xffffffffL
#define BIT_SDIO_C2H_MSG_8733B(x) (((x) & BIT_MASK_SDIO_C2H_MSG_8733B) << BIT_SHIFT_SDIO_C2H_MSG_8733B)
#define BITS_SDIO_C2H_MSG_8733B (BIT_MASK_SDIO_C2H_MSG_8733B << BIT_SHIFT_SDIO_C2H_MSG_8733B)
#define BIT_CLEAR_SDIO_C2H_MSG_8733B(x) ((x) & (~BITS_SDIO_C2H_MSG_8733B))
#define BIT_GET_SDIO_C2H_MSG_8733B(x) (((x) >> BIT_SHIFT_SDIO_C2H_MSG_8733B) & BIT_MASK_SDIO_C2H_MSG_8733B)
#define BIT_SET_SDIO_C2H_MSG_8733B(x, v) (BIT_CLEAR_SDIO_C2H_MSG_8733B(x) | BIT_SDIO_C2H_MSG_8733B(v))

/* 2 REG_SDIO_HRPWM1_8733B */
#define BIT_TOGGLE_8733B BIT(7)
#define BIT_ACK_8733B BIT(6)
#define BIT_REQ_PS_8733B BIT(0)

/* 2 REG_SDIO_HRPWM2_8733B */

/* 2 REG_SDIO_HPS_CLKR_8733B */

/* 2 REG_SDIO_BUS_CTRL_8733B */
#define BIT_HISR_W_CLR_EN_8733B BIT(5)
#define BIT_INT_MASK_DIS_8733B BIT(4)
#define BIT_PAD_CLK_XHGE_EN_8733B BIT(3)
#define BIT_INTER_CLK_EN_8733B BIT(2)
#define BIT_EN_RPT_TXCRC_8733B BIT(1)
#define BIT_DIS_RXDMA_STS_8733B BIT(0)

/* 2 REG_SDIO_HSUS_CTRL_8733B */
#define BIT_INTR_CTRL_8733B BIT(4)
#define BIT_SDIO_VOLTAGE_8733B BIT(3)
#define BIT_BYPASS_INIT_8733B BIT(2)
#define BIT_HCI_RESUME_RDY_8733B BIT(1)
#define BIT_HCI_SUS_REQ_8733B BIT(0)

/* 2 REG_SDIO_RESPONSE_TIMER_8733B */

#define BIT_SHIFT_CMDIN_2RESP_TIMER_8733B 0
#define BIT_MASK_CMDIN_2RESP_TIMER_8733B 0xffff
#define BIT_CMDIN_2RESP_TIMER_8733B(x) (((x) & BIT_MASK_CMDIN_2RESP_TIMER_8733B) << BIT_SHIFT_CMDIN_2RESP_TIMER_8733B)
#define BITS_CMDIN_2RESP_TIMER_8733B (BIT_MASK_CMDIN_2RESP_TIMER_8733B << BIT_SHIFT_CMDIN_2RESP_TIMER_8733B)
#define BIT_CLEAR_CMDIN_2RESP_TIMER_8733B(x) ((x) & (~BITS_CMDIN_2RESP_TIMER_8733B))
#define BIT_GET_CMDIN_2RESP_TIMER_8733B(x) (((x) >> BIT_SHIFT_CMDIN_2RESP_TIMER_8733B) & BIT_MASK_CMDIN_2RESP_TIMER_8733B)
#define BIT_SET_CMDIN_2RESP_TIMER_8733B(x, v) (BIT_CLEAR_CMDIN_2RESP_TIMER_8733B(x) | BIT_CMDIN_2RESP_TIMER_8733B(v))

/* 2 REG_SDIO_CMD_CRC_8733B */

#define BIT_SHIFT_SDIO_CMD_CRC_V1_8733B 0
#define BIT_MASK_SDIO_CMD_CRC_V1_8733B 0xff
#define BIT_SDIO_CMD_CRC_V1_8733B(x) (((x) & BIT_MASK_SDIO_CMD_CRC_V1_8733B) << BIT_SHIFT_SDIO_CMD_CRC_V1_8733B)
#define BITS_SDIO_CMD_CRC_V1_8733B (BIT_MASK_SDIO_CMD_CRC_V1_8733B << BIT_SHIFT_SDIO_CMD_CRC_V1_8733B)
#define BIT_CLEAR_SDIO_CMD_CRC_V1_8733B(x) ((x) & (~BITS_SDIO_CMD_CRC_V1_8733B))
#define BIT_GET_SDIO_CMD_CRC_V1_8733B(x) (((x) >> BIT_SHIFT_SDIO_CMD_CRC_V1_8733B) & BIT_MASK_SDIO_CMD_CRC_V1_8733B)
#define BIT_SET_SDIO_CMD_CRC_V1_8733B(x, v) (BIT_CLEAR_SDIO_CMD_CRC_V1_8733B(x) | BIT_SDIO_CMD_CRC_V1_8733B(v))

/* 2 REG_SDIO_HSISR_8733B */
#define BIT_DRV_WLAN_INT_CLR_8733B BIT(1)
#define BIT_DRV_WLAN_INT_8733B BIT(0)

/* 2 REG_SDIO_HSIMR_8733B */
#define BIT_HISR_MASK_8733B BIT(0)

/* 2 REG_SDIO_DIOERR_RPT_8733B */
#define BIT_SDIO_PAGE_ERR_8733B BIT(0)

/* 2 REG_SDIO_CMD_ERRCNT_8733B */

#define BIT_SHIFT_CMD_CRC_ERR_CNT_8733B 0
#define BIT_MASK_CMD_CRC_ERR_CNT_8733B 0xff
#define BIT_CMD_CRC_ERR_CNT_8733B(x) (((x) & BIT_MASK_CMD_CRC_ERR_CNT_8733B) << BIT_SHIFT_CMD_CRC_ERR_CNT_8733B)
#define BITS_CMD_CRC_ERR_CNT_8733B (BIT_MASK_CMD_CRC_ERR_CNT_8733B << BIT_SHIFT_CMD_CRC_ERR_CNT_8733B)
#define BIT_CLEAR_CMD_CRC_ERR_CNT_8733B(x) ((x) & (~BITS_CMD_CRC_ERR_CNT_8733B))
#define BIT_GET_CMD_CRC_ERR_CNT_8733B(x) (((x) >> BIT_SHIFT_CMD_CRC_ERR_CNT_8733B) & BIT_MASK_CMD_CRC_ERR_CNT_8733B)
#define BIT_SET_CMD_CRC_ERR_CNT_8733B(x, v) (BIT_CLEAR_CMD_CRC_ERR_CNT_8733B(x) | BIT_CMD_CRC_ERR_CNT_8733B(v))

/* 2 REG_SDIO_DATA_ERRCNT_8733B */

#define BIT_SHIFT_DATA_CRC_ERR_CNT_8733B 0
#define BIT_MASK_DATA_CRC_ERR_CNT_8733B 0xff
#define BIT_DATA_CRC_ERR_CNT_8733B(x) (((x) & BIT_MASK_DATA_CRC_ERR_CNT_8733B) << BIT_SHIFT_DATA_CRC_ERR_CNT_8733B)
#define BITS_DATA_CRC_ERR_CNT_8733B (BIT_MASK_DATA_CRC_ERR_CNT_8733B << BIT_SHIFT_DATA_CRC_ERR_CNT_8733B)
#define BIT_CLEAR_DATA_CRC_ERR_CNT_8733B(x) ((x) & (~BITS_DATA_CRC_ERR_CNT_8733B))
#define BIT_GET_DATA_CRC_ERR_CNT_8733B(x) (((x) >> BIT_SHIFT_DATA_CRC_ERR_CNT_8733B) & BIT_MASK_DATA_CRC_ERR_CNT_8733B)
#define BIT_SET_DATA_CRC_ERR_CNT_8733B(x, v) (BIT_CLEAR_DATA_CRC_ERR_CNT_8733B(x) | BIT_DATA_CRC_ERR_CNT_8733B(v))

/* 2 REG_SDIO_CMD_ERR_CONTENT_8733B */

#define BIT_SHIFT_SDIO_CMD_ERR_CONTENT_8733B 0
#define BIT_MASK_SDIO_CMD_ERR_CONTENT_8733B 0xffffffffffL
#define BIT_SDIO_CMD_ERR_CONTENT_8733B(x) (((x) & BIT_MASK_SDIO_CMD_ERR_CONTENT_8733B) << BIT_SHIFT_SDIO_CMD_ERR_CONTENT_8733B)
#define BITS_SDIO_CMD_ERR_CONTENT_8733B (BIT_MASK_SDIO_CMD_ERR_CONTENT_8733B << BIT_SHIFT_SDIO_CMD_ERR_CONTENT_8733B)
#define BIT_CLEAR_SDIO_CMD_ERR_CONTENT_8733B(x) ((x) & (~BITS_SDIO_CMD_ERR_CONTENT_8733B))
#define BIT_GET_SDIO_CMD_ERR_CONTENT_8733B(x) (((x) >> BIT_SHIFT_SDIO_CMD_ERR_CONTENT_8733B) & BIT_MASK_SDIO_CMD_ERR_CONTENT_8733B)
#define BIT_SET_SDIO_CMD_ERR_CONTENT_8733B(x, v) (BIT_CLEAR_SDIO_CMD_ERR_CONTENT_8733B(x) | BIT_SDIO_CMD_ERR_CONTENT_8733B(v))

/* 2 REG_SDIO_CRC_ERR_IDX_8733B */
#define BIT_D3_CRC_ERR_8733B BIT(4)
#define BIT_D2_CRC_ERR_8733B BIT(3)
#define BIT_D1_CRC_ERR_8733B BIT(2)
#define BIT_D0_CRC_ERR_8733B BIT(1)
#define BIT_CMD_CRC_ERR_8733B BIT(0)

/* 2 REG_SDIO_DATA_CRC_8733B */

#define BIT_SHIFT_SDIO_DATA_CRC_8733B 0
#define BIT_MASK_SDIO_DATA_CRC_8733B 0xffff
#define BIT_SDIO_DATA_CRC_8733B(x) (((x) & BIT_MASK_SDIO_DATA_CRC_8733B) << BIT_SHIFT_SDIO_DATA_CRC_8733B)
#define BITS_SDIO_DATA_CRC_8733B (BIT_MASK_SDIO_DATA_CRC_8733B << BIT_SHIFT_SDIO_DATA_CRC_8733B)
#define BIT_CLEAR_SDIO_DATA_CRC_8733B(x) ((x) & (~BITS_SDIO_DATA_CRC_8733B))
#define BIT_GET_SDIO_DATA_CRC_8733B(x) (((x) >> BIT_SHIFT_SDIO_DATA_CRC_8733B) & BIT_MASK_SDIO_DATA_CRC_8733B)
#define BIT_SET_SDIO_DATA_CRC_8733B(x, v) (BIT_CLEAR_SDIO_DATA_CRC_8733B(x) | BIT_SDIO_DATA_CRC_8733B(v))

/* 2 REG_SDIO_TRANS_FIFO_STATUS_8733B */
#define BIT_TRANS_FIFO_UNDERFLOW_8733B BIT(1)
#define BIT_TRANS_FIFO_OVERFLOW_8733B BIT(0)

#endif
